x86: fold AddrPrefixOpReg templates
authorJan Beulich <jbeulich@suse.com>
Mon, 17 Feb 2020 07:59:07 +0000 (08:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 17 Feb 2020 07:59:07 +0000 (08:59 +0100)
commitc8f8eebc3fc3662fdb9077355ecde9c88bd33727
tree2d3155e020e1c84b1179fe8876261a8c628a65fd
parenteedb0f2cfd2a54ab6be1065385f40f03045b42f2
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.
gas/ChangeLog
gas/config/tc-i386.c
opcodes/ChangeLog
opcodes/i386-opc.tbl
opcodes/i386-tbl.h