diff options
author | Jan Beulich <jbeulich@suse.com> | 2020-02-17 08:57:54 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2020-02-17 08:57:54 +0100 |
commit | eedb0f2cfd2a54ab6be1065385f40f03045b42f2 (patch) | |
tree | 58e1c976680e641d6a1073f0a3cf862cf5102da4 /gas/ChangeLog | |
parent | b9915cbc7d3ac2b9cd136248defbf9538b9a9bcf (diff) | |
download | gdb-eedb0f2cfd2a54ab6be1065385f40f03045b42f2.zip gdb-eedb0f2cfd2a54ab6be1065385f40f03045b42f2.tar.gz gdb-eedb0f2cfd2a54ab6be1065385f40f03045b42f2.tar.bz2 |
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).
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 7f64228..112aedb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,18 @@ 2020-02-17 Jan Beulich <jbeulich@suse.com> + PR gas/14439 + * config/tc-i386.c (md_assemble): Also suppress operand + swapping for MONITOR{,X} and MWAIT{,X}. + * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s: + Add Intel syntax monitor/mwait tests. + * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d: + Adjust expectations. + *testsuite/gas/i386/sse3-intel.d, + testsuite/gas/i386/x86-64-sse3-intel.d: New. + * testsuite/gas/i386/i386.exp: Run new tests. + +2020-02-17 Jan Beulich <jbeulich@suse.com> + PR gas/6518 * config/tc-i386.c (process_suffix): Re-work Intel-syntax [XYZ]MMWord memory operand ambiguity recognition logic (largely |