opcode_targets.h 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. static void *opcode_targets[256] = {
  2. &&TARGET_CACHE,
  3. &&TARGET_POP_TOP,
  4. &&TARGET_PUSH_NULL,
  5. &&TARGET_INTERPRETER_EXIT,
  6. &&TARGET_END_FOR,
  7. &&TARGET_END_SEND,
  8. &&TARGET_BINARY_OP_ADD_FLOAT,
  9. &&TARGET_BINARY_OP_ADD_INT,
  10. &&TARGET_BINARY_OP_ADD_UNICODE,
  11. &&TARGET_NOP,
  12. &&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
  13. &&TARGET_UNARY_NEGATIVE,
  14. &&TARGET_UNARY_NOT,
  15. &&TARGET_BINARY_OP_MULTIPLY_FLOAT,
  16. &&TARGET_BINARY_OP_MULTIPLY_INT,
  17. &&TARGET_UNARY_INVERT,
  18. &&TARGET_BINARY_OP_SUBTRACT_FLOAT,
  19. &&TARGET_RESERVED,
  20. &&TARGET_BINARY_OP_SUBTRACT_INT,
  21. &&TARGET_BINARY_SUBSCR_DICT,
  22. &&TARGET_BINARY_SUBSCR_GETITEM,
  23. &&TARGET_BINARY_SUBSCR_LIST_INT,
  24. &&TARGET_BINARY_SUBSCR_TUPLE_INT,
  25. &&TARGET_CALL_PY_EXACT_ARGS,
  26. &&TARGET_CALL_PY_WITH_DEFAULTS,
  27. &&TARGET_BINARY_SUBSCR,
  28. &&TARGET_BINARY_SLICE,
  29. &&TARGET_STORE_SLICE,
  30. &&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
  31. &&TARGET_CALL_BUILTIN_CLASS,
  32. &&TARGET_GET_LEN,
  33. &&TARGET_MATCH_MAPPING,
  34. &&TARGET_MATCH_SEQUENCE,
  35. &&TARGET_MATCH_KEYS,
  36. &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  37. &&TARGET_PUSH_EXC_INFO,
  38. &&TARGET_CHECK_EXC_MATCH,
  39. &&TARGET_CHECK_EG_MATCH,
  40. &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  41. &&TARGET_CALL_NO_KW_BUILTIN_FAST,
  42. &&TARGET_CALL_NO_KW_BUILTIN_O,
  43. &&TARGET_CALL_NO_KW_ISINSTANCE,
  44. &&TARGET_CALL_NO_KW_LEN,
  45. &&TARGET_CALL_NO_KW_LIST_APPEND,
  46. &&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_FAST,
  47. &&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_NOARGS,
  48. &&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_O,
  49. &&TARGET_CALL_NO_KW_STR_1,
  50. &&TARGET_CALL_NO_KW_TUPLE_1,
  51. &&TARGET_WITH_EXCEPT_START,
  52. &&TARGET_GET_AITER,
  53. &&TARGET_GET_ANEXT,
  54. &&TARGET_BEFORE_ASYNC_WITH,
  55. &&TARGET_BEFORE_WITH,
  56. &&TARGET_END_ASYNC_FOR,
  57. &&TARGET_CLEANUP_THROW,
  58. &&TARGET_CALL_NO_KW_TYPE_1,
  59. &&TARGET_COMPARE_OP_FLOAT,
  60. &&TARGET_COMPARE_OP_INT,
  61. &&TARGET_COMPARE_OP_STR,
  62. &&TARGET_STORE_SUBSCR,
  63. &&TARGET_DELETE_SUBSCR,
  64. &&TARGET_FOR_ITER_LIST,
  65. &&TARGET_FOR_ITER_TUPLE,
  66. &&TARGET_FOR_ITER_RANGE,
  67. &&TARGET_FOR_ITER_GEN,
  68. &&TARGET_LOAD_SUPER_ATTR_ATTR,
  69. &&TARGET_LOAD_SUPER_ATTR_METHOD,
  70. &&TARGET_GET_ITER,
  71. &&TARGET_GET_YIELD_FROM_ITER,
  72. &&TARGET_LOAD_ATTR_CLASS,
  73. &&TARGET_LOAD_BUILD_CLASS,
  74. &&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  75. &&TARGET_LOAD_ATTR_INSTANCE_VALUE,
  76. &&TARGET_LOAD_ASSERTION_ERROR,
  77. &&TARGET_RETURN_GENERATOR,
  78. &&TARGET_LOAD_ATTR_MODULE,
  79. &&TARGET_LOAD_ATTR_PROPERTY,
  80. &&TARGET_LOAD_ATTR_SLOT,
  81. &&TARGET_LOAD_ATTR_WITH_HINT,
  82. &&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
  83. &&TARGET_LOAD_ATTR_METHOD_NO_DICT,
  84. &&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
  85. &&TARGET_RETURN_VALUE,
  86. &&TARGET_LOAD_CONST__LOAD_FAST,
  87. &&TARGET_SETUP_ANNOTATIONS,
  88. &&TARGET_LOAD_FAST__LOAD_CONST,
  89. &&TARGET_LOAD_LOCALS,
  90. &&TARGET_LOAD_FAST__LOAD_FAST,
  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,
  101. &&TARGET_SWAP,
  102. &&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_LOAD_GLOBAL_BUILTIN,
  114. &&TARGET_LOAD_GLOBAL_MODULE,
  115. &&TARGET_STORE_ATTR_INSTANCE_VALUE,
  116. &&TARGET_POP_JUMP_IF_FALSE,
  117. &&TARGET_POP_JUMP_IF_TRUE,
  118. &&TARGET_LOAD_GLOBAL,
  119. &&TARGET_IS_OP,
  120. &&TARGET_CONTAINS_OP,
  121. &&TARGET_RERAISE,
  122. &&TARGET_COPY,
  123. &&TARGET_RETURN_CONST,
  124. &&TARGET_BINARY_OP,
  125. &&TARGET_SEND,
  126. &&TARGET_LOAD_FAST,
  127. &&TARGET_STORE_FAST,
  128. &&TARGET_DELETE_FAST,
  129. &&TARGET_LOAD_FAST_CHECK,
  130. &&TARGET_POP_JUMP_IF_NOT_NONE,
  131. &&TARGET_POP_JUMP_IF_NONE,
  132. &&TARGET_RAISE_VARARGS,
  133. &&TARGET_GET_AWAITABLE,
  134. &&TARGET_MAKE_FUNCTION,
  135. &&TARGET_BUILD_SLICE,
  136. &&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
  137. &&TARGET_MAKE_CELL,
  138. &&TARGET_LOAD_CLOSURE,
  139. &&TARGET_LOAD_DEREF,
  140. &&TARGET_STORE_DEREF,
  141. &&TARGET_DELETE_DEREF,
  142. &&TARGET_JUMP_BACKWARD,
  143. &&TARGET_LOAD_SUPER_ATTR,
  144. &&TARGET_CALL_FUNCTION_EX,
  145. &&TARGET_LOAD_FAST_AND_CLEAR,
  146. &&TARGET_EXTENDED_ARG,
  147. &&TARGET_LIST_APPEND,
  148. &&TARGET_SET_ADD,
  149. &&TARGET_MAP_ADD,
  150. &&TARGET_STORE_ATTR_SLOT,
  151. &&TARGET_COPY_FREE_VARS,
  152. &&TARGET_YIELD_VALUE,
  153. &&TARGET_RESUME,
  154. &&TARGET_MATCH_CLASS,
  155. &&TARGET_STORE_ATTR_WITH_HINT,
  156. &&TARGET_STORE_FAST__LOAD_FAST,
  157. &&TARGET_FORMAT_VALUE,
  158. &&TARGET_BUILD_CONST_KEY_MAP,
  159. &&TARGET_BUILD_STRING,
  160. &&TARGET_STORE_FAST__STORE_FAST,
  161. &&TARGET_STORE_SUBSCR_DICT,
  162. &&TARGET_STORE_SUBSCR_LIST_INT,
  163. &&TARGET_UNPACK_SEQUENCE_LIST,
  164. &&TARGET_LIST_EXTEND,
  165. &&TARGET_SET_UPDATE,
  166. &&TARGET_DICT_MERGE,
  167. &&TARGET_DICT_UPDATE,
  168. &&TARGET_UNPACK_SEQUENCE_TUPLE,
  169. &&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
  170. &&TARGET_SEND_GEN,
  171. &&_unknown_opcode,
  172. &&_unknown_opcode,
  173. &&TARGET_CALL,
  174. &&TARGET_KW_NAMES,
  175. &&TARGET_CALL_INTRINSIC_1,
  176. &&TARGET_CALL_INTRINSIC_2,
  177. &&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
  178. &&TARGET_LOAD_FROM_DICT_OR_DEREF,
  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. &&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
  240. &&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
  241. &&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  242. &&TARGET_INSTRUMENTED_RESUME,
  243. &&TARGET_INSTRUMENTED_CALL,
  244. &&TARGET_INSTRUMENTED_RETURN_VALUE,
  245. &&TARGET_INSTRUMENTED_YIELD_VALUE,
  246. &&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
  247. &&TARGET_INSTRUMENTED_JUMP_FORWARD,
  248. &&TARGET_INSTRUMENTED_JUMP_BACKWARD,
  249. &&TARGET_INSTRUMENTED_RETURN_CONST,
  250. &&TARGET_INSTRUMENTED_FOR_ITER,
  251. &&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
  252. &&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
  253. &&TARGET_INSTRUMENTED_END_FOR,
  254. &&TARGET_INSTRUMENTED_END_SEND,
  255. &&TARGET_INSTRUMENTED_INSTRUCTION,
  256. &&TARGET_INSTRUMENTED_LINE,
  257. &&_unknown_opcode
  258. };