-
Notifications
You must be signed in to change notification settings - Fork 6
/
isaext_string.go
105 lines (99 loc) · 3.32 KB
/
isaext_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
// Code generated by "stringer -type=ISAExt -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[ISAExtInvalid-0]
_ = x[IsaExtADOX_ADCX-1]
_ = x[IsaExtAES-2]
_ = x[IsaExtAMD3DNOW-3]
_ = x[IsaExtAMD3DNOW_PREFETCH-4]
_ = x[IsaExtAMD_INVLPGB-5]
_ = x[IsaExtAMX_BF16-6]
_ = x[IsaExtAMX_INT8-7]
_ = x[IsaExtAMX_TILE-8]
_ = x[IsaExtAVX-9]
_ = x[IsaExtAVX2-10]
_ = x[IsaExtAVX2GATHER-11]
_ = x[IsaExtAVX512EVEX-12]
_ = x[IsaExtAVX512VEX-13]
_ = x[IsaExtAVXAES-14]
_ = x[IsaExtBASE-15]
_ = x[IsaExtBMI1-16]
_ = x[IsaExtBMI2-17]
_ = x[IsaExtCET-18]
_ = x[IsaExtCLDEMOTE-19]
_ = x[IsaExtCLFLUSHOPT-20]
_ = x[IsaExtCLFSH-21]
_ = x[IsaExtCLWB-22]
_ = x[IsaExtCLZERO-23]
_ = x[IsaExtENQCMD-24]
_ = x[IsaExtF16C-25]
_ = x[IsaExtFMA-26]
_ = x[IsaExtFMA4-27]
_ = x[IsaExtGFNI-28]
_ = x[IsaExtINVPCID-29]
_ = x[IsaExtKNC-30]
_ = x[IsaExtKNCE-31]
_ = x[IsaExtKNCV-32]
_ = x[IsaExtLONGMODE-33]
_ = x[IsaExtLZCNT-34]
_ = x[IsaExtMCOMMIT-35]
_ = x[IsaExtMMX-36]
_ = x[IsaExtMONITOR-37]
_ = x[IsaExtMONITORX-38]
_ = x[IsaExtMOVBE-39]
_ = x[IsaExtMOVDIR-40]
_ = x[IsaExtMPX-41]
_ = x[IsaExtPADLOCK-42]
_ = x[IsaExtPAUSE-43]
_ = x[IsaExtPCLMULQDQ-44]
_ = x[IsaExtPCONFIG-45]
_ = x[IsaExtPKU-46]
_ = x[IsaExtPREFETCHWT1-47]
_ = x[IsaExtPT-48]
_ = x[IsaExtRDPID-49]
_ = x[IsaExtRDPRU-50]
_ = x[IsaExtRDRAND-51]
_ = x[IsaExtRDSEED-52]
_ = x[IsaExtRDTSCP-53]
_ = x[IsaExtRDWRFSGS-54]
_ = x[IsaExtRTM-55]
_ = x[IsaExtSERIALIZE-56]
_ = x[IsaExtSGX-57]
_ = x[IsaExtSGX_ENCLV-58]
_ = x[IsaExtSHA-59]
_ = x[IsaExtSMAP-60]
_ = x[IsaExtSMX-61]
_ = x[IsaExtSNP-62]
_ = x[IsaExtSSE-63]
_ = x[IsaExtSSE2-64]
_ = x[IsaExtSSE3-65]
_ = x[IsaExtSSE4-66]
_ = x[IsaExtSSE4A-67]
_ = x[IsaExtSSSE3-68]
_ = x[IsaExtSVM-69]
_ = x[IsaExtTBM-70]
_ = x[IsaExtTSX_LDTRK-71]
_ = x[IsaExtVAES-72]
_ = x[IsaExtVMFUNC-73]
_ = x[IsaExtVPCLMULQDQ-74]
_ = x[IsaExtVTX-75]
_ = x[IsaExtWAITPKG-76]
_ = x[IsaExtX87-77]
_ = x[IsaExtXOP-78]
_ = x[IsaExtXSAVE-79]
_ = x[IsaExtXSAVEC-80]
_ = x[IsaExtXSAVEOPT-81]
_ = x[IsaExtXSAVES-82]
}
const _ISAExt_name = "INVALIDADOX_ADCXAESAMD3DNOWAMD3DNOW_PREFETCHAMD_INVLPGBAMX_BF16AMX_INT8AMX_TILEAVXAVX2AVX2GATHERAVX512EVEXAVX512VEXAVXAESBASEBMI1BMI2CETCLDEMOTECLFLUSHOPTCLFSHCLWBCLZEROENQCMDF16CFMAFMA4GFNIINVPCIDKNCKNCEKNCVLONGMODELZCNTMCOMMITMMXMONITORMONITORXMOVBEMOVDIRMPXPADLOCKPAUSEPCLMULQDQPCONFIGPKUPREFETCHWT1PTRDPIDRDPRURDRANDRDSEEDRDTSCPRDWRFSGSRTMSERIALIZESGXSGX_ENCLVSHASMAPSMXSNPSSESSE2SSE3SSE4SSE4ASSSE3SVMTBMTSX_LDTRKVAESVMFUNCVPCLMULQDQVTXWAITPKGX87XOPXSAVEXSAVECXSAVEOPTXSAVES"
var _ISAExt_index = [...]uint16{0, 7, 16, 19, 27, 44, 55, 63, 71, 79, 82, 86, 96, 106, 115, 121, 125, 129, 133, 136, 144, 154, 159, 163, 169, 175, 179, 182, 186, 190, 197, 200, 204, 208, 216, 221, 228, 231, 238, 246, 251, 257, 260, 267, 272, 281, 288, 291, 302, 304, 309, 314, 320, 326, 332, 340, 343, 352, 355, 364, 367, 371, 374, 377, 380, 384, 388, 392, 397, 402, 405, 408, 417, 421, 427, 437, 440, 447, 450, 453, 458, 464, 472, 478}
func (i ISAExt) String() string {
if i < 0 || i >= ISAExt(len(_ISAExt_index)-1) {
return "ISAExt(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _ISAExt_name[_ISAExt_index[i]:_ISAExt_index[i+1]]
}