Skip to content

Commit 545776c

Browse files
authored
Align thunk gen formating with dotnet-format (#128785)
While working on new instructions, I noticed inconsistent formatting with dotnet-format. This PR updates the thunk generator so it produces properly formatted code from the get go.
1 parent 9bde778 commit 545776c

4 files changed

Lines changed: 1337 additions & 1343 deletions

File tree

src/coreclr/tools/Common/Internal/Runtime/ReadyToRunInstructionSet.cs

Lines changed: 89 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -12,95 +12,94 @@ namespace Internal.ReadyToRunConstants
1212
{
1313
public enum ReadyToRunInstructionSet
1414
{
15-
Sse=1,
16-
Sse2=2,
17-
Sse3=3,
18-
Ssse3=4,
19-
Sse41=5,
20-
Sse42=6,
21-
Avx=7,
22-
Avx2=8,
23-
Aes=9,
24-
Bmi1=10,
25-
Bmi2=11,
26-
Fma=12,
27-
Lzcnt=13,
28-
Pclmulqdq=14,
29-
Popcnt=15,
30-
ArmBase=16,
31-
AdvSimd=17,
32-
Crc32=18,
33-
Sha1=19,
34-
Sha256=20,
35-
Atomics=21,
36-
X86Base=22,
37-
Dp=23,
38-
Rdm=24,
39-
AvxVnni=25,
40-
Rcpc=26,
41-
Movbe=27,
42-
X86Serialize=28,
43-
Avx512F=29,
44-
Avx512F_VL=30,
45-
Avx512BW=31,
46-
Avx512BW_VL=32,
47-
Avx512CD=33,
48-
Avx512CD_VL=34,
49-
Avx512DQ=35,
50-
Avx512DQ_VL=36,
51-
Avx512Vbmi=37,
52-
Avx512Vbmi_VL=38,
53-
VectorT128=39,
54-
VectorT256=40,
55-
VectorT512=41,
56-
Rcpc2=42,
57-
Sve=43,
58-
Avx10v1=44,
59-
Avx10v1_V512=46,
60-
Evex=47,
61-
Apx=48,
62-
Pclmulqdq_V256=49,
63-
Pclmulqdq_V512=50,
64-
Avx10v2=51,
65-
Avx10v2_V512=52,
66-
Gfni=53,
67-
Gfni_V256=54,
68-
Gfni_V512=55,
69-
RiscV64Base=56,
70-
Zba=57,
71-
Zbb=58,
72-
Sve2=59,
73-
AvxVnniInt8=60,
74-
AvxVnniInt8_V512=61,
75-
AvxVnniInt16=62,
76-
AvxVnniInt16_V512=63,
77-
Aes_V256=64,
78-
Aes_V512=65,
79-
AvxIfma=66,
80-
F16C=67,
81-
Sha=68,
82-
WaitPkg=69,
83-
Avx512Bitalg=70,
84-
Avx512Bitalg_VL=71,
85-
Avx512Bf16=72,
86-
Avx512Bf16_VL=73,
87-
Avx512Fp16=74,
88-
Avx512Fp16_VL=75,
89-
Avx512Ifma=76,
90-
Avx512Vbmi2=77,
91-
Avx512Vbmi2_VL=78,
92-
Avx512Vnni=79,
93-
Avx512Vp2intersect=80,
94-
Avx512Vp2intersect_VL=81,
95-
Avx512Vpopcntdq=82,
96-
Avx512Vpopcntdq_VL=83,
97-
Zbs=84,
98-
Avx512Bmm=85,
99-
Sha3=86,
100-
Sm4=87,
101-
SveAes=88,
102-
SveSha3=89,
103-
SveSm4=90,
104-
15+
Sse = 1,
16+
Sse2 = 2,
17+
Sse3 = 3,
18+
Ssse3 = 4,
19+
Sse41 = 5,
20+
Sse42 = 6,
21+
Avx = 7,
22+
Avx2 = 8,
23+
Aes = 9,
24+
Bmi1 = 10,
25+
Bmi2 = 11,
26+
Fma = 12,
27+
Lzcnt = 13,
28+
Pclmulqdq = 14,
29+
Popcnt = 15,
30+
ArmBase = 16,
31+
AdvSimd = 17,
32+
Crc32 = 18,
33+
Sha1 = 19,
34+
Sha256 = 20,
35+
Atomics = 21,
36+
X86Base = 22,
37+
Dp = 23,
38+
Rdm = 24,
39+
AvxVnni = 25,
40+
Rcpc = 26,
41+
Movbe = 27,
42+
X86Serialize = 28,
43+
Avx512F = 29,
44+
Avx512F_VL = 30,
45+
Avx512BW = 31,
46+
Avx512BW_VL = 32,
47+
Avx512CD = 33,
48+
Avx512CD_VL = 34,
49+
Avx512DQ = 35,
50+
Avx512DQ_VL = 36,
51+
Avx512Vbmi = 37,
52+
Avx512Vbmi_VL = 38,
53+
VectorT128 = 39,
54+
VectorT256 = 40,
55+
VectorT512 = 41,
56+
Rcpc2 = 42,
57+
Sve = 43,
58+
Avx10v1 = 44,
59+
Avx10v1_V512 = 46,
60+
Evex = 47,
61+
Apx = 48,
62+
Pclmulqdq_V256 = 49,
63+
Pclmulqdq_V512 = 50,
64+
Avx10v2 = 51,
65+
Avx10v2_V512 = 52,
66+
Gfni = 53,
67+
Gfni_V256 = 54,
68+
Gfni_V512 = 55,
69+
RiscV64Base = 56,
70+
Zba = 57,
71+
Zbb = 58,
72+
Sve2 = 59,
73+
AvxVnniInt8 = 60,
74+
AvxVnniInt8_V512 = 61,
75+
AvxVnniInt16 = 62,
76+
AvxVnniInt16_V512 = 63,
77+
Aes_V256 = 64,
78+
Aes_V512 = 65,
79+
AvxIfma = 66,
80+
F16C = 67,
81+
Sha = 68,
82+
WaitPkg = 69,
83+
Avx512Bitalg = 70,
84+
Avx512Bitalg_VL = 71,
85+
Avx512Bf16 = 72,
86+
Avx512Bf16_VL = 73,
87+
Avx512Fp16 = 74,
88+
Avx512Fp16_VL = 75,
89+
Avx512Ifma = 76,
90+
Avx512Vbmi2 = 77,
91+
Avx512Vbmi2_VL = 78,
92+
Avx512Vnni = 79,
93+
Avx512Vp2intersect = 80,
94+
Avx512Vp2intersect_VL = 81,
95+
Avx512Vpopcntdq = 82,
96+
Avx512Vpopcntdq_VL = 83,
97+
Zbs = 84,
98+
Avx512Bmm = 85,
99+
Sha3 = 86,
100+
Sm4 = 87,
101+
SveAes = 88,
102+
SveSha3 = 89,
103+
SveSm4 = 90,
105104
}
106105
}

0 commit comments

Comments
 (0)