Re: [PATCH 03/13] [RFC] ipath copy routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-12-17 at 12:38 -0800, Andrew Morton wrote:
> Roland Dreier <[email protected]> wrote:
> >
> > + 	.globl ipath_dwordcpy
> > +/* rdi	destination, rsi source, rdx count */
> > +ipath_dwordcpy:
> > +	movl %edx,%ecx
> > +	shrl $1,%ecx
> > +	andl $1,%edx	
> > +	cld
> > +	rep 
> > +	movsq 
> > +	movl %edx,%ecx
> > +	rep
> > +	movsd
> > +	ret
> 
> err, we have a portability problem.

Any chance we could get these moved into the x86_64 arch directory,
then?  We have to do double-word copies, or our chip gets unhappy.

Regards,
 Robert.

-- 
Robert Walsh                                 Email: [email protected]
PathScale, Inc.                              Phone: +1 650 934 8117
2071 Stierlin Court, Suite 200                 Fax: +1 650 428 1969
Mountain View, CA 94043.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux