x86: derive DispN from BaseIndex
authorJan Beulich <jbeulich@novell.com>
Thu, 30 Nov 2017 10:48:13 +0000 (11:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 30 Nov 2017 10:48:13 +0000 (11:48 +0100)
commit7ac20022477c163983de77e5b16c016d518ca7bc
treea8aaf1aa967b6f7892353eb67cf2029e46622d92
parentb5014f7af26ff0fbc1128b5fabdaf3bd5918dd94
x86: derive DispN from BaseIndex

BaseIndex implies - with the exception of string instructions the
optional presence of a displacement. This is almost completely uniform
for all instructions (the sole exception being MPX ones, which don't
allow 16-bit addressing and hence Disp16), so there's no point in
explicitly stating this in the main opcode table. Drop those explict
specifications in favor of adding logic to i386-gen, shrinking the
table size quite a bit and hence making it more readable.

The opcodes/i386-tbl.h changes are due to a few cases where pointless
Disp* still hadn't been removed from their insns.
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-opc.tbl
opcodes/i386-tbl.h
This page took 0.02522 seconds and 4 git commands to generate.