diff options
author | Jan Beulich <jbeulich@suse.com> | 2020-03-06 08:53:18 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2020-03-06 08:53:18 +0100 |
commit | 4ed21b58d4b8331806b9e88da18898235942f425 (patch) | |
tree | a2b3fed5c08bba659f20f0a434f517517fd171dc /binutils/resres.c | |
parent | 643bb87079dd96aed99ff1572375a88179afcd15 (diff) | |
download | binutils-4ed21b58d4b8331806b9e88da18898235942f425.zip binutils-4ed21b58d4b8331806b9e88da18898235942f425.tar.gz binutils-4ed21b58d4b8331806b9e88da18898235942f425.tar.bz2 |
x86: replace NoRex64 on VEX-encoded insns
When the template specifies any of the possible VexW settings, we can
use this instead of a separate NoRex64 to suppress the setting of REX_W.
Note that this ends up addressing an inconsistency between VEX- and
EVEX-encoded VEXTRACTPS, VPEXTR{B,W}, and VPINSR{B,W} - while the former
avoided setting VEX.W, the latter pointlessly set EVEX.W when there is a
64-bit GPR operand. Adjust the testcase to cover both cases.
Convert VexW= to their respective VexW* on lines touched anyway.
Diffstat (limited to 'binutils/resres.c')
0 files changed, 0 insertions, 0 deletions