aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2018-11-06 11:45:49 +0100
committerJan Beulich <jbeulich@suse.com>2018-11-06 11:45:49 +0100
commit4dd4e6394509d58685daea52cc6947c45fd7ee9d (patch)
tree5f96f49b0e77e83bc3b2acbb6593272b12be9b4a /opcodes
parent9819647a63bfca45a879650ac23fe80f51b89edb (diff)
downloadbinutils-4dd4e6394509d58685daea52cc6947c45fd7ee9d.zip
binutils-4dd4e6394509d58685daea52cc6947c45fd7ee9d.tar.gz
binutils-4dd4e6394509d58685daea52cc6947c45fd7ee9d.tar.bz2
x86: correctly handle VPBROADCASTD with EVEX.W set outside of 64-bit mode
For the flavor having a GPR operand EVEX.W is ignored outside of 64-bit mode. The mnemonic should therefore not be VPBROADCASTQ.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-dis-evex.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 70b95f3..ce55624 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,10 @@
2018-11-06 Jan Beulich <jbeulich@suse.com>
+ * i386-dis-evex.h (evex_table): Use K suffix instead of %LW for
+ vpbroadcast{d,q} with GPR operand.
+
+2018-11-06 Jan Beulich <jbeulich@suse.com>
+
* i386-dis.c (EVEX_W_0F6E_P_2, EVEX_W_0F7E_P_2): Delete.
* i386-dis-evex.h (evex_table): Move vmov[dq} with GPR operand
cases up one level in the hierarchy.
diff --git a/opcodes/i386-dis-evex.h b/opcodes/i386-dis-evex.h
index 84eaf83..dec7fc4 100644
--- a/opcodes/i386-dis-evex.h
+++ b/opcodes/i386-dis-evex.h
@@ -2167,7 +2167,7 @@ static const struct dis386 evex_table[][256] = {
{
{ Bad_Opcode },
{ Bad_Opcode },
- { "vpbroadcast%LW", { XM, Rdq }, 0 },
+ { "vpbroadcastK", { XM, Rdq }, 0 },
},
/* PREFIX_EVEX_0F387D */
{