[Bug target/27077] [x86, 4.1] builtin strlen poor performance
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 26 16:37:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27077
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |WAITING
Last reconfirmed| |2016-09-26
CC| |tkoenig at gcc dot gnu.org
Resolution|INVALID |---
Ever confirmed|0 |1
--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Helmut Schellong from comment #6)
> gcc 6.2
> .......
> builtin strlen: 137.787 ns
> libc strlen: 12.562 ns (-fno-builtin-strlen)
> About 12 times faster!
> See table below.
In general, it is better to write a new bug report than to
reopen a 10-year old one.
Can you provide
- your test case, including the test harness
- Architecture (which CPU are you running this on, exactly)
- Which version of gcc you are reporting against
- The assembly output (with -S)
More information about the Gcc-bugs
mailing list