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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
On PowerPC, for "bad" we get

        addi 9,3,2
        lbz 0,1(3)
        lbz 3,0(3)
        lhbrx 10,0,9
        rlwimi 0,10,8,0,31-8
        rlwimi 3,0,8,0,31-8
        rldicl 3,3,0,32
        blr

(BE -m64); it managed to recognise the top two bytes as a byte-reverse load,
but not the lower two.

(And yup, "loop" uses no byte-reverse at all.)

Reply via email to