This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43052] Inline memcmp is *much* slower than glibc's
- From: "justin.lebar+bug at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Jun 2011 18:10:35 +0000
- Subject: [Bug target/43052] Inline memcmp is *much* slower than glibc's
- Auto-submitted: auto-generated
- References: <bug-43052-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052
Justin Lebar <justin.lebar+bug at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |justin.lebar+bug at gmail
| |dot com
--- Comment #8 from Justin Lebar <justin.lebar+bug at gmail dot com> 2011-06-13 18:09:07 UTC ---
I just did some tests, and on my machine, glibc's memcmp is faster even when
the size of the thing we're comparing is 4 bytes. I can't point to a case that
this optimization speeds up on my machine.