x86: properly force / avoid forcing EVEX encoding
authorJan Beulich <jbeulich@novell.com>
Thu, 26 Apr 2018 06:49:41 +0000 (08:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Apr 2018 06:49:41 +0000 (08:49 +0200)
commit1d3f82868db8881cd9ce79ad151fb0a7ebeb2c5a
treeee3c455995bb41865782217abed641a53569fdcf
parent59ef5df41e8a2addac4c74bb838fe8295cc79ebf
x86: properly force / avoid forcing EVEX encoding

Pseudo prefixes are supposed to be a hint only - when the specific
encoding can't be used to encode an insn, silently override it. But
this overriding must only happen after the respective check, to
avoid forcing EVEX encoding because of something that isn't a valid
register name in the given context.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/xmmhi32.d
gas/testsuite/gas/i386/xmmhi32.s
gas/testsuite/gas/i386/xmmhi64.d [new file with mode: 0644]
gas/testsuite/gas/i386/xmmhi64.s [new file with mode: 0644]