[Bug target/102294] memset expansion is sometimes slow for small sizes
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 13 13:37:39 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
Please try
https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577889.html
On Intel i7-8559U, I got
[hjl@gnu-cfl-2 gcc]$ ./xgcc -B./ -O2 -o gcc-sse /tmp/x.c
[hjl@gnu-cfl-2 gcc]$ ./gcc-sse
Elapsed time: 0.534094 s
Elapsed time: 0.502171 s
Elapsed time: 0.454463 s
[hjl@gnu-cfl-2 gcc]$ clang-12 -O2 -o clang-sse /tmp/x.c
[hjl@gnu-cfl-2 gcc]$ ./clang-sse
Elapsed time: 0.608078 s
Elapsed time: 0.575241 s
Elapsed time: 0.454897 s
[hjl@gnu-cfl-2 gcc]$
More information about the Gcc-bugs
mailing list