This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] Improve 64bit memcpy/memmove for Corei7 with avx2 instruction


On 7 Jun 2013, OndÅej BÃlka said:

> On Thu, Jun 06, 2013 at 08:11:15PM +0800, Ling Ma wrote:
> I got some afterthoughts how improve memcpy/memset.
>
> First is to copy in backward direction.

Don't we already do this in some situations? That's why there's a new
symbol version of memcpy() et al on glibc 2.14+, because overlapping
memcpy() no longer works and lots and lots of programs were relying on
this (even though it was never ever guaranteed) and were breaking.

-- 
NULL && (void)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]