-
Notifications
You must be signed in to change notification settings - Fork 6
/
isaset_string.go
191 lines (185 loc) · 7.56 KB
/
isaset_string.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
// Code generated by "stringer -type=ISASet -linecomment"; DO NOT EDIT.
package zydis
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ISASetInvalid-0]
_ = x[ISASetADOX_ADCX-1]
_ = x[ISASetAES-2]
_ = x[ISASetAMD-3]
_ = x[ISASetAMD3DNOW-4]
_ = x[ISASetAMX_BF16-5]
_ = x[ISASetAMX_INT8-6]
_ = x[ISASetAMX_TILE-7]
_ = x[ISASetAVX-8]
_ = x[ISASetAVX2-9]
_ = x[ISASetAVX2GATHER-10]
_ = x[ISASetAVX512BW_128-11]
_ = x[ISASetAVX512BW_128N-12]
_ = x[ISASetAVX512BW_256-13]
_ = x[ISASetAVX512BW_512-14]
_ = x[ISASetAVX512BW_KOP-15]
_ = x[ISASetAVX512CD_128-16]
_ = x[ISASetAVX512CD_256-17]
_ = x[ISASetAVX512CD_512-18]
_ = x[ISASetAVX512DQ_128-19]
_ = x[ISASetAVX512DQ_128N-20]
_ = x[ISASetAVX512DQ_256-21]
_ = x[ISASetAVX512DQ_512-22]
_ = x[ISASetAVX512DQ_KOP-23]
_ = x[ISASetAVX512DQ_SCALAR-24]
_ = x[ISASetAVX512ER_512-25]
_ = x[ISASetAVX512ER_SCALAR-26]
_ = x[ISASetAVX512F_128-27]
_ = x[ISASetAVX512F_128N-28]
_ = x[ISASetAVX512F_256-29]
_ = x[ISASetAVX512F_512-30]
_ = x[ISASetAVX512F_KOP-31]
_ = x[ISASetAVX512F_SCALAR-32]
_ = x[ISASetAVX512PF_512-33]
_ = x[ISASetAVX512_4FMAPS_512-34]
_ = x[ISASetAVX512_4FMAPS_SCALAR-35]
_ = x[ISASetAVX512_4VNNIW_512-36]
_ = x[ISASetAVX512_BF16_128-37]
_ = x[ISASetAVX512_BF16_256-38]
_ = x[ISASetAVX512_BF16_512-39]
_ = x[ISASetAVX512_BITALG_128-40]
_ = x[ISASetAVX512_BITALG_256-41]
_ = x[ISASetAVX512_BITALG_512-42]
_ = x[ISASetAVX512_GFNI_128-43]
_ = x[ISASetAVX512_GFNI_256-44]
_ = x[ISASetAVX512_GFNI_512-45]
_ = x[ISASetAVX512_IFMA_128-46]
_ = x[ISASetAVX512_IFMA_256-47]
_ = x[ISASetAVX512_IFMA_512-48]
_ = x[ISASetAVX512_VAES_128-49]
_ = x[ISASetAVX512_VAES_256-50]
_ = x[ISASetAVX512_VAES_512-51]
_ = x[ISASetAVX512_VBMI2_128-52]
_ = x[ISASetAVX512_VBMI2_256-53]
_ = x[ISASetAVX512_VBMI2_512-54]
_ = x[ISASetAVX512_VBMI_128-55]
_ = x[ISASetAVX512_VBMI_256-56]
_ = x[ISASetAVX512_VBMI_512-57]
_ = x[ISASetAVX512_VNNI_128-58]
_ = x[ISASetAVX512_VNNI_256-59]
_ = x[ISASetAVX512_VNNI_512-60]
_ = x[ISASetAVX512_VP2INTERSECT_128-61]
_ = x[ISASetAVX512_VP2INTERSECT_256-62]
_ = x[ISASetAVX512_VP2INTERSECT_512-63]
_ = x[ISASetAVX512_VPCLMULQDQ_128-64]
_ = x[ISASetAVX512_VPCLMULQDQ_256-65]
_ = x[ISASetAVX512_VPCLMULQDQ_512-66]
_ = x[ISASetAVX512_VPOPCNTDQ_128-67]
_ = x[ISASetAVX512_VPOPCNTDQ_256-68]
_ = x[ISASetAVX512_VPOPCNTDQ_512-69]
_ = x[ISASetAVXAES-70]
_ = x[ISASetAVX_GFNI-71]
_ = x[ISASetBMI1-72]
_ = x[ISASetBMI2-73]
_ = x[ISASetCET-74]
_ = x[ISASetCLDEMOTE-75]
_ = x[ISASetCLFLUSHOPT-76]
_ = x[ISASetCLFSH-77]
_ = x[ISASetCLWB-78]
_ = x[ISASetCLZERO-79]
_ = x[ISASetCMOV-80]
_ = x[ISASetCMPXCHG16B-81]
_ = x[ISASetENQCMD-82]
_ = x[ISASetF16C-83]
_ = x[ISASetFAT_NOP-84]
_ = x[ISASetFCMOV-85]
_ = x[ISASetFMA-86]
_ = x[ISASetFMA4-87]
_ = x[ISASetFXSAVE-88]
_ = x[ISASetFXSAVE64-89]
_ = x[ISASetGFNI-90]
_ = x[ISASetI186-91]
_ = x[ISASetI286PROTECTED-92]
_ = x[ISASetI286REAL-93]
_ = x[ISASetI386-94]
_ = x[ISASetI486-95]
_ = x[ISASetI486REAL-96]
_ = x[ISASetI86-97]
_ = x[ISASetINVPCID-98]
_ = x[ISASetKNCE-99]
_ = x[ISASetKNCJKBR-100]
_ = x[ISASetKNCSTREAM-101]
_ = x[ISASetKNCV-102]
_ = x[ISASetKNC_MISC-103]
_ = x[ISASetKNC_PF_HINT-104]
_ = x[ISASetLAHF-105]
_ = x[ISASetLONGMODE-106]
_ = x[ISASetLZCNT-107]
_ = x[ISASetMCOMMIT-108]
_ = x[ISASetMONITOR-109]
_ = x[ISASetMONITORX-110]
_ = x[ISASetMOVBE-111]
_ = x[ISASetMOVDIR-112]
_ = x[ISASetMPX-113]
_ = x[ISASetPADLOCK_ACE-114]
_ = x[ISASetPADLOCK_PHE-115]
_ = x[ISASetPADLOCK_PMM-116]
_ = x[ISASetPADLOCK_RNG-117]
_ = x[ISASetPAUSE-118]
_ = x[ISASetPCLMULQDQ-119]
_ = x[ISASetPCONFIG-120]
_ = x[ISASetPENTIUMMMX-121]
_ = x[ISASetPENTIUMREAL-122]
_ = x[ISASetPKU-123]
_ = x[ISASetPOPCNT-124]
_ = x[ISASetPPRO-125]
_ = x[ISASetPREFETCHWT1-126]
_ = x[ISASetPREFETCH_NOP-127]
_ = x[ISASetPT-128]
_ = x[ISASetRDPID-129]
_ = x[ISASetRDPMC-130]
_ = x[ISASetRDPRU-131]
_ = x[ISASetRDRAND-132]
_ = x[ISASetRDSEED-133]
_ = x[ISASetRDTSCP-134]
_ = x[ISASetRDWRFSGS-135]
_ = x[ISASetRTM-136]
_ = x[ISASetSERIALIZE-137]
_ = x[ISASetSGX-138]
_ = x[ISASetSGX_ENCLV-139]
_ = x[ISASetSHA-140]
_ = x[ISASetSMAP-141]
_ = x[ISASetSMX-142]
_ = x[ISASetSSE-143]
_ = x[ISASetSSE2-144]
_ = x[ISASetSSE2MMX-145]
_ = x[ISASetSSE3-146]
_ = x[ISASetSSE3X87-147]
_ = x[ISASetSSE4-148]
_ = x[ISASetSSE42-149]
_ = x[ISASetSSE4A-150]
_ = x[ISASetSSEMXCSR-151]
_ = x[ISASetSSE_PREFETCH-152]
_ = x[ISASetSSSE3-153]
_ = x[ISASetSSSE3MMX-154]
_ = x[ISASetSVM-155]
_ = x[ISASetTBM-156]
_ = x[ISASetTSX_LDTRK-157]
_ = x[ISASetVAES-158]
_ = x[ISASetVMFUNC-159]
_ = x[ISASetVPCLMULQDQ-160]
_ = x[ISASetVTX-161]
_ = x[ISASetWAITPKG-162]
_ = x[ISASetX87-163]
_ = x[ISASetXOP-164]
_ = x[ISASetXSAVE-165]
_ = x[ISASetXSAVEC-166]
_ = x[ISASetXSAVEOPT-167]
_ = x[ISASetXSAVES-168]
}
const _ISASet_name = "INVALIDADOX_ADCXAESAMDAMD3DNOWAMX_BF16AMX_INT8AMX_TILEAVXAVX2AVX2GATHERAVX512BW_128AVX512BW_128NAVX512BW_256AVX512BW_512AVX512BW_KOPAVX512CD_128AVX512CD_256AVX512CD_512AVX512DQ_128AVX512DQ_128NAVX512DQ_256AVX512DQ_512AVX512DQ_KOPAVX512DQ_SCALARAVX512ER_512AVX512ER_SCALARAVX512F_128AVX512F_128NAVX512F_256AVX512F_512AVX512F_KOPAVX512F_SCALARAVX512PF_512AVX512_4FMAPS_512AVX512_4FMAPS_SCALARAVX512_4VNNIW_512AVX512_BF16_128AVX512_BF16_256AVX512_BF16_512AVX512_BITALG_128AVX512_BITALG_256AVX512_BITALG_512AVX512_GFNI_128AVX512_GFNI_256AVX512_GFNI_512AVX512_IFMA_128AVX512_IFMA_256AVX512_IFMA_512AVX512_VAES_128AVX512_VAES_256AVX512_VAES_512AVX512_VBMI2_128AVX512_VBMI2_256AVX512_VBMI2_512AVX512_VBMI_128AVX512_VBMI_256AVX512_VBMI_512AVX512_VNNI_128AVX512_VNNI_256AVX512_VNNI_512AVX512_VP2INTERSECT_128AVX512_VP2INTERSECT_256AVX512_VP2INTERSECT_512AVX512_VPCLMULQDQ_128AVX512_VPCLMULQDQ_256AVX512_VPCLMULQDQ_512AVX512_VPOPCNTDQ_128AVX512_VPOPCNTDQ_256AVX512_VPOPCNTDQ_512AVXAESAVX_GFNIBMI1BMI2CETCLDEMOTECLFLUSHOPTCLFSHCLWBCLZEROCMOVCMPXCHG16BENQCMDF16CFAT_NOPFCMOVFMAFMA4FXSAVEFXSAVE64GFNII186I286PROTECTEDI286REALI386I486I486REALI86INVPCIDKNCEKNCJKBRKNCSTREAMKNCVKNC_MISCKNC_PF_HINTLAHFLONGMODELZCNTMCOMMITMONITORMONITORXMOVBEMOVDIRMPXPADLOCK_ACEPADLOCK_PHEPADLOCK_PMMPADLOCK_RNGPAUSEPCLMULQDQPCONFIGPENTIUMMMXPENTIUMREALPKUPOPCNTPPROPREFETCHWT1PREFETCH_NOPPTRDPIDRDPMCRDPRURDRANDRDSEEDRDTSCPRDWRFSGSRTMSERIALIZESGXSGX_ENCLVSHASMAPSMXSSESSE2SSE2MMXSSE3SSE3X87SSE4SSE42SSE4ASSEMXCSRSSE_PREFETCHSSSE3SSSE3MMXSVMTBMTSX_LDTRKVAESVMFUNCVPCLMULQDQVTXWAITPKGX87XOPXSAVEXSAVECXSAVEOPTXSAVES"
var _ISASet_index = [...]uint16{0, 7, 16, 19, 22, 30, 38, 46, 54, 57, 61, 71, 83, 96, 108, 120, 132, 144, 156, 168, 180, 193, 205, 217, 229, 244, 256, 271, 282, 294, 305, 316, 327, 341, 353, 370, 390, 407, 422, 437, 452, 469, 486, 503, 518, 533, 548, 563, 578, 593, 608, 623, 638, 654, 670, 686, 701, 716, 731, 746, 761, 776, 799, 822, 845, 866, 887, 908, 928, 948, 968, 974, 982, 986, 990, 993, 1001, 1011, 1016, 1020, 1026, 1030, 1040, 1046, 1050, 1057, 1062, 1065, 1069, 1075, 1083, 1087, 1091, 1104, 1112, 1116, 1120, 1128, 1131, 1138, 1142, 1149, 1158, 1162, 1170, 1181, 1185, 1193, 1198, 1205, 1212, 1220, 1225, 1231, 1234, 1245, 1256, 1267, 1278, 1283, 1292, 1299, 1309, 1320, 1323, 1329, 1333, 1344, 1356, 1358, 1363, 1368, 1373, 1379, 1385, 1391, 1399, 1402, 1411, 1414, 1423, 1426, 1430, 1433, 1436, 1440, 1447, 1451, 1458, 1462, 1467, 1472, 1480, 1492, 1497, 1505, 1508, 1511, 1520, 1524, 1530, 1540, 1543, 1550, 1553, 1556, 1561, 1567, 1575, 1581}
func (i ISASet) String() string {
if i < 0 || i >= ISASet(len(_ISASet_index)-1) {
return "ISASet(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _ISASet_name[_ISASet_index[i]:_ISASet_index[i+1]]
}