diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-09-15 14:50:40 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-09-15 14:50:40 -0700 |
commit | 3c3741435f315fba956bbace8c4991215e283510 (patch) | |
tree | f8bab3af5a9218f663e01036beed0ef64613322b /opcodes/i386-dis.c | |
parent | 8ffb70eb57f527817840ff33982c085b0bec86bc (diff) | |
download | gdb-3c3741435f315fba956bbace8c4991215e283510.zip gdb-3c3741435f315fba956bbace8c4991215e283510.tar.gz gdb-3c3741435f315fba956bbace8c4991215e283510.tar.bz2 |
x86: Set Vex=1 on VEX.128 only vmovq
AVX "VMOVQ xmm1, xmm2/m64" and "VMOVQ xmm1/m64, xmm2" can only be
encoded with VEX.128. Set Vex=1 on VEX.128 only vmovq and update
assembler tests.
gas/
PR gas/23665
* testsuite/gas/i386/avx-scalar-intel.d: Updated.
* testsuite/gas/i386/avx-scalar.d: Likewise.
* testsuite/gas/i386/x86-64-avx-scalar-intel.d: Likewise.
* testsuite/gas/i386/x86-64-avx-scalar.d: Likewise.
opcodes/
PR gas/23665
* i386-dis.c (vex_len_table): Update VEX_LEN_0F7E_P_1 and
VEX_LEN_0FD6_P_2 entries.
* i386-opc.tbl: Set Vex=1 on VEX.128 only vmovq.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r-- | opcodes/i386-dis.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 9453e52..5252174 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -9848,7 +9848,6 @@ static const struct dis386 vex_len_table[][2] = { /* VEX_LEN_0F7E_P_1 */ { { VEX_W_TABLE (VEX_W_0F7E_P_1) }, - { VEX_W_TABLE (VEX_W_0F7E_P_1) }, }, /* VEX_LEN_0F7E_P_2 */ @@ -9962,7 +9961,6 @@ static const struct dis386 vex_len_table[][2] = { /* VEX_LEN_0FD6_P_2 */ { { VEX_W_TABLE (VEX_W_0FD6_P_2) }, - { VEX_W_TABLE (VEX_W_0FD6_P_2) }, }, /* VEX_LEN_0FF7_P_2 */ |