[Bug target/124366] assemble failure of wrussq with -masm=intel

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 22 05:21:12 GMT 2026


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

--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:6545ce1582448ef264606d20a42653291de4d2af

commit r13-10210-g6545ce1582448ef264606d20a42653291de4d2af
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Mar 5 09:35:39 2026 +0100

    i386: Fix operand order for @wrss<mode> and @wruss<mode> [PR124366]

    These two insns were using the same operand order for both -masm=att
    and -masm=intel, which is ok if using the same operand for both, but not
    when they are different.

    2026-03-05  Jakub Jelinek  <jakub@redhat.com>

            PR target/124366
            * config/i386/i386.md (@wrss<mode>, @wruss<mode>): Swap operand
            order for -masm=intel.

            * gcc.target/i386/cet-pr124366.c: New test.

    (cherry picked from commit 860da841585bcd722ec5a51dfc86efdb5b52f1aa)


More information about the Gcc-bugs mailing list