x86: also disallow non-byte/-word registers with byte/word suffix
authorJan Beulich <jbeulich@suse.com>
Wed, 12 Feb 2020 09:59:32 +0000 (10:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 12 Feb 2020 09:59:32 +0000 (10:59 +0100)
commit9706160abd7dd2137359e4575b25ef49dfdaad0c
tree785cfce41f0a7b5f8c30d91f69d4dc1b07b8f9db
parent5de4d9ef71d5233026d8e9fbd74ec87cca4d220a
x86: also disallow non-byte/-word registers with byte/word suffix

Along the lines of be4c5e58bd ("x86: Always disallow double word suffix
with word general register") also adjust check_{byte,word}_reg(), to make
overall behavior consistent again in this regard.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/general.l
gas/testsuite/gas/i386/general.s
gas/testsuite/gas/i386/intelbad.l
gas/testsuite/gas/i386/inval.l
gas/testsuite/gas/i386/inval.s