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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <[email protected]>:

https://gcc.gnu.org/g:45e9f6c59e852126d7085824f151615dfbdcd68a

commit r17-7013-g45e9f6c59e852126d7085824f151615dfbdcd68a
Author: liuhongt <[email protected]>
Date:   Wed Nov 4 00:48:13 2026 -0800

    x86: Don't feed a misaligned memory operand to ieee_<maxmin><mode>3

    The *minmax<mode>3_2 and *minmax<mode>3_3 splitters pass a
    nonimmediate operand as operand 2 of ieee_<ieee_maxmin><mode>3, which
    needs a vector_operand.  Without AVX a misaligned MEM then gives an
    unrecognizable insn.  Force it into a register.

    This is latent for now.  With the next patch, pr88540.c hits it in
    *minmax<mode>3_2 at -O2.

    gcc/ChangeLog:

            PR target/115683
            PR target/128923
            * config/i386/sse.md (*minmax<mode>3_2): Force operand 1 into a
            register if it is not a vector_operand.
            (*minmax<mode>3_3): Likewise for operand 2.

Reply via email to