[PATCH 0/8] x86: work towards further opcode table compaction

Jan Beulich jbeulich@suse.com
Mon Mar 22 16:40:52 GMT 2021


This is partial work for now only, because I'm not sure how controversial
some of the later the changes might be, and hence I wouldn't want to
continue down this road without at least rough consensus. The bugs fixed
by the first patch were noticed simply in the course of doing this rework.

1: unbreak certain MPX insn operand forms
2: don't open-code PREFIX_NONE
3: don't use opcode_length to identify pseudo prefixes
4: split opcode prefix and opcode space representation
5: re-order two fields of struct insn_template
6: re-number PREFIX_0X<nn>
7: derive mandatory prefix attribute from base opcode
8: derive opcode length from opcode value

Jan


More information about the Binutils mailing list