1// Licensed to the .NET Foundation under one or more agreements.
2// The .NET Foundation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4
5/*******************************************************************************************
6 ** **
7 ** OpcodeMap.def - Mapping between opcodes in EE to opcodes in the state machine in JIT. **
8 ** **
9 *******************************************************************************************/
10
11//
12// EE opcode name EE opcode string State machine opcode name
13// -------------------------------------------------------------------------------------------------------------------------------------------------------
14OPCODEMAP(CEE_NOP, "nop", SM_NOSHOW)
15OPCODEMAP(CEE_BREAK, "break", SM_NOSHOW)
16OPCODEMAP(CEE_LDARG_0, "ldarg.0", SM_LDARG_0)
17OPCODEMAP(CEE_LDARG_1, "ldarg.1", SM_LDARG_1)
18OPCODEMAP(CEE_LDARG_2, "ldarg.2", SM_LDARG_2)
19OPCODEMAP(CEE_LDARG_3, "ldarg.3", SM_LDARG_3)
20OPCODEMAP(CEE_LDLOC_0, "ldloc.0", SM_LDLOC_0)
21OPCODEMAP(CEE_LDLOC_1, "ldloc.1", SM_LDLOC_1)
22OPCODEMAP(CEE_LDLOC_2, "ldloc.2", SM_LDLOC_2)
23OPCODEMAP(CEE_LDLOC_3, "ldloc.3", SM_LDLOC_3)
24OPCODEMAP(CEE_STLOC_0, "stloc.0", SM_STLOC_0)
25OPCODEMAP(CEE_STLOC_1, "stloc.1", SM_STLOC_1)
26OPCODEMAP(CEE_STLOC_2, "stloc.2", SM_STLOC_2)
27OPCODEMAP(CEE_STLOC_3, "stloc.3", SM_STLOC_3)
28OPCODEMAP(CEE_LDARG_S, "ldarg.s", SM_LDARG_S)
29OPCODEMAP(CEE_LDARGA_S, "ldarga.s", SM_LDARGA_S)
30OPCODEMAP(CEE_STARG_S, "starg.s", SM_STARG_S)
31OPCODEMAP(CEE_LDLOC_S, "ldloc.s", SM_LDLOC_S)
32OPCODEMAP(CEE_LDLOCA_S, "ldloca.s", SM_LDLOCA_S)
33OPCODEMAP(CEE_STLOC_S, "stloc.s", SM_STLOC_S)
34OPCODEMAP(CEE_LDNULL, "ldnull", SM_LDNULL)
35OPCODEMAP(CEE_LDC_I4_M1, "ldc.i4.m1", SM_LDC_I4_M1)
36OPCODEMAP(CEE_LDC_I4_0, "ldc.i4.0", SM_LDC_I4_0)
37OPCODEMAP(CEE_LDC_I4_1, "ldc.i4.1", SM_LDC_I4_1)
38OPCODEMAP(CEE_LDC_I4_2, "ldc.i4.2", SM_LDC_I4_2)
39OPCODEMAP(CEE_LDC_I4_3, "ldc.i4.3", SM_LDC_I4_3)
40OPCODEMAP(CEE_LDC_I4_4, "ldc.i4.4", SM_LDC_I4_4)
41OPCODEMAP(CEE_LDC_I4_5, "ldc.i4.5", SM_LDC_I4_5)
42OPCODEMAP(CEE_LDC_I4_6, "ldc.i4.6", SM_LDC_I4_6)
43OPCODEMAP(CEE_LDC_I4_7, "ldc.i4.7", SM_LDC_I4_7)
44OPCODEMAP(CEE_LDC_I4_8, "ldc.i4.8", SM_LDC_I4_8)
45OPCODEMAP(CEE_LDC_I4_S, "ldc.i4.s", SM_LDC_I4_S)
46OPCODEMAP(CEE_LDC_I4, "ldc.i4", SM_LDC_I4)
47OPCODEMAP(CEE_LDC_I8, "ldc.i8", SM_LDC_I8)
48OPCODEMAP(CEE_LDC_R4, "ldc.r4", SM_LDC_R4)
49OPCODEMAP(CEE_LDC_R8, "ldc.r8", SM_LDC_R8)
50OPCODEMAP(CEE_UNUSED49, "unused", SM_UNUSED)
51OPCODEMAP(CEE_DUP, "dup", SM_DUP)
52OPCODEMAP(CEE_POP, "pop", SM_POP)
53OPCODEMAP(CEE_JMP, "jmp", SM_NOSHOW)
54OPCODEMAP(CEE_CALL, "call", SM_CALL)
55OPCODEMAP(CEE_CALLI, "calli", SM_CALLI)
56OPCODEMAP(CEE_RET, "ret", SM_RET)
57OPCODEMAP(CEE_BR_S, "br.s", SM_BR_S)
58OPCODEMAP(CEE_BRFALSE_S, "brfalse.s", SM_BRFALSE_S)
59OPCODEMAP(CEE_BRTRUE_S, "brtrue.s", SM_BRTRUE_S)
60OPCODEMAP(CEE_BEQ_S, "beq.s", SM_BEQ_S)
61OPCODEMAP(CEE_BGE_S, "bge.s", SM_BGE_S)
62OPCODEMAP(CEE_BGT_S, "bgt.s", SM_BGT_S)
63OPCODEMAP(CEE_BLE_S, "ble.s", SM_BLE_S)
64OPCODEMAP(CEE_BLT_S, "blt.s", SM_BLT_S)
65OPCODEMAP(CEE_BNE_UN_S, "bne.un.s", SM_BNE_UN_S)
66OPCODEMAP(CEE_BGE_UN_S, "bge.un.s", SM_BGE_UN_S)
67OPCODEMAP(CEE_BGT_UN_S, "bgt.un.s", SM_BGT_UN_S)
68OPCODEMAP(CEE_BLE_UN_S, "ble.un.s", SM_BLE_UN_S)
69OPCODEMAP(CEE_BLT_UN_S, "blt.un.s", SM_BLT_UN_S)
70OPCODEMAP(CEE_BR, "br", SM_LONG_BRANCH)
71OPCODEMAP(CEE_BRFALSE, "brfalse", SM_LONG_BRANCH)
72OPCODEMAP(CEE_BRTRUE, "brtrue", SM_LONG_BRANCH)
73OPCODEMAP(CEE_BEQ, "beq", SM_LONG_BRANCH)
74OPCODEMAP(CEE_BGE, "bge", SM_LONG_BRANCH)
75OPCODEMAP(CEE_BGT, "bgt", SM_LONG_BRANCH)
76OPCODEMAP(CEE_BLE, "ble", SM_LONG_BRANCH)
77OPCODEMAP(CEE_BLT, "blt", SM_LONG_BRANCH)
78OPCODEMAP(CEE_BNE_UN, "bne.un", SM_LONG_BRANCH)
79OPCODEMAP(CEE_BGE_UN, "bge.un", SM_LONG_BRANCH)
80OPCODEMAP(CEE_BGT_UN, "bgt.un", SM_LONG_BRANCH)
81OPCODEMAP(CEE_BLE_UN, "ble.un", SM_LONG_BRANCH)
82OPCODEMAP(CEE_BLT_UN, "blt.un", SM_LONG_BRANCH)
83OPCODEMAP(CEE_SWITCH, "switch", SM_SWITCH)
84OPCODEMAP(CEE_LDIND_I1, "ldind.i1", SM_LDIND_I1)
85OPCODEMAP(CEE_LDIND_U1, "ldind.u1", SM_LDIND_U1)
86OPCODEMAP(CEE_LDIND_I2, "ldind.i2", SM_LDIND_I2)
87OPCODEMAP(CEE_LDIND_U2, "ldind.u2", SM_LDIND_U2)
88OPCODEMAP(CEE_LDIND_I4, "ldind.i4", SM_LDIND_I4)
89OPCODEMAP(CEE_LDIND_U4, "ldind.u4", SM_LDIND_U4)
90OPCODEMAP(CEE_LDIND_I8, "ldind.i8", SM_LDIND_I8)
91OPCODEMAP(CEE_LDIND_I, "ldind.i", SM_LDIND_I)
92OPCODEMAP(CEE_LDIND_R4, "ldind.r4", SM_LDIND_R4)
93OPCODEMAP(CEE_LDIND_R8, "ldind.r8", SM_LDIND_R8)
94OPCODEMAP(CEE_LDIND_REF, "ldind.ref", SM_LDIND_REF)
95OPCODEMAP(CEE_STIND_REF, "stind.ref", SM_STIND_REF)
96OPCODEMAP(CEE_STIND_I1, "stind.i1", SM_STIND_I1)
97OPCODEMAP(CEE_STIND_I2, "stind.i2", SM_STIND_I2)
98OPCODEMAP(CEE_STIND_I4, "stind.i4", SM_STIND_I4)
99OPCODEMAP(CEE_STIND_I8, "stind.i8", SM_STIND_I8)
100OPCODEMAP(CEE_STIND_R4, "stind.r4", SM_STIND_R4)
101OPCODEMAP(CEE_STIND_R8, "stind.r8", SM_STIND_R8)
102OPCODEMAP(CEE_ADD, "add", SM_ADD)
103OPCODEMAP(CEE_SUB, "sub", SM_SUB)
104OPCODEMAP(CEE_MUL, "mul", SM_MUL)
105OPCODEMAP(CEE_DIV, "div", SM_DIV)
106OPCODEMAP(CEE_DIV_UN, "div.un", SM_DIV_UN)
107OPCODEMAP(CEE_REM, "rem", SM_REM)
108OPCODEMAP(CEE_REM_UN, "rem.un", SM_REM_UN)
109OPCODEMAP(CEE_AND, "and", SM_AND)
110OPCODEMAP(CEE_OR, "or", SM_OR)
111OPCODEMAP(CEE_XOR, "xor", SM_XOR)
112OPCODEMAP(CEE_SHL, "shl", SM_SHL)
113OPCODEMAP(CEE_SHR, "shr", SM_SHR)
114OPCODEMAP(CEE_SHR_UN, "shr.un", SM_SHR_UN)
115OPCODEMAP(CEE_NEG, "neg", SM_NEG)
116OPCODEMAP(CEE_NOT, "not", SM_NOT)
117OPCODEMAP(CEE_CONV_I1, "conv.i1", SM_CONV_I1)
118OPCODEMAP(CEE_CONV_I2, "conv.i2", SM_CONV_I2)
119OPCODEMAP(CEE_CONV_I4, "conv.i4", SM_CONV_I4)
120OPCODEMAP(CEE_CONV_I8, "conv.i8", SM_CONV_I8)
121OPCODEMAP(CEE_CONV_R4, "conv.r4", SM_CONV_R4)
122OPCODEMAP(CEE_CONV_R8, "conv.r8", SM_CONV_R8)
123OPCODEMAP(CEE_CONV_U4, "conv.u4", SM_CONV_U4)
124OPCODEMAP(CEE_CONV_U8, "conv.u8", SM_CONV_U8)
125OPCODEMAP(CEE_CALLVIRT, "callvirt", SM_CALLVIRT)
126OPCODEMAP(CEE_CPOBJ, "cpobj", SM_CPOBJ)
127OPCODEMAP(CEE_LDOBJ, "ldobj", SM_LDOBJ)
128OPCODEMAP(CEE_LDSTR, "ldstr", SM_LDSTR)
129OPCODEMAP(CEE_NEWOBJ, "newobj", SM_NEWOBJ)
130OPCODEMAP(CEE_CASTCLASS, "castclass", SM_CASTCLASS)
131OPCODEMAP(CEE_ISINST, "isinst", SM_ISINST)
132OPCODEMAP(CEE_CONV_R_UN, "conv.r.un", SM_CONV_R_UN)
133OPCODEMAP(CEE_UNUSED58, "unused", SM_UNUSED)
134OPCODEMAP(CEE_UNUSED1, "unused", SM_UNUSED)
135OPCODEMAP(CEE_UNBOX, "unbox", SM_UNBOX)
136OPCODEMAP(CEE_THROW, "throw", SM_THROW)
137OPCODEMAP(CEE_LDFLD, "ldfld", SM_LDFLD)
138OPCODEMAP(CEE_LDFLDA, "ldflda", SM_LDFLDA)
139OPCODEMAP(CEE_STFLD, "stfld", SM_STFLD)
140OPCODEMAP(CEE_LDSFLD, "ldsfld", SM_LDSFLD)
141OPCODEMAP(CEE_LDSFLDA, "ldsflda", SM_LDSFLDA)
142OPCODEMAP(CEE_STSFLD, "stsfld", SM_STSFLD)
143OPCODEMAP(CEE_STOBJ, "stobj", SM_STOBJ)
144OPCODEMAP(CEE_CONV_OVF_I1_UN, "conv.ovf.i1.un", SM_OVF_NOTYPE_UN)
145OPCODEMAP(CEE_CONV_OVF_I2_UN, "conv.ovf.i2.un", SM_OVF_NOTYPE_UN)
146OPCODEMAP(CEE_CONV_OVF_I4_UN, "conv.ovf.i4.un", SM_OVF_NOTYPE_UN)
147OPCODEMAP(CEE_CONV_OVF_I8_UN, "conv.ovf.i8.un", SM_OVF_NOTYPE_UN)
148OPCODEMAP(CEE_CONV_OVF_U1_UN, "conv.ovf.u1.un", SM_OVF_NOTYPE_UN)
149OPCODEMAP(CEE_CONV_OVF_U2_UN, "conv.ovf.u2.un", SM_OVF_NOTYPE_UN)
150OPCODEMAP(CEE_CONV_OVF_U4_UN, "conv.ovf.u4.un", SM_OVF_NOTYPE_UN)
151OPCODEMAP(CEE_CONV_OVF_U8_UN, "conv.ovf.u8.un", SM_OVF_NOTYPE_UN)
152OPCODEMAP(CEE_CONV_OVF_I_UN, "conv.ovf.i.un", SM_OVF_NOTYPE_UN)
153OPCODEMAP(CEE_CONV_OVF_U_UN, "conv.ovf.u.un", SM_OVF_NOTYPE_UN)
154OPCODEMAP(CEE_BOX, "box", SM_BOX)
155OPCODEMAP(CEE_NEWARR, "newarr", SM_NEWARR)
156OPCODEMAP(CEE_LDLEN, "ldlen", SM_LDLEN)
157OPCODEMAP(CEE_LDELEMA, "ldelema", SM_LDELEMA)
158OPCODEMAP(CEE_LDELEM_I1, "ldelem.i1", SM_LDELEM_I1)
159OPCODEMAP(CEE_LDELEM_U1, "ldelem.u1", SM_LDELEM_U1)
160OPCODEMAP(CEE_LDELEM_I2, "ldelem.i2", SM_LDELEM_I2)
161OPCODEMAP(CEE_LDELEM_U2, "ldelem.u2", SM_LDELEM_U2)
162OPCODEMAP(CEE_LDELEM_I4, "ldelem.i4", SM_LDELEM_I4)
163OPCODEMAP(CEE_LDELEM_U4, "ldelem.u4", SM_LDELEM_U4)
164OPCODEMAP(CEE_LDELEM_I8, "ldelem.i8", SM_LDELEM_I8)
165OPCODEMAP(CEE_LDELEM_I, "ldelem.i", SM_LDELEM_I)
166OPCODEMAP(CEE_LDELEM_R4, "ldelem.r4", SM_LDELEM_R4)
167OPCODEMAP(CEE_LDELEM_R8, "ldelem.r8", SM_LDELEM_R8)
168OPCODEMAP(CEE_LDELEM_REF, "ldelem.ref", SM_LDELEM_REF)
169OPCODEMAP(CEE_STELEM_I, "stelem.i", SM_STELEM_I)
170OPCODEMAP(CEE_STELEM_I1, "stelem.i1", SM_STELEM_I1)
171OPCODEMAP(CEE_STELEM_I2, "stelem.i2", SM_STELEM_I2)
172OPCODEMAP(CEE_STELEM_I4, "stelem.i4", SM_STELEM_I4)
173OPCODEMAP(CEE_STELEM_I8, "stelem.i8", SM_STELEM_I8)
174OPCODEMAP(CEE_STELEM_R4, "stelem.r4", SM_STELEM_R4)
175OPCODEMAP(CEE_STELEM_R8, "stelem.r8", SM_STELEM_R8)
176OPCODEMAP(CEE_STELEM_REF, "stelem.ref", SM_STELEM_REF)
177OPCODEMAP(CEE_LDELEM, "ldelem", SM_LDELEM)
178OPCODEMAP(CEE_STELEM, "stelem", SM_STELEM)
179OPCODEMAP(CEE_UNBOX_ANY, "unbox.any", SM_UNBOX_ANY)
180OPCODEMAP(CEE_UNUSED5, "unused", SM_UNUSED)
181OPCODEMAP(CEE_UNUSED6, "unused", SM_UNUSED)
182OPCODEMAP(CEE_UNUSED7, "unused", SM_UNUSED)
183OPCODEMAP(CEE_UNUSED8, "unused", SM_UNUSED)
184OPCODEMAP(CEE_UNUSED9, "unused", SM_UNUSED)
185OPCODEMAP(CEE_UNUSED10, "unused", SM_UNUSED)
186OPCODEMAP(CEE_UNUSED11, "unused", SM_UNUSED)
187OPCODEMAP(CEE_UNUSED12, "unused", SM_UNUSED)
188OPCODEMAP(CEE_UNUSED13, "unused", SM_UNUSED)
189OPCODEMAP(CEE_UNUSED14, "unused", SM_UNUSED)
190OPCODEMAP(CEE_UNUSED15, "unused", SM_UNUSED)
191OPCODEMAP(CEE_UNUSED16, "unused", SM_UNUSED)
192OPCODEMAP(CEE_UNUSED17, "unused", SM_UNUSED)
193OPCODEMAP(CEE_CONV_OVF_I1, "conv.ovf.i1", SM_CONV_OVF_I1)
194OPCODEMAP(CEE_CONV_OVF_U1, "conv.ovf.u1", SM_CONV_OVF_U1)
195OPCODEMAP(CEE_CONV_OVF_I2, "conv.ovf.i2", SM_CONV_OVF_I2)
196OPCODEMAP(CEE_CONV_OVF_U2, "conv.ovf.u2", SM_CONV_OVF_U2)
197OPCODEMAP(CEE_CONV_OVF_I4, "conv.ovf.i4", SM_CONV_OVF_I4)
198OPCODEMAP(CEE_CONV_OVF_U4, "conv.ovf.u4", SM_CONV_OVF_U4)
199OPCODEMAP(CEE_CONV_OVF_I8, "conv.ovf.i8", SM_CONV_OVF_I8)
200OPCODEMAP(CEE_CONV_OVF_U8, "conv.ovf.u8", SM_CONV_OVF_U8)
201OPCODEMAP(CEE_UNUSED50, "unused", SM_UNUSED)
202OPCODEMAP(CEE_UNUSED18, "unused", SM_UNUSED)
203OPCODEMAP(CEE_UNUSED19, "unused", SM_UNUSED)
204OPCODEMAP(CEE_UNUSED20, "unused", SM_UNUSED)
205OPCODEMAP(CEE_UNUSED21, "unused", SM_UNUSED)
206OPCODEMAP(CEE_UNUSED22, "unused", SM_UNUSED)
207OPCODEMAP(CEE_UNUSED23, "unused", SM_UNUSED)
208OPCODEMAP(CEE_REFANYVAL, "refanyval", SM_REFANYVAL)
209OPCODEMAP(CEE_CKFINITE, "ckfinite", SM_CKFINITE)
210OPCODEMAP(CEE_UNUSED24, "unused", SM_UNUSED)
211OPCODEMAP(CEE_UNUSED25, "unused", SM_UNUSED)
212OPCODEMAP(CEE_MKREFANY, "mkrefany", SM_MKREFANY)
213OPCODEMAP(CEE_UNUSED59, "unused", SM_UNUSED)
214OPCODEMAP(CEE_UNUSED60, "unused", SM_UNUSED)
215OPCODEMAP(CEE_UNUSED61, "unused", SM_UNUSED)
216OPCODEMAP(CEE_UNUSED62, "unused", SM_UNUSED)
217OPCODEMAP(CEE_UNUSED63, "unused", SM_UNUSED)
218OPCODEMAP(CEE_UNUSED64, "unused", SM_UNUSED)
219OPCODEMAP(CEE_UNUSED65, "unused", SM_UNUSED)
220OPCODEMAP(CEE_UNUSED66, "unused", SM_UNUSED)
221OPCODEMAP(CEE_UNUSED67, "unused", SM_UNUSED)
222OPCODEMAP(CEE_LDTOKEN, "ldtoken", SM_LDTOKEN)
223OPCODEMAP(CEE_CONV_U2, "conv.u2", SM_CONV_U2)
224OPCODEMAP(CEE_CONV_U1, "conv.u1", SM_CONV_U1)
225OPCODEMAP(CEE_CONV_I, "conv.i", SM_CONV_I)
226OPCODEMAP(CEE_CONV_OVF_I, "conv.ovf.i", SM_CONV_OVF_I)
227OPCODEMAP(CEE_CONV_OVF_U, "conv.ovf.u", SM_CONV_OVF_U)
228OPCODEMAP(CEE_ADD_OVF, "add.ovf", SM_ADD_OVF)
229OPCODEMAP(CEE_ADD_OVF_UN, "add.ovf.un", SM_OVF_NOTYPE_UN)
230OPCODEMAP(CEE_MUL_OVF, "mul.ovf", SM_MUL_OVF)
231OPCODEMAP(CEE_MUL_OVF_UN, "mul.ovf.un", SM_OVF_NOTYPE_UN)
232OPCODEMAP(CEE_SUB_OVF, "sub.ovf", SM_SUB_OVF)
233OPCODEMAP(CEE_SUB_OVF_UN, "sub.ovf.un", SM_OVF_NOTYPE_UN)
234OPCODEMAP(CEE_ENDFINALLY, "endfinally", SM_NOSHOW)
235OPCODEMAP(CEE_LEAVE, "leave", SM_NOSHOW)
236OPCODEMAP(CEE_LEAVE_S, "leave.s", SM_LEAVE_S)
237OPCODEMAP(CEE_STIND_I, "stind.i", SM_STIND_I)
238OPCODEMAP(CEE_CONV_U, "conv.u", SM_CONV_U)
239OPCODEMAP(CEE_UNUSED26, "unused", SM_UNUSED)
240OPCODEMAP(CEE_UNUSED27, "unused", SM_UNUSED)
241OPCODEMAP(CEE_UNUSED28, "unused", SM_UNUSED)
242OPCODEMAP(CEE_UNUSED29, "unused", SM_UNUSED)
243OPCODEMAP(CEE_UNUSED30, "unused", SM_UNUSED)
244OPCODEMAP(CEE_UNUSED31, "unused", SM_UNUSED)
245OPCODEMAP(CEE_UNUSED32, "unused", SM_UNUSED)
246OPCODEMAP(CEE_UNUSED33, "unused", SM_UNUSED)
247OPCODEMAP(CEE_UNUSED34, "unused", SM_UNUSED)
248OPCODEMAP(CEE_UNUSED35, "unused", SM_UNUSED)
249OPCODEMAP(CEE_UNUSED36, "unused", SM_UNUSED)
250OPCODEMAP(CEE_UNUSED37, "unused", SM_UNUSED)
251OPCODEMAP(CEE_UNUSED38, "unused", SM_UNUSED)
252OPCODEMAP(CEE_UNUSED39, "unused", SM_UNUSED)
253OPCODEMAP(CEE_UNUSED40, "unused", SM_UNUSED)
254OPCODEMAP(CEE_UNUSED41, "unused", SM_UNUSED)
255OPCODEMAP(CEE_UNUSED42, "unused", SM_UNUSED)
256OPCODEMAP(CEE_UNUSED43, "unused", SM_UNUSED)
257OPCODEMAP(CEE_UNUSED44, "unused", SM_UNUSED)
258OPCODEMAP(CEE_UNUSED45, "unused", SM_UNUSED)
259OPCODEMAP(CEE_UNUSED46, "unused", SM_UNUSED)
260OPCODEMAP(CEE_UNUSED47, "unused", SM_UNUSED)
261OPCODEMAP(CEE_UNUSED48, "unused", SM_UNUSED)
262OPCODEMAP(CEE_PREFIX7, "prefix7", SM_PREFIX_N)
263OPCODEMAP(CEE_PREFIX6, "prefix6", SM_PREFIX_N)
264OPCODEMAP(CEE_PREFIX5, "prefix5", SM_PREFIX_N)
265OPCODEMAP(CEE_PREFIX4, "prefix4", SM_PREFIX_N)
266OPCODEMAP(CEE_PREFIX3, "prefix3", SM_PREFIX_N)
267OPCODEMAP(CEE_PREFIX2, "prefix2", SM_PREFIX_N)
268OPCODEMAP(CEE_PREFIX1, "prefix1", SM_PREFIX_N)
269OPCODEMAP(CEE_PREFIXREF, "prefixref", SM_PREFIX_N)
270
271OPCODEMAP(CEE_ARGLIST, "arglist", SM_ARGLIST)
272OPCODEMAP(CEE_CEQ, "ceq", SM_CEQ)
273OPCODEMAP(CEE_CGT, "cgt", SM_CGT)
274OPCODEMAP(CEE_CGT_UN, "cgt.un", SM_CGT_UN)
275OPCODEMAP(CEE_CLT, "clt", SM_CLT)
276OPCODEMAP(CEE_CLT_UN, "clt.un", SM_CLT_UN)
277OPCODEMAP(CEE_LDFTN, "ldftn", SM_LDFTN)
278OPCODEMAP(CEE_LDVIRTFTN, "ldvirtftn", SM_LDVIRTFTN)
279OPCODEMAP(CEE_UNUSED56, "unused", SM_UNUSED)
280OPCODEMAP(CEE_LDARG, "ldarg", SM_LONG_LOC_ARG)
281OPCODEMAP(CEE_LDARGA, "ldarga", SM_LONG_LOC_ARG)
282OPCODEMAP(CEE_STARG, "starg", SM_LONG_LOC_ARG)
283OPCODEMAP(CEE_LDLOC, "ldloc", SM_LONG_LOC_ARG)
284OPCODEMAP(CEE_LDLOCA, "ldloca", SM_LONG_LOC_ARG)
285OPCODEMAP(CEE_STLOC, "stloc", SM_LONG_LOC_ARG)
286OPCODEMAP(CEE_LOCALLOC, "localloc", SM_LOCALLOC)
287OPCODEMAP(CEE_UNUSED57, "unused", SM_UNUSED)
288OPCODEMAP(CEE_ENDFILTER, "endfilter", SM_NOSHOW)
289OPCODEMAP(CEE_UNALIGNED, "unaligned.", SM_UNALIGNED)
290OPCODEMAP(CEE_VOLATILE, "volatile.", SM_VOLATILE)
291OPCODEMAP(CEE_TAILCALL, "tail.", SM_TAILCALL)
292OPCODEMAP(CEE_INITOBJ, "initobj", SM_INITOBJ)
293OPCODEMAP(CEE_CONSTRAINED, "constrained.", SM_CONSTRAINED)
294OPCODEMAP(CEE_CPBLK, "cpblk", SM_CPBLK)
295OPCODEMAP(CEE_INITBLK, "initblk", SM_INITBLK)
296OPCODEMAP(CEE_UNUSED69, "unused", SM_UNUSED)
297OPCODEMAP(CEE_RETHROW, "rethrow", SM_RETHROW)
298OPCODEMAP(CEE_UNUSED51, "unused", SM_UNUSED)
299OPCODEMAP(CEE_SIZEOF, "sizeof", SM_SIZEOF)
300OPCODEMAP(CEE_REFANYTYPE, "refanytype", SM_REFANYTYPE)
301OPCODEMAP(CEE_READONLY, "readonly.", SM_READONLY)
302OPCODEMAP(CEE_UNUSED53, "unused", SM_UNUSED)
303OPCODEMAP(CEE_UNUSED54, "unused", SM_UNUSED)
304OPCODEMAP(CEE_UNUSED55, "unused", SM_UNUSED)
305OPCODEMAP(CEE_UNUSED70, "unused", SM_UNUSED)
306
307// These are not real opcodes, but they are handy internally in the EE
308
309OPCODEMAP(CEE_ILLEGAL, "illegal", SM_UNUSED)
310OPCODEMAP(CEE_MACRO_END, "endmac", SM_UNUSED)
311OPCODEMAP(CEE_CODE_LABEL, "codelabel", SM_UNUSED)
312
313// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
314//
315// New opcodes added just for the state machine.
316//
317// Do NOT uncomment or delete the following lines.
318// They are there for makeSmOpcodeDef.pl to automatically generate smopcode.def
319// that contains these new SM_ opcodes.
320//
321// OPCODEMAP(CEE_DUMMY, "ldarga.s(normed)", SM_LDARGA_S_NORMED)
322// OPCODEMAP(CEE_DUMMY, "ldloca.s(normed)", SM_LDLOCA_S_NORMED)
323
324