x86: drop {,reg16_}inoutportreg variables
authorJan Beulich <jbeulich@novell.com>
Wed, 11 Jul 2018 08:28:56 +0000 (10:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 11 Jul 2018 08:28:56 +0000 (10:28 +0200)
commit2fb5be8dac9db623ef6e2a61b1f5b09fd246872b
tree538ca6d180320f7c01012901a31d753cb372b495
parentbd59a6313dbbf349dff197975f1b6a78be51b7d6
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[].
gas/ChangeLog
gas/config/tc-i386.c
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-init.h