blob: 2d6bcda513c99c6736cc73679f829d5aa4bf814f [file] [log] [blame]
Antoine Pitroub52ec782009-01-25 16:34:23 +00001static void *opcode_targets[256] = {
Antoine Pitrouf95a1b32010-05-09 15:52:27 +00002 &&_unknown_opcode,
3 &&TARGET_POP_TOP,
4 &&TARGET_ROT_TWO,
5 &&TARGET_ROT_THREE,
6 &&TARGET_DUP_TOP,
Antoine Pitrou74a69fa2010-09-04 18:43:52 +00007 &&TARGET_DUP_TOP_TWO,
Antoine Pitrouf95a1b32010-05-09 15:52:27 +00008 &&_unknown_opcode,
9 &&_unknown_opcode,
10 &&_unknown_opcode,
11 &&TARGET_NOP,
12 &&TARGET_UNARY_POSITIVE,
13 &&TARGET_UNARY_NEGATIVE,
14 &&TARGET_UNARY_NOT,
15 &&_unknown_opcode,
16 &&_unknown_opcode,
17 &&TARGET_UNARY_INVERT,
18 &&_unknown_opcode,
19 &&_unknown_opcode,
20 &&_unknown_opcode,
21 &&TARGET_BINARY_POWER,
22 &&TARGET_BINARY_MULTIPLY,
23 &&_unknown_opcode,
24 &&TARGET_BINARY_MODULO,
25 &&TARGET_BINARY_ADD,
26 &&TARGET_BINARY_SUBTRACT,
27 &&TARGET_BINARY_SUBSCR,
28 &&TARGET_BINARY_FLOOR_DIVIDE,
29 &&TARGET_BINARY_TRUE_DIVIDE,
30 &&TARGET_INPLACE_FLOOR_DIVIDE,
31 &&TARGET_INPLACE_TRUE_DIVIDE,
32 &&_unknown_opcode,
33 &&_unknown_opcode,
34 &&_unknown_opcode,
35 &&_unknown_opcode,
36 &&_unknown_opcode,
37 &&_unknown_opcode,
38 &&_unknown_opcode,
39 &&_unknown_opcode,
40 &&_unknown_opcode,
41 &&_unknown_opcode,
42 &&_unknown_opcode,
43 &&_unknown_opcode,
44 &&_unknown_opcode,
45 &&_unknown_opcode,
46 &&_unknown_opcode,
47 &&_unknown_opcode,
48 &&_unknown_opcode,
49 &&_unknown_opcode,
50 &&_unknown_opcode,
51 &&_unknown_opcode,
52 &&_unknown_opcode,
53 &&_unknown_opcode,
54 &&_unknown_opcode,
55 &&_unknown_opcode,
56 &&TARGET_STORE_MAP,
57 &&TARGET_INPLACE_ADD,
58 &&TARGET_INPLACE_SUBTRACT,
59 &&TARGET_INPLACE_MULTIPLY,
60 &&_unknown_opcode,
61 &&TARGET_INPLACE_MODULO,
62 &&TARGET_STORE_SUBSCR,
63 &&TARGET_DELETE_SUBSCR,
64 &&TARGET_BINARY_LSHIFT,
65 &&TARGET_BINARY_RSHIFT,
66 &&TARGET_BINARY_AND,
67 &&TARGET_BINARY_XOR,
68 &&TARGET_BINARY_OR,
69 &&TARGET_INPLACE_POWER,
70 &&TARGET_GET_ITER,
71 &&TARGET_STORE_LOCALS,
72 &&TARGET_PRINT_EXPR,
73 &&TARGET_LOAD_BUILD_CLASS,
Nick Coghlan1f7ce622012-01-13 21:43:40 +100074 &&TARGET_YIELD_FROM,
Antoine Pitrouf95a1b32010-05-09 15:52:27 +000075 &&_unknown_opcode,
76 &&_unknown_opcode,
77 &&TARGET_INPLACE_LSHIFT,
78 &&TARGET_INPLACE_RSHIFT,
79 &&TARGET_INPLACE_AND,
80 &&TARGET_INPLACE_XOR,
81 &&TARGET_INPLACE_OR,
82 &&TARGET_BREAK_LOOP,
83 &&TARGET_WITH_CLEANUP,
84 &&_unknown_opcode,
85 &&TARGET_RETURN_VALUE,
86 &&TARGET_IMPORT_STAR,
87 &&_unknown_opcode,
88 &&TARGET_YIELD_VALUE,
89 &&TARGET_POP_BLOCK,
90 &&TARGET_END_FINALLY,
91 &&TARGET_POP_EXCEPT,
92 &&TARGET_STORE_NAME,
93 &&TARGET_DELETE_NAME,
94 &&TARGET_UNPACK_SEQUENCE,
95 &&TARGET_FOR_ITER,
96 &&TARGET_UNPACK_EX,
97 &&TARGET_STORE_ATTR,
98 &&TARGET_DELETE_ATTR,
99 &&TARGET_STORE_GLOBAL,
100 &&TARGET_DELETE_GLOBAL,
Antoine Pitrou74a69fa2010-09-04 18:43:52 +0000101 &&_unknown_opcode,
Antoine Pitrouf95a1b32010-05-09 15:52:27 +0000102 &&TARGET_LOAD_CONST,
103 &&TARGET_LOAD_NAME,
104 &&TARGET_BUILD_TUPLE,
105 &&TARGET_BUILD_LIST,
106 &&TARGET_BUILD_SET,
107 &&TARGET_BUILD_MAP,
108 &&TARGET_LOAD_ATTR,
109 &&TARGET_COMPARE_OP,
110 &&TARGET_IMPORT_NAME,
111 &&TARGET_IMPORT_FROM,
112 &&TARGET_JUMP_FORWARD,
113 &&TARGET_JUMP_IF_FALSE_OR_POP,
114 &&TARGET_JUMP_IF_TRUE_OR_POP,
115 &&TARGET_JUMP_ABSOLUTE,
116 &&TARGET_POP_JUMP_IF_FALSE,
117 &&TARGET_POP_JUMP_IF_TRUE,
118 &&TARGET_LOAD_GLOBAL,
119 &&_unknown_opcode,
120 &&_unknown_opcode,
121 &&TARGET_CONTINUE_LOOP,
122 &&TARGET_SETUP_LOOP,
123 &&TARGET_SETUP_EXCEPT,
124 &&TARGET_SETUP_FINALLY,
125 &&_unknown_opcode,
126 &&TARGET_LOAD_FAST,
127 &&TARGET_STORE_FAST,
128 &&TARGET_DELETE_FAST,
129 &&_unknown_opcode,
130 &&_unknown_opcode,
131 &&_unknown_opcode,
132 &&TARGET_RAISE_VARARGS,
133 &&TARGET_CALL_FUNCTION,
134 &&TARGET_MAKE_FUNCTION,
135 &&TARGET_BUILD_SLICE,
136 &&TARGET_MAKE_CLOSURE,
137 &&TARGET_LOAD_CLOSURE,
138 &&TARGET_LOAD_DEREF,
139 &&TARGET_STORE_DEREF,
Amaury Forgeot d'Arcba117ef2010-09-10 21:39:53 +0000140 &&TARGET_DELETE_DEREF,
Antoine Pitrouf95a1b32010-05-09 15:52:27 +0000141 &&_unknown_opcode,
142 &&TARGET_CALL_FUNCTION_VAR,
143 &&TARGET_CALL_FUNCTION_KW,
144 &&TARGET_CALL_FUNCTION_VAR_KW,
145 &&TARGET_SETUP_WITH,
146 &&TARGET_EXTENDED_ARG,
147 &&TARGET_LIST_APPEND,
148 &&TARGET_SET_ADD,
149 &&TARGET_MAP_ADD,
150 &&_unknown_opcode,
151 &&_unknown_opcode,
152 &&_unknown_opcode,
153 &&_unknown_opcode,
154 &&_unknown_opcode,
155 &&_unknown_opcode,
156 &&_unknown_opcode,
157 &&_unknown_opcode,
158 &&_unknown_opcode,
159 &&_unknown_opcode,
160 &&_unknown_opcode,
161 &&_unknown_opcode,
162 &&_unknown_opcode,
163 &&_unknown_opcode,
164 &&_unknown_opcode,
165 &&_unknown_opcode,
166 &&_unknown_opcode,
167 &&_unknown_opcode,
168 &&_unknown_opcode,
169 &&_unknown_opcode,
170 &&_unknown_opcode,
171 &&_unknown_opcode,
172 &&_unknown_opcode,
173 &&_unknown_opcode,
174 &&_unknown_opcode,
175 &&_unknown_opcode,
176 &&_unknown_opcode,
177 &&_unknown_opcode,
178 &&_unknown_opcode,
179 &&_unknown_opcode,
180 &&_unknown_opcode,
181 &&_unknown_opcode,
182 &&_unknown_opcode,
183 &&_unknown_opcode,
184 &&_unknown_opcode,
185 &&_unknown_opcode,
186 &&_unknown_opcode,
187 &&_unknown_opcode,
188 &&_unknown_opcode,
189 &&_unknown_opcode,
190 &&_unknown_opcode,
191 &&_unknown_opcode,
192 &&_unknown_opcode,
193 &&_unknown_opcode,
194 &&_unknown_opcode,
195 &&_unknown_opcode,
196 &&_unknown_opcode,
197 &&_unknown_opcode,
198 &&_unknown_opcode,
199 &&_unknown_opcode,
200 &&_unknown_opcode,
201 &&_unknown_opcode,
202 &&_unknown_opcode,
203 &&_unknown_opcode,
204 &&_unknown_opcode,
205 &&_unknown_opcode,
206 &&_unknown_opcode,
207 &&_unknown_opcode,
208 &&_unknown_opcode,
209 &&_unknown_opcode,
210 &&_unknown_opcode,
211 &&_unknown_opcode,
212 &&_unknown_opcode,
213 &&_unknown_opcode,
214 &&_unknown_opcode,
215 &&_unknown_opcode,
216 &&_unknown_opcode,
217 &&_unknown_opcode,
218 &&_unknown_opcode,
219 &&_unknown_opcode,
220 &&_unknown_opcode,
221 &&_unknown_opcode,
222 &&_unknown_opcode,
223 &&_unknown_opcode,
224 &&_unknown_opcode,
225 &&_unknown_opcode,
226 &&_unknown_opcode,
227 &&_unknown_opcode,
228 &&_unknown_opcode,
229 &&_unknown_opcode,
230 &&_unknown_opcode,
231 &&_unknown_opcode,
232 &&_unknown_opcode,
233 &&_unknown_opcode,
234 &&_unknown_opcode,
235 &&_unknown_opcode,
236 &&_unknown_opcode,
237 &&_unknown_opcode,
238 &&_unknown_opcode,
239 &&_unknown_opcode,
240 &&_unknown_opcode,
241 &&_unknown_opcode,
242 &&_unknown_opcode,
243 &&_unknown_opcode,
244 &&_unknown_opcode,
245 &&_unknown_opcode,
246 &&_unknown_opcode,
247 &&_unknown_opcode,
248 &&_unknown_opcode,
249 &&_unknown_opcode,
250 &&_unknown_opcode,
251 &&_unknown_opcode,
252 &&_unknown_opcode,
253 &&_unknown_opcode,
254 &&_unknown_opcode,
255 &&_unknown_opcode,
256 &&_unknown_opcode,
257 &&_unknown_opcode
Antoine Pitroub52ec782009-01-25 16:34:23 +0000258};