This is the mail archive of the glibc-bugs@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]

[Bug libc/4314] memcpy performance problem


------- Additional Comments From hermantenbrugge at home dot nl  2007-10-28 05:53 -------
Subject: Re:  memcpy performance problem

aj at suse dot de wrote:
> ------- Additional Comments From aj at suse dot de  2007-10-28 05:24 -------
> for i386 we use the file sysdeps/i386/i686/memcpy.
>   
correct. This is the assembly file with the problem. We first copy bytes 
until we the length is a multiple of 4 and then do the copy. What 
happens with length not multiple of 4 is that we first copy some bytes 
and then do the rest of the copy with unaligned memory accesses.
The routine that should be used is in: sysdeps/i386/i586/memcpy.S
In fact all sysdeps/i386/i586/* should be used for the i686.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4314

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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