diff options
author | Jan Beulich <jbeulich@suse.com> | 2020-02-17 08:59:07 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2020-02-17 08:59:07 +0100 |
commit | c8f8eebc3fc3662fdb9077355ecde9c88bd33727 (patch) | |
tree | 2d3155e020e1c84b1179fe8876261a8c628a65fd /gas/ChangeLog | |
parent | eedb0f2cfd2a54ab6be1065385f40f03045b42f2 (diff) | |
download | gdb-c8f8eebc3fc3662fdb9077355ecde9c88bd33727.zip gdb-c8f8eebc3fc3662fdb9077355ecde9c88bd33727.tar.gz gdb-c8f8eebc3fc3662fdb9077355ecde9c88bd33727.tar.bz2 |
x86: fold AddrPrefixOpReg templates
There's no need to have separate Cpu64 and CpuNo64 templates: There
already is special logic handling the attribute, and all that's needed
is rejecting 16-bit address registers in 64-bit mode. Suppress suffix
guessing and group all involved logic together, outside of suffix
processing (arguably it doesn't even belong in process_suffix()).
Also, since no AddrPrefixOpReg template permits any suffixes, move the
No_*Suf specifiers for them to a central place. Along with this drop
the no longer relevant NoRex64 from there.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 112aedb..b6ce3ef 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,12 @@ 2020-02-17 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (process_suffix): Don't try to guess a suffix + for AddrPrefixOpReg templates. Combine the two pieces of + addrprefixopreg handling. Reject 16-bit address reg in 64-bit + mode. + +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}. |