x86: relax redundant REX prefix check
authorJan Beulich <jbeulich@novell.com>
Fri, 1 Jun 2018 06:39:54 +0000 (08:39 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Jun 2018 06:39:54 +0000 (08:39 +0200)
commit44846f29ab3a5fdab229cb63d9cd42323ed85767
tree0de4b8a702d455786f47e07a30a283cf821efb65
parent4787f4a5860864337c4f1261713b9462b79ea16a
x86: relax redundant REX prefix check

All REX bits can be specified via individual prefixes. Redundancy should
only be reported on a per-bit basis.

Note that I originally had further checks added to the test case,
checking the effect also on PDEP. I had to strip those, because my patch
to correctly handle those
(https://sourceware.org/ml/binutils/2017-02/msg00280.html) was rejected.
I continue to think that there should not be any new prefix introduced
to handle the VEX case - whether the encoding of an insn requires VEX et
al should not be of immediate interest to the programmer.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/ilp32/rex.d
gas/testsuite/gas/i386/rex.d
gas/testsuite/gas/i386/rex.s
This page took 0.041102 seconds and 4 git commands to generate.