diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-01-06 17:15:28 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-01-06 17:15:28 +0000 |
commit | 168e30971284effa900cfa4b828b7759b34db4cd (patch) | |
tree | 68fbda03d156d5f633edbfe2d8db50d75488c5dd /opcodes | |
parent | 84603566b73e9ad18d094da3b7510ab480db8170 (diff) | |
download | gdb-168e30971284effa900cfa4b828b7759b34db4cd.zip gdb-168e30971284effa900cfa4b828b7759b34db4cd.tar.gz gdb-168e30971284effa900cfa4b828b7759b34db4cd.tar.bz2 |
gas/testsuite/
2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (December, 2008)
* gas/i386/avx.s: Add tests for 256bit vmovntdq, vmovntpd and
vmovntps.
* gas/i386/x86-64-avx.s: Likewise.
* gas/i386/avx.d: Updated.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
opcodes/
2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (December, 2008)
* i386-dis.c (VEX_LEN_2B_M_0): Removed.
(VEX_LEN_E7_P_2_M_0): Likewise.
(VEX_LEN_2C_P_1): Updated.
(VEX_LEN_E8_P_2): Likewise.
(vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
(mod_table): Likewise.
* i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 13 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 22 | ||||
-rw-r--r-- | opcodes/i386-opc.tbl | 3 | ||||
-rw-r--r-- | opcodes/i386-tbl.h | 36 |
4 files changed, 56 insertions, 18 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index ae44dbf..c27bebb 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,16 @@ +2009-01-06 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (December, 2008) + * i386-dis.c (VEX_LEN_2B_M_0): Removed. + (VEX_LEN_E7_P_2_M_0): Likewise. + (VEX_LEN_2C_P_1): Updated. + (VEX_LEN_E8_P_2): Likewise. + (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0. + (mod_table): Likewise. + + * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps. + * i386-tbl.h: Regenerated. + 2009-01-05 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (process_copyright): Update for 2009. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 58e36d9..43119f8 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -1066,8 +1066,7 @@ fetch_data (struct disassemble_info *info, bfd_byte *addr) #define VEX_LEN_17_M_0 (VEX_LEN_16_P_2 + 1) #define VEX_LEN_2A_P_1 (VEX_LEN_17_M_0 + 1) #define VEX_LEN_2A_P_3 (VEX_LEN_2A_P_1 + 1) -#define VEX_LEN_2B_M_0 (VEX_LEN_2A_P_3 + 1) -#define VEX_LEN_2C_P_1 (VEX_LEN_2B_M_0 + 1) +#define VEX_LEN_2C_P_1 (VEX_LEN_2A_P_3 + 1) #define VEX_LEN_2C_P_3 (VEX_LEN_2C_P_1 + 1) #define VEX_LEN_2D_P_1 (VEX_LEN_2C_P_3 + 1) #define VEX_LEN_2D_P_3 (VEX_LEN_2D_P_1 + 1) @@ -1153,8 +1152,7 @@ fetch_data (struct disassemble_info *info, bfd_byte *addr) #define VEX_LEN_E3_P_2 (VEX_LEN_E2_P_2 + 1) #define VEX_LEN_E4_P_2 (VEX_LEN_E3_P_2 + 1) #define VEX_LEN_E5_P_2 (VEX_LEN_E4_P_2 + 1) -#define VEX_LEN_E7_P_2_M_0 (VEX_LEN_E5_P_2 + 1) -#define VEX_LEN_E8_P_2 (VEX_LEN_E7_P_2_M_0 + 1) +#define VEX_LEN_E8_P_2 (VEX_LEN_E5_P_2 + 1) #define VEX_LEN_E9_P_2 (VEX_LEN_E8_P_2 + 1) #define VEX_LEN_EA_P_2 (VEX_LEN_E9_P_2 + 1) #define VEX_LEN_EB_P_2 (VEX_LEN_EA_P_2 + 1) @@ -7971,12 +7969,6 @@ static const struct dis386 vex_len_table[][2] = { { "(bad)", { XX } }, }, - /* VEX_LEN_2B_M_0 */ - { - { "vmovntpX", { Mx, XM } }, - { "(bad)", { XX } }, - }, - /* VEX_LEN_2C_P_1 */ { { "vcvttss2siY", { Gv, EXd } }, @@ -8493,12 +8485,6 @@ static const struct dis386 vex_len_table[][2] = { { "(bad)", { XX } }, }, - /* VEX_LEN_E7_P_2_M_0 */ - { - { "vmovntdq", { Mx, XM } }, - { "(bad)", { XX } }, - }, - /* VEX_LEN_E8_P_2 */ { { "vpsubsb", { XM, Vex128, EXx } }, @@ -9356,7 +9342,7 @@ static const struct dis386 mod_table[][2] = { }, { /* MOD_VEX_2B */ - { VEX_LEN_TABLE (VEX_LEN_2B_M_0) }, + { "vmovntpX", { Mx, XM } }, { "(bad)", { XX } }, }, { @@ -9431,7 +9417,7 @@ static const struct dis386 mod_table[][2] = { }, { /* MOD_VEX_E7_PREFIX_2 */ - { VEX_LEN_TABLE (VEX_LEN_E7_P_2_M_0) }, + { "vmovntdq", { Mx, XM } }, { "(bad)", { XX } }, }, { diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index be4c89a..4e2bf8e 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -2119,9 +2119,12 @@ vmovmskpd, 2, 0x6650, None, 1, CpuAVX, Modrm|Vex|Vex0F|Vex256|IgnoreSize|No_bSuf vmovmskps, 2, 0x50, None, 1, CpuAVX, Modrm|Vex|Vex0F|IgnoreSize|No_bSuf|No_wSuf|No_sSuf|No_ldSuf|NoRex64, { RegXMM, Reg32|Reg64 } vmovmskps, 2, 0x50, None, 1, CpuAVX, Modrm|Vex|Vex0F|Vex256|IgnoreSize|No_bSuf|No_wSuf|No_sSuf|No_ldSuf|NoRex64, { RegYMM, Reg32|Reg64 } vmovntdq, 2, 0x66e7, None, 1, CpuAVX, Modrm|Vex|Vex0F|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { RegXMM, Xmmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } +vmovntdq, 2, 0x66e7, None, 1, CpuAVX, Modrm|Vex|Vex0F|Vex256|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { RegYMM, Ymmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } vmovntdqa, 2, 0x662a, None, 1, CpuAVX, Modrm|Vex|Vex0F38|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Xmmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S, RegXMM } vmovntpd, 2, 0x662b, None, 1, CpuAVX, Modrm|Vex|Vex0F|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { RegXMM, Xmmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } +vmovntpd, 2, 0x662b, None, 1, CpuAVX, Modrm|Vex|Vex0F|Vex256|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { RegYMM, Ymmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } vmovntps, 2, 0x2b, None, 1, CpuAVX, Modrm|Vex|Vex0F|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { RegXMM, Xmmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } +vmovntps, 2, 0x2b, None, 1, CpuAVX, Modrm|Vex|Vex0F|Vex256|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { RegYMM, Ymmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S } vmovq, 2, 0xf37e, None, 1, CpuAVX, S|Modrm|Vex|Vex0F|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|NoRex64, { Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|RegXMM, RegXMM } vmovq, 2, 0x66d6, None, 1, CpuAVX, Modrm|Vex|Vex0F|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|NoRex64, { RegXMM, Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|RegXMM } vmovq, 2, 0x666e, None, 1, CpuAVX|Cpu64, Modrm|Vex|Vex0F|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Reg64|Qword|Unspecified|BaseIndex|Disp8|Disp32|Disp32S, RegXMM } diff --git a/opcodes/i386-tbl.h b/opcodes/i386-tbl.h index 8243bea..3fcf3f7 100644 --- a/opcodes/i386-tbl.h +++ b/opcodes/i386-tbl.h @@ -21548,6 +21548,18 @@ const template i386_optab[] = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0 } } } }, + { "vmovntdq", 2, 0x66e7, None, 1, + { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, + { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, + 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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