insn-constants.h 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. /* Generated automatically by the program `genconstants'
  2. from the machine description file `md'. */
  3. #ifndef GCC_INSN_CONSTANTS_H
  4. #define GCC_INSN_CONSTANTS_H
  5. #define CCDSP_OU_REGNUM 185
  6. #define RETURN_ADDR_REGNUM 31
  7. #define GOT_VERSION_REGNUM 79
  8. #define SET_FCSR_REGNUM 4
  9. #define MIPS16_T_REGNUM 24
  10. #define CCDSP_EF_REGNUM 187
  11. #define CCDSP_CC_REGNUM 186
  12. #define CPRESTORE_SLOT_REGNUM 76
  13. #define PIC_FUNCTION_ADDR_REGNUM 25
  14. #define CCDSP_CA_REGNUM 184
  15. #define CCDSP_PO_REGNUM 182
  16. #define MAX_PIC_BRANCH_LENGTH 100
  17. #define TLS_GET_TP_REGNUM 3
  18. #define CCDSP_SC_REGNUM 183
  19. #define GET_FCSR_REGNUM 2
  20. enum unspec {
  21. UNSPEC_LOAD_LEFT = 0,
  22. UNSPEC_LOAD_RIGHT = 1,
  23. UNSPEC_STORE_LEFT = 2,
  24. UNSPEC_STORE_RIGHT = 3,
  25. UNSPEC_WSBH = 4,
  26. UNSPEC_DSBH = 5,
  27. UNSPEC_DSHD = 6,
  28. UNSPEC_LOAD_LOW = 7,
  29. UNSPEC_LOAD_HIGH = 8,
  30. UNSPEC_STORE_WORD = 9,
  31. UNSPEC_MFHC1 = 10,
  32. UNSPEC_MTHC1 = 11,
  33. UNSPEC_GET_FCSR = 12,
  34. UNSPEC_SET_FCSR = 13,
  35. UNSPEC_MFHI = 14,
  36. UNSPEC_MTHI = 15,
  37. UNSPEC_SET_HILO = 16,
  38. UNSPEC_LOADGP = 17,
  39. UNSPEC_COPYGP = 18,
  40. UNSPEC_MOVE_GP = 19,
  41. UNSPEC_POTENTIAL_CPRESTORE = 20,
  42. UNSPEC_CPRESTORE = 21,
  43. UNSPEC_RESTORE_GP = 22,
  44. UNSPEC_EH_RETURN = 23,
  45. UNSPEC_GP = 24,
  46. UNSPEC_SET_GOT_VERSION = 25,
  47. UNSPEC_UPDATE_GOT_VERSION = 26,
  48. UNSPEC_LOAD_CALL = 27,
  49. UNSPEC_LOAD_GOT = 28,
  50. UNSPEC_TLS_LDM = 29,
  51. UNSPEC_TLS_GET_TP = 30,
  52. UNSPEC_UNSHIFTED_HIGH = 31,
  53. UNSPEC_ALIGN = 32,
  54. UNSPEC_CONSTTABLE_INT = 33,
  55. UNSPEC_CONSTTABLE_FLOAT = 34,
  56. UNSPEC_BLOCKAGE = 35,
  57. UNSPEC_CLEAR_HAZARD = 36,
  58. UNSPEC_RDHWR = 37,
  59. UNSPEC_SYNCI = 38,
  60. UNSPEC_SYNC = 39,
  61. UNSPEC_MIPS_CACHE = 40,
  62. UNSPEC_R10K_CACHE_BARRIER = 41,
  63. UNSPEC_ERET = 42,
  64. UNSPEC_DERET = 43,
  65. UNSPEC_DI = 44,
  66. UNSPEC_EHB = 45,
  67. UNSPEC_RDPGPR = 46,
  68. UNSPEC_COP0 = 47,
  69. UNSPEC_CALL_ATTR = 48,
  70. UNSPEC_CASESI_DISPATCH = 49,
  71. UNSPEC_PROBE_STACK_RANGE = 50,
  72. UNSPEC_LOONGSON_ALU1_TURN_ENABLED_INSN = 51,
  73. UNSPEC_LOONGSON_ALU2_TURN_ENABLED_INSN = 52,
  74. UNSPEC_LOONGSON_FALU1_TURN_ENABLED_INSN = 53,
  75. UNSPEC_LOONGSON_FALU2_TURN_ENABLED_INSN = 54,
  76. UNSPEC_COMPARE_AND_SWAP = 55,
  77. UNSPEC_COMPARE_AND_SWAP_12 = 56,
  78. UNSPEC_SYNC_OLD_OP = 57,
  79. UNSPEC_SYNC_NEW_OP = 58,
  80. UNSPEC_SYNC_NEW_OP_12 = 59,
  81. UNSPEC_SYNC_OLD_OP_12 = 60,
  82. UNSPEC_SYNC_EXCHANGE = 61,
  83. UNSPEC_SYNC_EXCHANGE_12 = 62,
  84. UNSPEC_MEMORY_BARRIER = 63,
  85. UNSPEC_ATOMIC_COMPARE_AND_SWAP = 64,
  86. UNSPEC_ATOMIC_EXCHANGE = 65,
  87. UNSPEC_ATOMIC_FETCH_OP = 66,
  88. UNSPEC_MOVE_TF_PS = 67,
  89. UNSPEC_C = 68,
  90. UNSPEC_ALNV_PS = 69,
  91. UNSPEC_CABS = 70,
  92. UNSPEC_ADDR_PS = 71,
  93. UNSPEC_CVT_PW_PS = 72,
  94. UNSPEC_CVT_PS_PW = 73,
  95. UNSPEC_MULR_PS = 74,
  96. UNSPEC_ABS_PS = 75,
  97. UNSPEC_RSQRT1 = 76,
  98. UNSPEC_RSQRT2 = 77,
  99. UNSPEC_RECIP1 = 78,
  100. UNSPEC_RECIP2 = 79,
  101. UNSPEC_SINGLE_CC = 80,
  102. UNSPEC_SCC = 81,
  103. UNSPEC_ADDQ = 82,
  104. UNSPEC_ADDQ_S = 83,
  105. UNSPEC_SUBQ = 84,
  106. UNSPEC_SUBQ_S = 85,
  107. UNSPEC_ADDSC = 86,
  108. UNSPEC_ADDWC = 87,
  109. UNSPEC_MODSUB = 88,
  110. UNSPEC_RADDU_W_QB = 89,
  111. UNSPEC_ABSQ_S = 90,
  112. UNSPEC_PRECRQ_QB_PH = 91,
  113. UNSPEC_PRECRQ_PH_W = 92,
  114. UNSPEC_PRECRQ_RS_PH_W = 93,
  115. UNSPEC_PRECRQU_S_QB_PH = 94,
  116. UNSPEC_PRECEQ_W_PHL = 95,
  117. UNSPEC_PRECEQ_W_PHR = 96,
  118. UNSPEC_PRECEQU_PH_QBL = 97,
  119. UNSPEC_PRECEQU_PH_QBR = 98,
  120. UNSPEC_PRECEQU_PH_QBLA = 99,
  121. UNSPEC_PRECEQU_PH_QBRA = 100,
  122. UNSPEC_PRECEU_PH_QBL = 101,
  123. UNSPEC_PRECEU_PH_QBR = 102,
  124. UNSPEC_PRECEU_PH_QBLA = 103,
  125. UNSPEC_PRECEU_PH_QBRA = 104,
  126. UNSPEC_SHLL = 105,
  127. UNSPEC_SHLL_S = 106,
  128. UNSPEC_SHRL_QB = 107,
  129. UNSPEC_SHRA_PH = 108,
  130. UNSPEC_SHRA_R = 109,
  131. UNSPEC_MULEU_S_PH_QBL = 110,
  132. UNSPEC_MULEU_S_PH_QBR = 111,
  133. UNSPEC_MULQ_RS_PH = 112,
  134. UNSPEC_MULEQ_S_W_PHL = 113,
  135. UNSPEC_MULEQ_S_W_PHR = 114,
  136. UNSPEC_DPAU_H_QBL = 115,
  137. UNSPEC_DPAU_H_QBR = 116,
  138. UNSPEC_DPSU_H_QBL = 117,
  139. UNSPEC_DPSU_H_QBR = 118,
  140. UNSPEC_DPAQ_S_W_PH = 119,
  141. UNSPEC_DPSQ_S_W_PH = 120,
  142. UNSPEC_MULSAQ_S_W_PH = 121,
  143. UNSPEC_DPAQ_SA_L_W = 122,
  144. UNSPEC_DPSQ_SA_L_W = 123,
  145. UNSPEC_MAQ_S_W_PHL = 124,
  146. UNSPEC_MAQ_S_W_PHR = 125,
  147. UNSPEC_MAQ_SA_W_PHL = 126,
  148. UNSPEC_MAQ_SA_W_PHR = 127,
  149. UNSPEC_BITREV = 128,
  150. UNSPEC_INSV = 129,
  151. UNSPEC_REPL_QB = 130,
  152. UNSPEC_REPL_PH = 131,
  153. UNSPEC_CMP_EQ = 132,
  154. UNSPEC_CMP_LT = 133,
  155. UNSPEC_CMP_LE = 134,
  156. UNSPEC_CMPGU_EQ_QB = 135,
  157. UNSPEC_CMPGU_LT_QB = 136,
  158. UNSPEC_CMPGU_LE_QB = 137,
  159. UNSPEC_PICK = 138,
  160. UNSPEC_PACKRL_PH = 139,
  161. UNSPEC_EXTR_W = 140,
  162. UNSPEC_EXTR_R_W = 141,
  163. UNSPEC_EXTR_RS_W = 142,
  164. UNSPEC_EXTR_S_H = 143,
  165. UNSPEC_EXTP = 144,
  166. UNSPEC_EXTPDP = 145,
  167. UNSPEC_SHILO = 146,
  168. UNSPEC_MTHLIP = 147,
  169. UNSPEC_WRDSP = 148,
  170. UNSPEC_RDDSP = 149,
  171. UNSPEC_ABSQ_S_QB = 150,
  172. UNSPEC_ADDU_PH = 151,
  173. UNSPEC_ADDU_S_PH = 152,
  174. UNSPEC_ADDUH_QB = 153,
  175. UNSPEC_ADDUH_R_QB = 154,
  176. UNSPEC_APPEND = 155,
  177. UNSPEC_BALIGN = 156,
  178. UNSPEC_CMPGDU_EQ_QB = 157,
  179. UNSPEC_CMPGDU_LT_QB = 158,
  180. UNSPEC_CMPGDU_LE_QB = 159,
  181. UNSPEC_DPA_W_PH = 160,
  182. UNSPEC_DPS_W_PH = 161,
  183. UNSPEC_MADD = 162,
  184. UNSPEC_MADDU = 163,
  185. UNSPEC_MSUB = 164,
  186. UNSPEC_MSUBU = 165,
  187. UNSPEC_MUL_PH = 166,
  188. UNSPEC_MUL_S_PH = 167,
  189. UNSPEC_MULQ_RS_W = 168,
  190. UNSPEC_MULQ_S_PH = 169,
  191. UNSPEC_MULQ_S_W = 170,
  192. UNSPEC_MULSA_W_PH = 171,
  193. UNSPEC_MULT = 172,
  194. UNSPEC_MULTU = 173,
  195. UNSPEC_PRECR_QB_PH = 174,
  196. UNSPEC_PRECR_SRA_PH_W = 175,
  197. UNSPEC_PRECR_SRA_R_PH_W = 176,
  198. UNSPEC_PREPEND = 177,
  199. UNSPEC_SHRA_QB = 178,
  200. UNSPEC_SHRA_R_QB = 179,
  201. UNSPEC_SHRL_PH = 180,
  202. UNSPEC_SUBU_PH = 181,
  203. UNSPEC_SUBU_S_PH = 182,
  204. UNSPEC_SUBUH_QB = 183,
  205. UNSPEC_SUBUH_R_QB = 184,
  206. UNSPEC_ADDQH_PH = 185,
  207. UNSPEC_ADDQH_R_PH = 186,
  208. UNSPEC_ADDQH_W = 187,
  209. UNSPEC_ADDQH_R_W = 188,
  210. UNSPEC_SUBQH_PH = 189,
  211. UNSPEC_SUBQH_R_PH = 190,
  212. UNSPEC_SUBQH_W = 191,
  213. UNSPEC_SUBQH_R_W = 192,
  214. UNSPEC_DPAX_W_PH = 193,
  215. UNSPEC_DPSX_W_PH = 194,
  216. UNSPEC_DPAQX_S_W_PH = 195,
  217. UNSPEC_DPAQX_SA_W_PH = 196,
  218. UNSPEC_DPSQX_S_W_PH = 197,
  219. UNSPEC_DPSQX_SA_W_PH = 198,
  220. UNSPEC_LOONGSON_PAVG = 199,
  221. UNSPEC_LOONGSON_PCMPEQ = 200,
  222. UNSPEC_LOONGSON_PCMPGT = 201,
  223. UNSPEC_LOONGSON_PEXTR = 202,
  224. UNSPEC_LOONGSON_PINSRH = 203,
  225. UNSPEC_LOONGSON_VINIT = 204,
  226. UNSPEC_LOONGSON_PMADD = 205,
  227. UNSPEC_LOONGSON_PMOVMSK = 206,
  228. UNSPEC_LOONGSON_PMULHU = 207,
  229. UNSPEC_LOONGSON_PMULH = 208,
  230. UNSPEC_LOONGSON_PMULU = 209,
  231. UNSPEC_LOONGSON_PASUBUB = 210,
  232. UNSPEC_LOONGSON_BIADD = 211,
  233. UNSPEC_LOONGSON_PSADBH = 212,
  234. UNSPEC_LOONGSON_PSHUFH = 213,
  235. UNSPEC_LOONGSON_PUNPCKH = 214,
  236. UNSPEC_LOONGSON_PUNPCKL = 215,
  237. UNSPEC_LOONGSON_PADDD = 216,
  238. UNSPEC_LOONGSON_PSUBD = 217,
  239. UNSPEC_LOONGSON_DSLL = 218,
  240. UNSPEC_LOONGSON_DSRL = 219,
  241. UNSPEC_ADDRESS_FIRST = 220
  242. };
  243. #define NUM_UNSPEC_VALUES 221
  244. extern const char *const unspec_strings[];
  245. enum processor {
  246. PROCESSOR_R3000 = 0,
  247. PROCESSOR_4KC = 1,
  248. PROCESSOR_4KP = 2,
  249. PROCESSOR_5KC = 3,
  250. PROCESSOR_5KF = 4,
  251. PROCESSOR_20KC = 5,
  252. PROCESSOR_24KC = 6,
  253. PROCESSOR_24KF2_1 = 7,
  254. PROCESSOR_24KF1_1 = 8,
  255. PROCESSOR_74KC = 9,
  256. PROCESSOR_74KF2_1 = 10,
  257. PROCESSOR_74KF1_1 = 11,
  258. PROCESSOR_74KF3_2 = 12,
  259. PROCESSOR_LOONGSON_2E = 13,
  260. PROCESSOR_LOONGSON_2F = 14,
  261. PROCESSOR_LOONGSON_3A = 15,
  262. PROCESSOR_M4K = 16,
  263. PROCESSOR_OCTEON = 17,
  264. PROCESSOR_OCTEON2 = 18,
  265. PROCESSOR_OCTEON3 = 19,
  266. PROCESSOR_R3900 = 20,
  267. PROCESSOR_R6000 = 21,
  268. PROCESSOR_R4000 = 22,
  269. PROCESSOR_R4100 = 23,
  270. PROCESSOR_R4111 = 24,
  271. PROCESSOR_R4120 = 25,
  272. PROCESSOR_R4130 = 26,
  273. PROCESSOR_R4300 = 27,
  274. PROCESSOR_R4600 = 28,
  275. PROCESSOR_R4650 = 29,
  276. PROCESSOR_R4700 = 30,
  277. PROCESSOR_R5000 = 31,
  278. PROCESSOR_R5400 = 32,
  279. PROCESSOR_R5500 = 33,
  280. PROCESSOR_R5900 = 34,
  281. PROCESSOR_R7000 = 35,
  282. PROCESSOR_R8000 = 36,
  283. PROCESSOR_R9000 = 37,
  284. PROCESSOR_R10000 = 38,
  285. PROCESSOR_SB1 = 39,
  286. PROCESSOR_SB1A = 40,
  287. PROCESSOR_SR71000 = 41,
  288. PROCESSOR_XLR = 42,
  289. PROCESSOR_XLP = 43,
  290. PROCESSOR_P5600 = 44,
  291. PROCESSOR_W32 = 45,
  292. PROCESSOR_W64 = 46
  293. };
  294. #define NUM_PROCESSOR_VALUES 47
  295. extern const char *const processor_strings[];
  296. #endif /* GCC_INSN_CONSTANTS_H */