-
Notifications
You must be signed in to change notification settings - Fork 6
/
instructioncategory_string.go
124 lines (118 loc) · 5.48 KB
/
instructioncategory_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
// Code generated by "stringer -type=InstructionCategory -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[InstructionCategoryInvalid-0]
_ = x[InstructionCategoryADOX_ADCX-1]
_ = x[InstructionCategoryAES-2]
_ = x[InstructionCategoryAMD3DNOW-3]
_ = x[InstructionCategoryAMX_TILE-4]
_ = x[InstructionCategoryAVX-5]
_ = x[InstructionCategoryAVX2-6]
_ = x[InstructionCategoryAVX2GATHER-7]
_ = x[InstructionCategoryAVX512-8]
_ = x[InstructionCategoryAVX512_4FMAPS-9]
_ = x[InstructionCategoryAVX512_4VNNIW-10]
_ = x[InstructionCategoryAVX512_BITALG-11]
_ = x[InstructionCategoryAVX512_VBMI-12]
_ = x[InstructionCategoryAVX512_VP2INTERSECT-13]
_ = x[InstructionCategoryBINARY-14]
_ = x[InstructionCategoryBITBYTE-15]
_ = x[InstructionCategoryBLEND-16]
_ = x[InstructionCategoryBMI1-17]
_ = x[InstructionCategoryBMI2-18]
_ = x[InstructionCategoryBROADCAST-19]
_ = x[InstructionCategoryCALL-20]
_ = x[InstructionCategoryCET-21]
_ = x[InstructionCategoryCLDEMOTE-22]
_ = x[InstructionCategoryCLFLUSHOPT-23]
_ = x[InstructionCategoryCLWB-24]
_ = x[InstructionCategoryCLZERO-25]
_ = x[InstructionCategoryCMOV-26]
_ = x[InstructionCategoryCOMPRESS-27]
_ = x[InstructionCategoryCOND_BR-28]
_ = x[InstructionCategoryCONFLICT-29]
_ = x[InstructionCategoryCONVERT-30]
_ = x[InstructionCategoryDATAXFER-31]
_ = x[InstructionCategoryDECIMAL-32]
_ = x[InstructionCategoryENQCMD-33]
_ = x[InstructionCategoryEXPAND-34]
_ = x[InstructionCategoryFCMOV-35]
_ = x[InstructionCategoryFLAGOP-36]
_ = x[InstructionCategoryFMA4-37]
_ = x[InstructionCategoryGATHER-38]
_ = x[InstructionCategoryGFNI-39]
_ = x[InstructionCategoryIFMA-40]
_ = x[InstructionCategoryINTERRUPT-41]
_ = x[InstructionCategoryIO-42]
_ = x[InstructionCategoryIOSTRINGOP-43]
_ = x[InstructionCategoryKMASK-44]
_ = x[InstructionCategoryKNC-45]
_ = x[InstructionCategoryKNCMASK-46]
_ = x[InstructionCategoryKNCSCALAR-47]
_ = x[InstructionCategoryLOGICAL-48]
_ = x[InstructionCategoryLOGICAL_FP-49]
_ = x[InstructionCategoryLZCNT-50]
_ = x[InstructionCategoryMISC-51]
_ = x[InstructionCategoryMMX-52]
_ = x[InstructionCategoryMOVDIR-53]
_ = x[InstructionCategoryMPX-54]
_ = x[InstructionCategoryNOP-55]
_ = x[InstructionCategoryPADLOCK-56]
_ = x[InstructionCategoryPCLMULQDQ-57]
_ = x[InstructionCategoryPCONFIG-58]
_ = x[InstructionCategoryPKU-59]
_ = x[InstructionCategoryPOP-60]
_ = x[InstructionCategoryPREFETCH-61]
_ = x[InstructionCategoryPREFETCHWT1-62]
_ = x[InstructionCategoryPT-63]
_ = x[InstructionCategoryPUSH-64]
_ = x[InstructionCategoryRDPID-65]
_ = x[InstructionCategoryRDPRU-66]
_ = x[InstructionCategoryRDRAND-67]
_ = x[InstructionCategoryRDSEED-68]
_ = x[InstructionCategoryRDWRFSGS-69]
_ = x[InstructionCategoryRET-70]
_ = x[InstructionCategoryROTATE-71]
_ = x[InstructionCategorySCATTER-72]
_ = x[InstructionCategorySEGOP-73]
_ = x[InstructionCategorySEMAPHORE-74]
_ = x[InstructionCategorySERIALIZE-75]
_ = x[InstructionCategorySETCC-76]
_ = x[InstructionCategorySGX-77]
_ = x[InstructionCategorySHA-78]
_ = x[InstructionCategorySHIFT-79]
_ = x[InstructionCategorySMAP-80]
_ = x[InstructionCategorySSE-81]
_ = x[InstructionCategorySTRINGOP-82]
_ = x[InstructionCategorySTTNI-83]
_ = x[InstructionCategorySYSCALL-84]
_ = x[InstructionCategorySYSRET-85]
_ = x[InstructionCategorySYSTEM-86]
_ = x[InstructionCategoryTBM-87]
_ = x[InstructionCategoryTSX_LDTRK-88]
_ = x[InstructionCategoryUFMA-89]
_ = x[InstructionCategoryUNCOND_BR-90]
_ = x[InstructionCategoryVAES-91]
_ = x[InstructionCategoryVBMI2-92]
_ = x[InstructionCategoryVFMA-93]
_ = x[InstructionCategoryVPCLMULQDQ-94]
_ = x[InstructionCategoryVTX-95]
_ = x[InstructionCategoryWAITPKG-96]
_ = x[InstructionCategoryWIDENOP-97]
_ = x[InstructionCategoryX87_ALU-98]
_ = x[InstructionCategoryXOP-99]
_ = x[InstructionCategoryXSAVE-100]
_ = x[InstructionCategoryXSAVEOPT-101]
}
const _InstructionCategory_name = "INVALIDADOX_ADCXAESAMD3DNOWAMX_TILEAVXAVX2AVX2GATHERAVX512AVX512_4FMAPSAVX512_4VNNIWAVX512_BITALGAVX512_VBMIAVX512_VP2INTERSECTBINARYBITBYTEBLENDBMI1BMI2BROADCASTCALLCETCLDEMOTECLFLUSHOPTCLWBCLZEROCMOVCOMPRESSCOND_BRCONFLICTCONVERTDATAXFERDECIMALENQCMDEXPANDFCMOVFLAGOPFMA4GATHERGFNIIFMAINTERRUPTIOIOSTRINGOPKMASKKNCKNCMASKKNCSCALARLOGICALLOGICAL_FPLZCNTMISCMMXMOVDIRMPXNOPPADLOCKPCLMULQDQPCONFIGPKUPOPPREFETCHPREFETCHWT1PTPUSHRDPIDRDPRURDRANDRDSEEDRDWRFSGSRETROTATESCATTERSEGOPSEMAPHORESERIALIZESETCCSGXSHASHIFTSMAPSSESTRINGOPSTTNISYSCALLSYSRETSYSTEMTBMTSX_LDTRKUFMAUNCOND_BRVAESVBMI2VFMAVPCLMULQDQVTXWAITPKGWIDENOPX87_ALUXOPXSAVEXSAVEOPT"
var _InstructionCategory_index = [...]uint16{0, 7, 16, 19, 27, 35, 38, 42, 52, 58, 71, 84, 97, 108, 127, 133, 140, 145, 149, 153, 162, 166, 169, 177, 187, 191, 197, 201, 209, 216, 224, 231, 239, 246, 252, 258, 263, 269, 273, 279, 283, 287, 296, 298, 308, 313, 316, 323, 332, 339, 349, 354, 358, 361, 367, 370, 373, 380, 389, 396, 399, 402, 410, 421, 423, 427, 432, 437, 443, 449, 457, 460, 466, 473, 478, 487, 496, 501, 504, 507, 512, 516, 519, 527, 532, 539, 545, 551, 554, 563, 567, 576, 580, 585, 589, 599, 602, 609, 616, 623, 626, 631, 639}
func (i InstructionCategory) String() string {
if i < 0 || i >= InstructionCategory(len(_InstructionCategory_index)-1) {
return "InstructionCategory(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _InstructionCategory_name[_InstructionCategory_index[i]:_InstructionCategory_index[i+1]]
}