https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106601
Andrew Waterman <andrew at sifive dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew at sifive dot com --- Comment #1 from Andrew Waterman <andrew at sifive dot com> --- Yep. (I don't know whether bswap32 has already been similarly optimized on RV64, but it needs to use srai so that the 32-bit result is canonicalized properly.)