[Bug target/122041] SPARC: gzip-style CRC computation runs >2× slower with GCC than Solaris Studio
sumbera at volny dot cz
gcc-bugzilla@gcc.gnu.org
Wed Sep 24 16:28:19 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122041
--- Comment #11 from Petr Sumbera <sumbera at volny dot cz> ---
I wonder if '-flto' is really needed to avoid this memcpy call.
Now gzip 1.4 compiled with GCC 15.2 with CFLAGS="-flto -O3 -funroll-loops
-mcpu=niagara4 -mtune=niagara4" will decompress gcc-15.2.0.tar.gz in about
9,955s (before I started this bug it was 13.155s).
And Studio can do this in about 8,011s. But with '-flto' I'm not able to
reasonable mix objects to find out more details...
More information about the Gcc-bugs
mailing list