Skip to content

Commit 7e0ec6f

Browse files
committed
Update instruction definitions
1 parent a5c5c33 commit 7e0ec6f

File tree

10 files changed

+19021
-12969
lines changed

10 files changed

+19021
-12969
lines changed

include/Zydis/Generated/EnumISAExt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ typedef enum ZydisISAExt_
99
ZYDIS_ISA_EXT_AMD3DNOW,
1010
ZYDIS_ISA_EXT_AMD3DNOW_PREFETCH,
1111
ZYDIS_ISA_EXT_AMD_INVLPGB,
12+
ZYDIS_ISA_EXT_AMX_BF16,
1213
ZYDIS_ISA_EXT_AMX_FP16,
1314
ZYDIS_ISA_EXT_AMX_INT8,
1415
ZYDIS_ISA_EXT_AMX_TILE,
@@ -34,7 +35,6 @@ typedef enum ZydisISAExt_
3435
ZYDIS_ISA_EXT_CLFSH,
3536
ZYDIS_ISA_EXT_CLWB,
3637
ZYDIS_ISA_EXT_CLZERO,
37-
ZYDIS_ISA_EXT_CMPCCXADD,
3838
ZYDIS_ISA_EXT_ENQCMD,
3939
ZYDIS_ISA_EXT_F16C,
4040
ZYDIS_ISA_EXT_FMA,

include/Zydis/Generated/EnumISASet.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ typedef enum ZydisISASet_
1010
ZYDIS_ISA_SET_AMD3DNOW,
1111
ZYDIS_ISA_SET_AMD_INVLPGB,
1212
ZYDIS_ISA_SET_AMX_BF16,
13-
ZYDIS_ISA_SET_AMX_COMPLEX,
1413
ZYDIS_ISA_SET_AMX_FP16,
1514
ZYDIS_ISA_SET_AMX_INT8,
1615
ZYDIS_ISA_SET_AMX_TILE,
@@ -23,8 +22,6 @@ typedef enum ZydisISASet_
2322
ZYDIS_ISA_SET_APX_F_CMPCCXADD,
2423
ZYDIS_ISA_SET_APX_F_ENQCMD,
2524
ZYDIS_ISA_SET_APX_F_INVPCID,
26-
ZYDIS_ISA_SET_APX_F_KEYLOCKER,
27-
ZYDIS_ISA_SET_APX_F_KEYLOCKER_WIDE,
2825
ZYDIS_ISA_SET_APX_F_KOPB,
2926
ZYDIS_ISA_SET_APX_F_KOPD,
3027
ZYDIS_ISA_SET_APX_F_KOPQ,
@@ -33,8 +30,8 @@ typedef enum ZydisISASet_
3330
ZYDIS_ISA_SET_APX_F_MOVBE,
3431
ZYDIS_ISA_SET_APX_F_MOVDIR64B,
3532
ZYDIS_ISA_SET_APX_F_MOVDIRI,
33+
ZYDIS_ISA_SET_APX_F_POPCNT,
3634
ZYDIS_ISA_SET_APX_F_RAO_INT,
37-
ZYDIS_ISA_SET_APX_F_SHA,
3835
ZYDIS_ISA_SET_APX_F_USER_MSR,
3936
ZYDIS_ISA_SET_APX_F_VMX,
4037
ZYDIS_ISA_SET_AVX,
@@ -60,7 +57,7 @@ typedef enum ZydisISASet_
6057
ZYDIS_ISA_SET_AVX512F_128N,
6158
ZYDIS_ISA_SET_AVX512F_256,
6259
ZYDIS_ISA_SET_AVX512F_512,
63-
ZYDIS_ISA_SET_AVX512F_KOPW,
60+
ZYDIS_ISA_SET_AVX512F_KOP,
6461
ZYDIS_ISA_SET_AVX512F_SCALAR,
6562
ZYDIS_ISA_SET_AVX512PF_512,
6663
ZYDIS_ISA_SET_AVX512_4FMAPS_512,
@@ -120,7 +117,6 @@ typedef enum ZydisISASet_
120117
ZYDIS_ISA_SET_CLWB,
121118
ZYDIS_ISA_SET_CLZERO,
122119
ZYDIS_ISA_SET_CMOV,
123-
ZYDIS_ISA_SET_CMPCCXADD,
124120
ZYDIS_ISA_SET_CMPXCHG16B,
125121
ZYDIS_ISA_SET_ENQCMD,
126122
ZYDIS_ISA_SET_F16C,
@@ -160,8 +156,7 @@ typedef enum ZydisISASet_
160156
ZYDIS_ISA_SET_MONITOR,
161157
ZYDIS_ISA_SET_MONITORX,
162158
ZYDIS_ISA_SET_MOVBE,
163-
ZYDIS_ISA_SET_MOVDIR64B,
164-
ZYDIS_ISA_SET_MOVDIRI,
159+
ZYDIS_ISA_SET_MOVDIR,
165160
ZYDIS_ISA_SET_MPX,
166161
ZYDIS_ISA_SET_MSRLIST,
167162
ZYDIS_ISA_SET_PADLOCK_ACE,

include/Zydis/Generated/EnumMnemonic.h

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ typedef enum ZydisMnemonic_
349349
ZYDIS_MNEMONIC_HSUBPS,
350350
ZYDIS_MNEMONIC_IDIV,
351351
ZYDIS_MNEMONIC_IMUL,
352+
ZYDIS_MNEMONIC_IMULZU,
352353
ZYDIS_MNEMONIC_IN,
353354
ZYDIS_MNEMONIC_INC,
354355
ZYDIS_MNEMONIC_INCSSPD,
@@ -814,6 +815,22 @@ typedef enum ZydisMnemonic_
814815
ZYDIS_MNEMONIC_SETS,
815816
ZYDIS_MNEMONIC_SETSSBSY,
816817
ZYDIS_MNEMONIC_SETZ,
818+
ZYDIS_MNEMONIC_SETZUB,
819+
ZYDIS_MNEMONIC_SETZUBE,
820+
ZYDIS_MNEMONIC_SETZUL,
821+
ZYDIS_MNEMONIC_SETZULE,
822+
ZYDIS_MNEMONIC_SETZUNB,
823+
ZYDIS_MNEMONIC_SETZUNBE,
824+
ZYDIS_MNEMONIC_SETZUNL,
825+
ZYDIS_MNEMONIC_SETZUNLE,
826+
ZYDIS_MNEMONIC_SETZUNO,
827+
ZYDIS_MNEMONIC_SETZUNP,
828+
ZYDIS_MNEMONIC_SETZUNS,
829+
ZYDIS_MNEMONIC_SETZUNZ,
830+
ZYDIS_MNEMONIC_SETZUO,
831+
ZYDIS_MNEMONIC_SETZUP,
832+
ZYDIS_MNEMONIC_SETZUS,
833+
ZYDIS_MNEMONIC_SETZUZ,
817834
ZYDIS_MNEMONIC_SFENCE,
818835
ZYDIS_MNEMONIC_SGDT,
819836
ZYDIS_MNEMONIC_SHA1MSG1,
@@ -865,8 +882,6 @@ typedef enum ZydisMnemonic_
865882
ZYDIS_MNEMONIC_SYSEXIT,
866883
ZYDIS_MNEMONIC_SYSRET,
867884
ZYDIS_MNEMONIC_T1MSKC,
868-
ZYDIS_MNEMONIC_TCMMIMFP16PS,
869-
ZYDIS_MNEMONIC_TCMMRLFP16PS,
870885
ZYDIS_MNEMONIC_TDCALL,
871886
ZYDIS_MNEMONIC_TDPBF16PS,
872887
ZYDIS_MNEMONIC_TDPBSSD,

src/Decoder.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5156,9 +5156,6 @@ static ZyanStatus ZydisDecodeInstruction(ZydisDecoderState* state,
51565156
case ZYDIS_NODETYPE_FILTER_REX2_PREFIX:
51575157
index = !!(instruction->attributes & ZYDIS_ATTRIB_HAS_REX2);
51585158
break;
5159-
case ZYDIS_NODETYPE_FILTER_MODE_UD0_COMPAT:
5160-
index = !!(state->decoder->decoder_mode & (1 << ZYDIS_DECODER_MODE_UD0_COMPAT));
5161-
break;
51625159
default:
51635160
if (node_type & ZYDIS_NODETYPE_DEFINITION_MASK)
51645161
{

src/Generated/DecoderTables.inc

Lines changed: 8833 additions & 5251 deletions
Large diffs are not rendered by default.

src/Generated/EnumISAExt.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ static const char* STR_ISAEXT[] =
66
"AMD3DNOW",
77
"AMD3DNOW_PREFETCH",
88
"AMD_INVLPGB",
9+
"AMX_BF16",
910
"AMX_FP16",
1011
"AMX_INT8",
1112
"AMX_TILE",
@@ -31,7 +32,6 @@ static const char* STR_ISAEXT[] =
3132
"CLFSH",
3233
"CLWB",
3334
"CLZERO",
34-
"CMPCCXADD",
3535
"ENQCMD",
3636
"F16C",
3737
"FMA",

src/Generated/EnumISASet.inc

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ static const char* STR_ISASET[] =
77
"AMD3DNOW",
88
"AMD_INVLPGB",
99
"AMX_BF16",
10-
"AMX_COMPLEX",
1110
"AMX_FP16",
1211
"AMX_INT8",
1312
"AMX_TILE",
@@ -20,8 +19,6 @@ static const char* STR_ISASET[] =
2019
"APX_F_CMPCCXADD",
2120
"APX_F_ENQCMD",
2221
"APX_F_INVPCID",
23-
"APX_F_KEYLOCKER",
24-
"APX_F_KEYLOCKER_WIDE",
2522
"APX_F_KOPB",
2623
"APX_F_KOPD",
2724
"APX_F_KOPQ",
@@ -30,8 +27,8 @@ static const char* STR_ISASET[] =
3027
"APX_F_MOVBE",
3128
"APX_F_MOVDIR64B",
3229
"APX_F_MOVDIRI",
30+
"APX_F_POPCNT",
3331
"APX_F_RAO_INT",
34-
"APX_F_SHA",
3532
"APX_F_USER_MSR",
3633
"APX_F_VMX",
3734
"AVX",
@@ -57,7 +54,7 @@ static const char* STR_ISASET[] =
5754
"AVX512F_128N",
5855
"AVX512F_256",
5956
"AVX512F_512",
60-
"AVX512F_KOPW",
57+
"AVX512F_KOP",
6158
"AVX512F_SCALAR",
6259
"AVX512PF_512",
6360
"AVX512_4FMAPS_512",
@@ -117,7 +114,6 @@ static const char* STR_ISASET[] =
117114
"CLWB",
118115
"CLZERO",
119116
"CMOV",
120-
"CMPCCXADD",
121117
"CMPXCHG16B",
122118
"ENQCMD",
123119
"F16C",
@@ -157,8 +153,7 @@ static const char* STR_ISASET[] =
157153
"MONITOR",
158154
"MONITORX",
159155
"MOVBE",
160-
"MOVDIR64B",
161-
"MOVDIRI",
156+
"MOVDIR",
162157
"MPX",
163158
"MSRLIST",
164159
"PADLOCK_ACE",

src/Generated/EnumMnemonic.inc

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ static const ZydisShortString STR_MNEMONIC[] =
346346
ZYDIS_MAKE_SHORTSTRING("hsubps"),
347347
ZYDIS_MAKE_SHORTSTRING("idiv"),
348348
ZYDIS_MAKE_SHORTSTRING("imul"),
349+
ZYDIS_MAKE_SHORTSTRING("imulzu"),
349350
ZYDIS_MAKE_SHORTSTRING("in"),
350351
ZYDIS_MAKE_SHORTSTRING("inc"),
351352
ZYDIS_MAKE_SHORTSTRING("incsspd"),
@@ -811,6 +812,22 @@ static const ZydisShortString STR_MNEMONIC[] =
811812
ZYDIS_MAKE_SHORTSTRING("sets"),
812813
ZYDIS_MAKE_SHORTSTRING("setssbsy"),
813814
ZYDIS_MAKE_SHORTSTRING("setz"),
815+
ZYDIS_MAKE_SHORTSTRING("setzub"),
816+
ZYDIS_MAKE_SHORTSTRING("setzube"),
817+
ZYDIS_MAKE_SHORTSTRING("setzul"),
818+
ZYDIS_MAKE_SHORTSTRING("setzule"),
819+
ZYDIS_MAKE_SHORTSTRING("setzunb"),
820+
ZYDIS_MAKE_SHORTSTRING("setzunbe"),
821+
ZYDIS_MAKE_SHORTSTRING("setzunl"),
822+
ZYDIS_MAKE_SHORTSTRING("setzunle"),
823+
ZYDIS_MAKE_SHORTSTRING("setzuno"),
824+
ZYDIS_MAKE_SHORTSTRING("setzunp"),
825+
ZYDIS_MAKE_SHORTSTRING("setzuns"),
826+
ZYDIS_MAKE_SHORTSTRING("setzunz"),
827+
ZYDIS_MAKE_SHORTSTRING("setzuo"),
828+
ZYDIS_MAKE_SHORTSTRING("setzup"),
829+
ZYDIS_MAKE_SHORTSTRING("setzus"),
830+
ZYDIS_MAKE_SHORTSTRING("setzuz"),
814831
ZYDIS_MAKE_SHORTSTRING("sfence"),
815832
ZYDIS_MAKE_SHORTSTRING("sgdt"),
816833
ZYDIS_MAKE_SHORTSTRING("sha1msg1"),
@@ -862,8 +879,6 @@ static const ZydisShortString STR_MNEMONIC[] =
862879
ZYDIS_MAKE_SHORTSTRING("sysexit"),
863880
ZYDIS_MAKE_SHORTSTRING("sysret"),
864881
ZYDIS_MAKE_SHORTSTRING("t1mskc"),
865-
ZYDIS_MAKE_SHORTSTRING("tcmmimfp16ps"),
866-
ZYDIS_MAKE_SHORTSTRING("tcmmrlfp16ps"),
867882
ZYDIS_MAKE_SHORTSTRING("tdcall"),
868883
ZYDIS_MAKE_SHORTSTRING("tdpbf16ps"),
869884
ZYDIS_MAKE_SHORTSTRING("tdpbssd"),

0 commit comments

Comments
 (0)