diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2019-06-21 13:18:41 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2019-06-21 13:18:41 -0700 |
commit | ad692897c12247d1f8fe4e6a2f6e6d9f22703170 (patch) | |
tree | c979bd83a88e82b197db74442a10e3a4c7d4ba09 /opcodes/i386-dis-evex-len.h | |
parent | fd5866f6aad7336f7a2b59578b9deef81383ea3b (diff) | |
download | gdb-ad692897c12247d1f8fe4e6a2f6e6d9f22703170.zip gdb-ad692897c12247d1f8fe4e6a2f6e6d9f22703170.tar.gz gdb-ad692897c12247d1f8fe4e6a2f6e6d9f22703170.tar.bz2 |
i386: Break i386-dis-evex.h into small files
Break i386-dis-evex.h into small files such that each file is included
just once.
* i386-dis-evex.h: Break into ...
* i386-dis-evex-len.h: New file.
* i386-dis-evex-mod.h: Likewise.
* i386-dis-evex-prefix.h: Likewise.
* i386-dis-evex-reg.h: Likewise.
* i386-dis-evex-w.h: Likewise.
* i386-dis.c: Include i386-dis-evex-reg.h, i386-dis-evex-prefix.h,
i386-dis-evex.h, i386-dis-evex-len.h, i386-dis-evex-w.h and
i386-dis-evex-mod.h.
Diffstat (limited to 'opcodes/i386-dis-evex-len.h')
-rw-r--r-- | opcodes/i386-dis-evex-len.h | 231 |
1 files changed, 231 insertions, 0 deletions
diff --git a/opcodes/i386-dis-evex-len.h b/opcodes/i386-dis-evex-len.h new file mode 100644 index 0000000..50b89eb --- /dev/null +++ b/opcodes/i386-dis-evex-len.h @@ -0,0 +1,231 @@ +static const struct dis386 evex_len_table[][3] = { + /* EVEX_LEN_0F6E_P_2 */ + { + { "vmovK", { XMScalar, Edq }, 0 }, + }, + + /* EVEX_LEN_0F7E_P_1 */ + { + { VEX_W_TABLE (EVEX_W_0F7E_P_1) }, + }, + + /* EVEX_LEN_0F7E_P_2 */ + { + { "vmovK", { Edq, XMScalar }, 0 }, + }, + + /* EVEX_LEN_0FD6_P_2 */ + { + { VEX_W_TABLE (EVEX_W_0FD6_P_2) }, + }, + + /* EVEX_LEN_0F3819_P_2_W_0 */ + { + { Bad_Opcode }, + { "vbroadcastf32x2", { XM, EXxmm_mq }, 0 }, + { "vbroadcastf32x2", { XM, EXxmm_mq }, 0 }, + }, + + /* EVEX_LEN_0F3819_P_2_W_1 */ + { + { Bad_Opcode }, + { "vbroadcastsd", { XM, EXxmm_mq }, 0 }, + { "vbroadcastsd", { XM, EXxmm_mq }, 0 }, + }, + + /* EVEX_LEN_0F381A_P_2_W_0 */ + { + { Bad_Opcode }, + { "vbroadcastf32x4", { XM, EXxmm }, 0 }, + { "vbroadcastf32x4", { XM, EXxmm }, 0 }, + }, + + /* EVEX_LEN_0F381A_P_2_W_1 */ + { + { Bad_Opcode }, + { "vbroadcastf64x2", { XM, EXxmm }, 0 }, + { "vbroadcastf64x2", { XM, EXxmm }, 0 }, + }, + + /* EVEX_LEN_0F381B_P_2_W_0 */ + { + { Bad_Opcode }, + { Bad_Opcode }, + { "vbroadcastf32x8", { XM, EXxmmq }, 0 }, + }, + + /* EVEX_LEN_0F381B_P_2_W_1 */ + { + { Bad_Opcode }, + { Bad_Opcode }, + { "vbroadcastf64x4", { XM, EXymm }, 0 }, + }, + + /* EVEX_LEN_0F385A_P_2_W_0 */ + { + { Bad_Opcode }, + { "vbroadcasti32x4", { XM, EXxmm }, 0 }, + { "vbroadcasti32x4", { XM, EXxmm }, 0 }, + }, + + /* EVEX_LEN_0F385A_P_2_W_1 */ + { + { Bad_Opcode }, + { "vbroadcasti64x2", { XM, EXxmm }, 0 }, + { "vbroadcasti64x2", { XM, EXxmm }, 0 }, + }, + + /* EVEX_LEN_0F385B_P_2_W_0 */ + { + { Bad_Opcode }, + { Bad_Opcode }, + { "vbroadcasti32x8", { XM, EXxmmq }, 0 }, + }, + + /* EVEX_LEN_0F385B_P_2_W_1 */ + { + { Bad_Opcode }, + { Bad_Opcode }, + { "vbroadcasti64x4", { XM, EXymm }, 0 }, + }, + + /* EVEX_LEN_0F3A18_P_2_W_0 */ + { + { Bad_Opcode }, + { "vinsertf32x4", { XM, Vex, EXxmm, Ib }, 0 }, + { "vinsertf32x4", { XM, Vex, EXxmm, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A18_P_2_W_1 */ + { + { Bad_Opcode }, + { "vinsertf64x2", { XM, Vex, EXxmm, Ib }, 0 }, + { "vinsertf64x2", { XM, Vex, EXxmm, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A19_P_2_W_0 */ + { + { Bad_Opcode }, + { "vextractf32x4", { EXxmm, XM, Ib }, 0 }, + { "vextractf32x4", { EXxmm, XM, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A19_P_2_W_1 */ + { + { Bad_Opcode }, + { "vextractf64x2", { EXxmm, XM, Ib }, 0 }, + { "vextractf64x2", { EXxmm, XM, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A1A_P_2_W_0 */ + { + { Bad_Opcode }, + { Bad_Opcode }, + { "vinsertf32x8", { XM, Vex, EXxmmq, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A1A_P_2_W_1 */ + { + { Bad_Opcode }, + { Bad_Opcode }, + { "vinsertf64x4", { XM, Vex, EXxmmq, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A1B_P_2_W_0 */ + { + { Bad_Opcode }, + { Bad_Opcode }, + { "vextractf32x8", { EXxmmq, XM, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A1B_P_2_W_1 */ + { + { Bad_Opcode }, + { Bad_Opcode }, + { "vextractf64x4", { EXxmmq, XM, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A23_P_2_W_0 */ + { + { Bad_Opcode }, + { "vshuff32x4", { XM, Vex, EXx, Ib }, 0 }, + { "vshuff32x4", { XM, Vex, EXx, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A23_P_2_W_1 */ + { + { Bad_Opcode }, + { "vshuff64x2", { XM, Vex, EXx, Ib }, 0 }, + { "vshuff64x2", { XM, Vex, EXx, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A38_P_2_W_0 */ + { + { Bad_Opcode }, + { "vinserti32x4", { XM, Vex, EXxmm, Ib }, 0 }, + { "vinserti32x4", { XM, Vex, EXxmm, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A38_P_2_W_1 */ + { + { Bad_Opcode }, + { "vinserti64x2", { XM, Vex, EXxmm, Ib }, 0 }, + { "vinserti64x2", { XM, Vex, EXxmm, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A39_P_2_W_0 */ + { + { Bad_Opcode }, + { "vextracti32x4", { EXxmm, XM, Ib }, 0 }, + { "vextracti32x4", { EXxmm, XM, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A39_P_2_W_1 */ + { + { Bad_Opcode }, + { "vextracti64x2", { EXxmm, XM, Ib }, 0 }, + { "vextracti64x2", { EXxmm, XM, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A3A_P_2_W_0 */ + { + { Bad_Opcode }, + { "vinserti32x8", { XM, Vex, EXxmmq, Ib }, 0 }, + { "vinserti32x8", { XM, Vex, EXxmmq, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A3A_P_2_W_1 */ + { + { Bad_Opcode }, + { "vinserti64x4", { XM, Vex, EXxmmq, Ib }, 0 }, + { "vinserti64x4", { XM, Vex, EXxmmq, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A3B_P_2_W_0 */ + { + { Bad_Opcode }, + { "vextracti32x8", { EXxmmq, XM, Ib }, 0 }, + { "vextracti32x8", { EXxmmq, XM, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A3B_P_2_W_1 */ + { + { Bad_Opcode }, + { "vextracti64x4", { EXxmmq, XM, Ib }, 0 }, + { "vextracti64x4", { EXxmmq, XM, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A43_P_2_W_0 */ + { + { Bad_Opcode }, + { "vshufi32x4", { XM, Vex, EXx, Ib }, 0 }, + { "vshufi32x4", { XM, Vex, EXx, Ib }, 0 }, + }, + + /* EVEX_LEN_0F3A43_P_2_W_1 */ + { + { Bad_Opcode }, + { "vshufi64x2", { XM, Vex, EXx, Ib }, 0 }, + { "vshufi64x2", { XM, Vex, EXx, Ib }, 0 }, + }, +}; |