diff options
author | Jan Beulich <jbeulich@novell.com> | 2018-07-11 10:28:56 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2018-07-11 10:28:56 +0200 |
commit | 2fb5be8dac9db623ef6e2a61b1f5b09fd246872b (patch) | |
tree | 538ca6d180320f7c01012901a31d753cb372b495 /opcodes/i386-init.h | |
parent | x86: simplify legacy prefix emission (diff) | |
download | binutils-gdb-2fb5be8dac9db623ef6e2a61b1f5b09fd246872b.tar.gz binutils-gdb-2fb5be8dac9db623ef6e2a61b1f5b09fd246872b.tar.bz2 binutils-gdb-2fb5be8dac9db623ef6e2a61b1f5b09fd246872b.zip |
x86: drop {,reg16_}inoutportreg variables
The checking against reg16_inoutportreg can be had with a simple test of
a bit, and the value setting from inoutportreg can be replaced by using
the actual register's reg_type field.
Note that the so far redundant 2nd instance of OPERAND_TYPE_INOUTPORTREG
is left in place, for its use in type_names[].
Diffstat (limited to 'opcodes/i386-init.h')
-rw-r--r-- | opcodes/i386-init.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h index 75ee12d9dad..15ef742a9bf 100644 --- a/opcodes/i386-init.h +++ b/opcodes/i386-init.h @@ -1452,16 +1452,6 @@ 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, \ 0, 0, 0 } } -#define OPERAND_TYPE_INOUTPORTREG \ - { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ - 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ - 0, 0, 0 } } - -#define OPERAND_TYPE_REG16_INOUTPORTREG \ - { { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ - 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ - 0, 0, 0 } } - #define OPERAND_TYPE_DISP16_32 \ { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ |