This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] x86: VZEROALL/VZEROUPPER are WIG
- From: "Jan Beulich" <JBeulich at suse dot com>
- To: <binutils at sourceware dot org>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Wed, 05 Sep 2018 03:10:28 -0600
- Subject: [PATCH] x86: VZEROALL/VZEROUPPER are WIG
opcodes/
2018-09-05 Jan Beulich <jbeulich@suse.com>
* i386-dis.c (VEX_W_0F77_P_0): Delete.
* (prefix_table): Use VZERO here.
* (vex_w_table): Delete VEX_W_0F77_P_0 entry.
---
Note regarding the lack of a testcase addition: I would have added
something if there was a pre-existing testcase checking VEX-encoded WIG
insns, but something like this exists for EVEX encoded ones only
(including a command line option to control the choice).
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -2071,7 +2071,6 @@ enum
VEX_W_0F74_P_2,
VEX_W_0F75_P_2,
VEX_W_0F76_P_2,
- VEX_W_0F77_P_0,
VEX_W_0F7C_P_2,
VEX_W_0F7C_P_3,
VEX_W_0F7D_P_2,
@@ -5301,7 +5300,7 @@ static const struct dis386 prefix_table[
/* PREFIX_VEX_0F77 */
{
- { VEX_W_TABLE (VEX_W_0F77_P_0) },
+ { "", { VZERO }, 0 },
},
/* PREFIX_VEX_0F7C */
@@ -10784,10 +10783,6 @@ static const struct dis386 vex_w_table[]
{ "vpcmpeqd", { XM, Vex, EXx }, 0 },
},
{
- /* VEX_W_0F77_P_0 */
- { "", { VZERO }, 0 },
- },
- {
/* VEX_W_0F7C_P_2 */
{ "vhaddpd", { XM, Vex, EXx }, 0 },
},