lkml.org 
[lkml]   [2005]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2 of 3] memcpy32 for x86_64
Date
> > +
> > + .globl memcpy32
> > +memcpy32:
> > + movl %edx,%ecx
> > + shrl $1,%ecx
> > + andl $1,%edx
> > + rep
> > + movsq

Does this one really do 32-bit stores?! I doubt so...

> > + movl %edx,%ecx
> > + rep
> > + movsd
> > + ret
>
> Any reason this needs its own .S file? One wonders if the
>
> .p2align 4
>
> in memcpy.S is appropriate here too. Splitting rep movsq across two
> lines is a little weird to me too, but I see Andi did it too.
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-28 08:57    [from the cache]
©2003-2011 Jasper Spaans