[PATCH] x86: remove stray instruction attributes

Jan Beulich JBeulich@suse.com
Thu Jun 30 10:59:00 GMT 2016


>>> On 30.06.16 at 12:23, <JBeulich@suse.com> wrote:
> - with Cpu64 Disp16 makes no sense for memory operands
> - with CpuNo64 Disp32S makes no sense
> - non-64-bit lgdt doesn't allow 10-byte operands

Another thing I've been thinking of, which I believe would greatly
improve readability of opcodes/i386-opc.tbl, is to remove the
various No_*Suf specifications when an instruction doesn't allow
any suffix: Since no instruction will possibly allow for every one of
them, i386-gen could easily be made set all 6 bits when none of
them got set by parsing of the input. Thoughts?

Jan



More information about the Binutils mailing list