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

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

https://gcc.gnu.org/g:418e161083a162721488468f3a50f739becb1700

commit r16-8073-g418e161083a162721488468f3a50f739becb1700
Author: Jakub Jelinek <[email protected]>
Date:   Fri Mar 13 09:16:26 2026 +0100

    i386: Fix up movrs<mode> suffix for -masm=intel [PR124461]

    For movrs<mode> the insn was using insn suffix unconditionally, so
    movrsl or movrsq even for -masm=intel, when gas expects movrs and derives
    what size of insn it is from the operands.

    There is no movrs effective target, so I've just used dg-do compile with
    scan-assembler to test it instead of dg-do assemble.

    2026-03-13  Jakub Jelinek  <[email protected]>

            PR target/124461
            * config/i386/i386.md (movrs<mode>): Use <imodesuffix> only for
            -masm=att, not for -masm=intel.

            * gcc.target/i386/movrs-pr124461.c: New test.

    Reviewed-by: Uros Bizjak <[email protected]>

Reply via email to