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

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Wed Mar 4 21:08:19 GMT 2026


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

--- Comment #3 from Zdenek Sojka <zsojka at seznam dot cz> ---
(In reply to Jakub Jelinek from comment #1)
> grep '\\t%[0-9], %[0-9]' *.md | grep -v '%0, %0'
> i386.md:  "xchg{<imodesuffix>}\t%1, %0"
> i386.md:   xchg{<imodesuffix>}\t%1, %0
> i386.md:  "wrss<mskmodesuffix>\t%0, %1"
> i386.md:  "wruss<mskmodesuffix>\t%0, %1"

Thank you for having a look.

I am actually grepping-out xchg, since I don't see any functional nor
performance impact from the exchanged arguments, but having that one also the
same object file representation would make the output more consistent.


More information about the Gcc-bugs mailing list