https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77729
--- Comment #5 from Julian Andres Klode <j...@jak-linux.org> --- Created attachment 39678 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39678&action=edit ppc64le Hmm, AFAICT the same seems to happen on powerpc64le: lbz 9,0(3) # Load zero ori 9,9,0x20 # ors in 32 rlwinm 9,9,0,0xff # zero extend value AFAICT cmpwi 7,9,116 So far tested: good: mipsel, x86_64, armhf (thumb2) bad: aarch64, powerpc64le