diff options
author | Jan Beulich <jbeulich@novell.com> | 2018-09-13 11:05:27 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2018-09-13 11:05:27 +0200 |
commit | 64c49ab3fb5eea7ba382cf7b0955795ae15e06e5 (patch) | |
tree | 577b53f7e5d384f509680a018cf258c424c78ca4 /gas/ChangeLog | |
parent | 07d5e9534b11ea9df17eb9d01799000a10c7567f (diff) | |
download | gdb-64c49ab3fb5eea7ba382cf7b0955795ae15e06e5.zip gdb-64c49ab3fb5eea7ba382cf7b0955795ae15e06e5.tar.gz gdb-64c49ab3fb5eea7ba382cf7b0955795ae15e06e5.tar.bz2 |
x86: improve operand reversal
In quite a few cases the .s suffix or {load} / {store} prefixes did not
work as intended, or produced errors when they're supposed to be ignored
when it is not possible to carry out the request.
The change here re-purposes(?) the .s suffix to no longer mean "store"
(if that's what 's' did stand for), since the forms used in the base
templates are not consistently loads (and we unlikely want to change
that). The pseudo prefixes will now fulfill what their names say, i.e.
{load} now only ever produces a load form encoding (if available) while
{store} only ever produces a store form one (again if available). This
requires minimal test suite adjustments, while the majority of the
changes there are simply additions.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index acb9af3..ab23278 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,16 @@ 2018-09-13 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (dir_encoding_swap): New enumerator. + (parse_insn): Use it. + (match_template): Re-write reversal check. + * testsuite/gas/i386/pseudos.s: Add various move, ALU, and FPU + tests. + * testsuite/gas/i386/x86-64-pseudos.s: Likewise. + * testsuite/gas/i386/pseudos.d, + testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations. + +2018-09-13 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (parse_insn): Extend comment ahead of pseudo- suffix handling. |