aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorMichael Zolotukhin <michael.v.zolotukhin@gmail.com>2014-01-30 07:38:09 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-01-30 07:38:09 -0800
commiteaa9d1ad0e77540e8768ad11d8389f9408249237 (patch)
tree6d0ef37e5e9be323244afbd89bb56300fe7347d7 /opcodes
parent2c39fc0d9c50061be0cdaaba40c278b7ab50ab70 (diff)
downloadgdb-eaa9d1ad0e77540e8768ad11d8389f9408249237.zip
gdb-eaa9d1ad0e77540e8768ad11d8389f9408249237.tar.gz
gdb-eaa9d1ad0e77540e8768ad11d8389f9408249237.tar.bz2
Fix shift for AVX512F gather/scatter instructions
opcodes/ 2014-01-30 Michael Zolotukhin <michael.v.zolotukhin@gmail.com> Jan Beulich <jbeulich@suse.com> PR binutils/16490 * i386-dis.c (OP_E_memory): Fix shift computation for vex_vsib_q_w_dq_mode. gas/testsuite/ 2014-01-30 Michael Zolotukhin <michael.v.zolotukhin@gmail.com> Jan Beulich <jbeulich@suse.com> PR binutils/16490 * gas/i386/avx512f.d: Fix test output. * gas/i386/avx512f-intel.d: Likewise. * gas/i386/x86-64-avx512f.d: Likewise. * gas/i386/x86-64-avx512f-intel.d: Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog7
-rw-r--r--opcodes/i386-dis.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 4d8b866..3fdbc71 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,10 @@
+2014-01-30 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
+ Jan Beulich <jbeulich@suse.com>
+
+ PR binutils/16490
+ * i386-dis.c (OP_E_memory): Fix shift computation for
+ vex_vsib_q_w_dq_mode.
+
2014-01-09 Bradley Nelson <bradnelson@google.com>
Roland McGrath <mcgrathr@google.com>
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index f2ec8c4..3645daf 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -14206,13 +14206,11 @@ OP_E_memory (int bytemode, int sizeflag)
switch (bytemode)
{
case vex_vsib_d_w_dq_mode:
+ case vex_vsib_q_w_dq_mode:
case evex_x_gscat_mode:
case xmm_mdq_mode:
shift = vex.w ? 3 : 2;
break;
- case vex_vsib_q_w_dq_mode:
- shift = 3;
- break;
case x_mode:
case evex_half_bcst_xmmq_mode:
if (vex.b)