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/1262] Use larger-block comparisons for memcmp on x86?


------- Additional Comments From jakub at redhat dot com  2005-08-29 15:45 -------
GCC inlines memcmp unless -Os.  repz; cmpsb is a win on many IA32 CPUs.
If you can prove it is not a win on the CPU you are using, you can of course
do the required benchmarking and file a GCC enhancement bug to turn this
on for -mtune=that_cpu.
Anyway, i686 built glibc uses sysdeps/i386/i686/memcmp.S, no matter whether
you see it in debuginfo or not.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1262

------- 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]