]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/ChangeLog
x86/Intel: don't swap operands of MONITOR{,X} and MWAIT{,X}
authorJan Beulich <jbeulich@suse.com>
Mon, 17 Feb 2020 07:57:54 +0000 (08:57 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 17 Feb 2020 07:57:54 +0000 (08:57 +0100)
commiteedb0f2cfd2a54ab6be1065385f40f03045b42f2
tree58e1c976680e641d6a1073f0a3cf862cf5102da4
parentb9915cbc7d3ac2b9cd136248defbf9538b9a9bcf
x86/Intel: don't swap operands of MONITOR{,X} and MWAIT{,X}

Generally, the documentation doesn't allow for any explicit operands
to be specified with MONITOR/MWAIT. To permit the more legible
overriding of the address size via specifying operands, the option is
being retained even in Intel mode, but operand swapping is being
suppressed by this patch. This is both because it makes no sense here
(all of the operands are inputs) and because, as a result, old gcc
(prior to 4.8) actually expects it this way with -mintel-syntax (and
hence gets fixed by this change rather than, as claimed by a reply in
the bug report, broken).
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/sse3-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/sse3.d
gas/testsuite/gas/i386/sse3.s
gas/testsuite/gas/i386/x86-64-sse3-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-sse3.d
gas/testsuite/gas/i386/x86-64-sse3.s