1 | // Generated by opcode_generator.rb from /home/user/data/webkitgtk-2.25.2/Source/JavaScriptCore/b3/air/AirOpcode.opcodes -- do not edit! |
2 | #ifndef AirOpcode_h |
3 | #define AirOpcode_h |
4 | namespace JSC { namespace B3 { namespace Air { |
5 | enum Opcode : int16_t { |
6 | Nop, |
7 | Add32, |
8 | Add8, |
9 | Add16, |
10 | Add64, |
11 | AddDouble, |
12 | AddFloat, |
13 | Sub32, |
14 | Sub64, |
15 | SubDouble, |
16 | SubFloat, |
17 | Neg32, |
18 | Neg64, |
19 | NegateDouble, |
20 | NegateFloat, |
21 | Mul32, |
22 | Mul64, |
23 | MultiplyAdd32, |
24 | MultiplyAdd64, |
25 | MultiplySub32, |
26 | MultiplySub64, |
27 | MultiplyNeg32, |
28 | MultiplyNeg64, |
29 | Div32, |
30 | UDiv32, |
31 | Div64, |
32 | UDiv64, |
33 | MulDouble, |
34 | MulFloat, |
35 | DivDouble, |
36 | DivFloat, |
37 | X86ConvertToDoubleWord32, |
38 | X86ConvertToQuadWord64, |
39 | X86Div32, |
40 | X86UDiv32, |
41 | X86Div64, |
42 | X86UDiv64, |
43 | Lea32, |
44 | Lea64, |
45 | And32, |
46 | And64, |
47 | AndDouble, |
48 | AndFloat, |
49 | OrDouble, |
50 | OrFloat, |
51 | XorDouble, |
52 | XorFloat, |
53 | Lshift32, |
54 | Lshift64, |
55 | Rshift32, |
56 | Rshift64, |
57 | Urshift32, |
58 | Urshift64, |
59 | RotateRight32, |
60 | RotateRight64, |
61 | RotateLeft32, |
62 | RotateLeft64, |
63 | Or32, |
64 | Or64, |
65 | Xor32, |
66 | Xor64, |
67 | Not32, |
68 | Not64, |
69 | AbsDouble, |
70 | AbsFloat, |
71 | CeilDouble, |
72 | CeilFloat, |
73 | FloorDouble, |
74 | FloorFloat, |
75 | SqrtDouble, |
76 | SqrtFloat, |
77 | ConvertInt32ToDouble, |
78 | ConvertInt64ToDouble, |
79 | ConvertInt32ToFloat, |
80 | ConvertInt64ToFloat, |
81 | CountLeadingZeros32, |
82 | CountLeadingZeros64, |
83 | ConvertDoubleToFloat, |
84 | ConvertFloatToDouble, |
85 | Move, |
86 | Swap32, |
87 | Swap64, |
88 | Move32, |
89 | StoreZero32, |
90 | StoreZero64, |
91 | SignExtend32ToPtr, |
92 | ZeroExtend8To32, |
93 | SignExtend8To32, |
94 | ZeroExtend16To32, |
95 | SignExtend16To32, |
96 | MoveFloat, |
97 | MoveDouble, |
98 | MoveZeroToDouble, |
99 | Move64ToDouble, |
100 | Move32ToFloat, |
101 | MoveDoubleTo64, |
102 | MoveFloatTo32, |
103 | Load8, |
104 | LoadAcq8, |
105 | Store8, |
106 | StoreRel8, |
107 | Load8SignedExtendTo32, |
108 | LoadAcq8SignedExtendTo32, |
109 | Load16, |
110 | LoadAcq16, |
111 | Load16SignedExtendTo32, |
112 | LoadAcq16SignedExtendTo32, |
113 | Store16, |
114 | StoreRel16, |
115 | LoadAcq32, |
116 | StoreRel32, |
117 | LoadAcq64, |
118 | StoreRel64, |
119 | Xchg8, |
120 | Xchg16, |
121 | Xchg32, |
122 | Xchg64, |
123 | AtomicStrongCAS8, |
124 | AtomicStrongCAS16, |
125 | AtomicStrongCAS32, |
126 | AtomicStrongCAS64, |
127 | BranchAtomicStrongCAS8, |
128 | BranchAtomicStrongCAS16, |
129 | BranchAtomicStrongCAS32, |
130 | BranchAtomicStrongCAS64, |
131 | AtomicAdd8, |
132 | AtomicAdd16, |
133 | AtomicAdd32, |
134 | AtomicAdd64, |
135 | AtomicSub8, |
136 | AtomicSub16, |
137 | AtomicSub32, |
138 | AtomicSub64, |
139 | AtomicAnd8, |
140 | AtomicAnd16, |
141 | AtomicAnd32, |
142 | AtomicAnd64, |
143 | AtomicOr8, |
144 | AtomicOr16, |
145 | AtomicOr32, |
146 | AtomicOr64, |
147 | AtomicXor8, |
148 | AtomicXor16, |
149 | AtomicXor32, |
150 | AtomicXor64, |
151 | AtomicNeg8, |
152 | AtomicNeg16, |
153 | AtomicNeg32, |
154 | AtomicNeg64, |
155 | AtomicNot8, |
156 | AtomicNot16, |
157 | AtomicNot32, |
158 | AtomicNot64, |
159 | AtomicXchgAdd8, |
160 | AtomicXchgAdd16, |
161 | AtomicXchgAdd32, |
162 | AtomicXchgAdd64, |
163 | AtomicXchg8, |
164 | AtomicXchg16, |
165 | AtomicXchg32, |
166 | AtomicXchg64, |
167 | LoadLink8, |
168 | LoadLinkAcq8, |
169 | StoreCond8, |
170 | StoreCondRel8, |
171 | LoadLink16, |
172 | LoadLinkAcq16, |
173 | StoreCond16, |
174 | StoreCondRel16, |
175 | LoadLink32, |
176 | LoadLinkAcq32, |
177 | StoreCond32, |
178 | StoreCondRel32, |
179 | LoadLink64, |
180 | LoadLinkAcq64, |
181 | StoreCond64, |
182 | StoreCondRel64, |
183 | Depend32, |
184 | Depend64, |
185 | Compare32, |
186 | Compare64, |
187 | Test32, |
188 | Test64, |
189 | CompareDouble, |
190 | CompareFloat, |
191 | Branch8, |
192 | Branch32, |
193 | Branch64, |
194 | BranchTest8, |
195 | BranchTest32, |
196 | BranchTest64, |
197 | BranchDouble, |
198 | BranchFloat, |
199 | BranchAdd32, |
200 | BranchAdd64, |
201 | BranchMul32, |
202 | BranchMul64, |
203 | BranchSub32, |
204 | BranchSub64, |
205 | BranchNeg32, |
206 | BranchNeg64, |
207 | MoveConditionally32, |
208 | MoveConditionally64, |
209 | MoveConditionallyTest32, |
210 | MoveConditionallyTest64, |
211 | MoveConditionallyDouble, |
212 | MoveConditionallyFloat, |
213 | MoveDoubleConditionally32, |
214 | MoveDoubleConditionally64, |
215 | MoveDoubleConditionallyTest32, |
216 | MoveDoubleConditionallyTest64, |
217 | MoveDoubleConditionallyDouble, |
218 | MoveDoubleConditionallyFloat, |
219 | MemoryFence, |
220 | StoreFence, |
221 | LoadFence, |
222 | Jump, |
223 | RetVoid, |
224 | Ret32, |
225 | Ret64, |
226 | RetFloat, |
227 | RetDouble, |
228 | Oops, |
229 | EntrySwitch, |
230 | Shuffle, |
231 | Patch, |
232 | CCall, |
233 | ColdCCall, |
234 | WasmBoundsCheck, |
235 | }; |
236 | static const unsigned numOpcodes = 229; |
237 | } } } // namespace JSC::B3::Air |
238 | namespace WTF { |
239 | class PrintStream; |
240 | JS_EXPORT_PRIVATE void printInternal(PrintStream&, JSC::B3::Air::Opcode); |
241 | } // namespace WTF |
242 | #endif // AirOpcode_h |
243 | |