This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1262] Use larger-block comparisons for memcmp on x86?
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 29 Aug 2005 15:45:02 -0000
- Subject: [Bug libc/1262] Use larger-block comparisons for memcmp on x86?
- References: <20050829003224.1262.greenrd@greenrd.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- 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.