[Bug target/27077] [x86, 4.1] builtin strlen poor performance

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 7 19:12:00 GMT 2006



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-04-07 19:12 -------
Your benchmark only deals with one sized strings, you should try with multiple
different sized strings like include one which is zero lengthed, one which is
2k-2M in length and try bechmarking that.  You might get a different result, it
might be GCC's builtin one is better for shorter lengths strings than what your
current benchmark does.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27077



More information about the Gcc-bugs mailing list