[Bug target/77729] aarch64 inserts unneeded uxtb after ldrb, orr ...32

jak@jak-linux.org gcc-bugzilla@gcc.gnu.org
Sun Sep 25 15:04:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77729

--- Comment #5 from Julian Andres Klode <jak@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


More information about the Gcc-bugs mailing list