memmove optimization on X86_64
Aurelien Jarno
aurelien@aurel32.net
Sun May 6 13:24:00 GMT 2007
insight insight a écrit :
> Hello,
> i use glibc 2.4 on X86_64 and in debugging a C program, i have looked
> at the code of memmove
> and I was quite surprise by the code produced. no inline function or
> macro and more disturbing
> byte by byte copy and not 64 bits by 64 bits copy....
memmove should still work when src and dest are shift by only one byte.
Doing 64 bits by 64 bits copy won't work in that case.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
More information about the Libc-alpha
mailing list