From 0902068007e94c2d57cb5e3a1486a6609c56d9eb Mon Sep 17 00:00:00 2001 From: flobernd Date: Mon, 19 Jun 2017 21:06:33 +0200 Subject: [PATCH] Fixed more EVEX tuple-types --- include/Zydis/Internal/InstructionDefinitions.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/Zydis/Internal/InstructionDefinitions.inc b/include/Zydis/Internal/InstructionDefinitions.inc index 4515770..9e3fef3 100644 --- a/include/Zydis/Internal/InstructionDefinitions.inc +++ b/include/Zydis/Internal/InstructionDefinitions.inc @@ -4201,7 +4201,7 @@ const ZydisInstructionDefinitionEVEX instructionDefinitionsEVEX[] = /*01DE*/ { ZYDIS_MNEMONIC_VEXTRACTI64X4, 4, 0x05EF, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, /*01DF*/ { ZYDIS_MNEMONIC_VEXTRACTI64X4, 4, 0x05F3, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T4, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, /*01E0*/ { ZYDIS_MNEMONIC_VEXTRACTPS, 3, 0x0E7F, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, - /*01E1*/ { ZYDIS_MNEMONIC_VEXTRACTPS, 3, 0x0B07, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, + /*01E1*/ { ZYDIS_MNEMONIC_VEXTRACTPS, 3, 0x0B07, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*01E2*/ { ZYDIS_MNEMONIC_VFIXUPIMMPD, 5, 0x0148, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, /*01E3*/ { ZYDIS_MNEMONIC_VFIXUPIMMPD, 5, 0x014D, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_FV, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_BC, ZYDIS_MASK_POLICY_ALLOWED }, /*01E4*/ { ZYDIS_MNEMONIC_VFIXUPIMMPD, 5, 0x0152, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, @@ -4715,7 +4715,7 @@ const ZydisInstructionDefinitionEVEX instructionDefinitionsEVEX[] = /*03E0*/ { ZYDIS_MNEMONIC_VMOVD, 2, 0x165A, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*03E1*/ { ZYDIS_MNEMONIC_VMOVD, 2, 0x15D8, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*03E2*/ { ZYDIS_MNEMONIC_VMOVD, 2, 0x0FC3, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, - /*03E3*/ { ZYDIS_MNEMONIC_VMOVD, 2, 0x0FC6, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, + /*03E3*/ { ZYDIS_MNEMONIC_VMOVD, 2, 0x0FC6, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*03E4*/ { ZYDIS_MNEMONIC_VMOVDDUP, 3, 0x061F, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, /*03E5*/ { ZYDIS_MNEMONIC_VMOVDDUP, 3, 0x0EA3, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_DUP, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, /*03E6*/ { ZYDIS_MNEMONIC_VMOVDDUP, 3, 0x0627, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, @@ -4819,7 +4819,7 @@ const ZydisInstructionDefinitionEVEX instructionDefinitionsEVEX[] = /*0448*/ { ZYDIS_MNEMONIC_VMOVQ, 2, 0x1668, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*0449*/ { ZYDIS_MNEMONIC_VMOVQ, 2, 0x15E0, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*044A*/ { ZYDIS_MNEMONIC_VMOVQ, 2, 0x0FC9, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, - /*044B*/ { ZYDIS_MNEMONIC_VMOVQ, 2, 0x0FCC, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, + /*044B*/ { ZYDIS_MNEMONIC_VMOVQ, 2, 0x0FCC, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*044C*/ { ZYDIS_MNEMONIC_VMOVQ, 2, 0x0A6E, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*044D*/ { ZYDIS_MNEMONIC_VMOVQ, 2, 0x15E0, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*044E*/ { ZYDIS_MNEMONIC_VMOVQ, 2, 0x166A, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, @@ -5373,14 +5373,14 @@ const ZydisInstructionDefinitionEVEX instructionDefinitionsEVEX[] = /*0672*/ { ZYDIS_MNEMONIC_VPEXPANDQ, 3, 0x0ECA, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_GSCAT, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, /*0673*/ { ZYDIS_MNEMONIC_VPEXPANDQ, 3, 0x073F, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, /*0674*/ { ZYDIS_MNEMONIC_VPEXTRB, 3, 0x0FC0, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, - /*0675*/ { ZYDIS_MNEMONIC_VPEXTRB, 3, 0x0BF1, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_8, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, + /*0675*/ { ZYDIS_MNEMONIC_VPEXTRB, 3, 0x0BF1, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_8, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*0676*/ { ZYDIS_MNEMONIC_VPEXTRD, 3, 0x0FC3, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, - /*0677*/ { ZYDIS_MNEMONIC_VPEXTRD, 3, 0x0FC6, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, + /*0677*/ { ZYDIS_MNEMONIC_VPEXTRD, 3, 0x0FC6, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*0678*/ { ZYDIS_MNEMONIC_VPEXTRQ, 3, 0x0FC9, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, - /*0679*/ { ZYDIS_MNEMONIC_VPEXTRQ, 3, 0x0FCC, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, + /*0679*/ { ZYDIS_MNEMONIC_VPEXTRQ, 3, 0x0FCC, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_64, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*067A*/ { ZYDIS_MNEMONIC_VPEXTRW, 3, 0x0FCF, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*067B*/ { ZYDIS_MNEMONIC_VPEXTRW, 3, 0x0FD2, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_INVALID, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, - /*067C*/ { ZYDIS_MNEMONIC_VPEXTRW, 3, 0x0FD5, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_INVALID, ZYDIS_IELEMENT_SIZE_16, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, + /*067C*/ { ZYDIS_MNEMONIC_VPEXTRW, 3, 0x0FD5, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_T1S, ZYDIS_IELEMENT_SIZE_16, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_FORBIDDEN }, /*067D*/ { ZYDIS_MNEMONIC_VPGATHERDD, 3, 0x0FD8, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_GSCAT, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_REQUIRED }, /*067E*/ { ZYDIS_MNEMONIC_VPGATHERDD, 3, 0x0FDB, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_GSCAT, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_REQUIRED }, /*067F*/ { ZYDIS_MNEMONIC_VPGATHERDD, 3, 0x0FDE, 0x00, ZYDIS_IVECTOR_LENGTH_DEFAULT, ZYDIS_TUPLETYPE_GSCAT, ZYDIS_IELEMENT_SIZE_32, ZYDIS_EVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_REQUIRED },