ia64-opc-i.c 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. /* ia64-opc-i.c -- IA-64 `I' opcode table.
  2. Copyright (C) 1998-2015 Free Software Foundation, Inc.
  3. Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
  4. This file is part of the GNU opcodes library.
  5. This library is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3, or (at your option)
  8. any later version.
  9. It is distributed in the hope that it will be useful, but WITHOUT
  10. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  11. or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  12. License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this file; see the file COPYING. If not, write to the
  15. Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
  16. MA 02110-1301, USA. */
  17. #include "ia64-opc.h"
  18. #define I0 IA64_TYPE_I, 0
  19. #define I IA64_TYPE_I, 1
  20. #define I2 IA64_TYPE_I, 2
  21. /* instruction bit fields: */
  22. #define bC(x) (((ia64_insn) ((x) & 0x1)) << 12)
  23. #define bIh(x) (((ia64_insn) ((x) & 0x1)) << 23)
  24. #define bTa(x) (((ia64_insn) ((x) & 0x1)) << 33)
  25. #define bTag13(x) (((ia64_insn) ((x) & 0x1)) << 33)
  26. #define bTb(x) (((ia64_insn) ((x) & 0x1)) << 36)
  27. #define bVc(x) (((ia64_insn) ((x) & 0x1)) << 20)
  28. #define bVe(x) (((ia64_insn) ((x) & 0x1)) << 32)
  29. #define bWh(x) (((ia64_insn) ((x) & 0x3)) << 20)
  30. #define bX(x) (((ia64_insn) ((x) & 0x1)) << 33)
  31. #define bXb(x) (((ia64_insn) ((x) & 0x1)) << 22)
  32. #define bXc(x) (((ia64_insn) ((x) & 0x1)) << 19)
  33. #define bX2(x) (((ia64_insn) ((x) & 0x3)) << 34)
  34. #define bX2a(x) (((ia64_insn) ((x) & 0x3)) << 34)
  35. #define bX2b(x) (((ia64_insn) ((x) & 0x3)) << 28)
  36. #define bX2c(x) (((ia64_insn) ((x) & 0x3)) << 30)
  37. #define bX3(x) (((ia64_insn) ((x) & 0x7)) << 33)
  38. #define bX6(x) (((ia64_insn) ((x) & 0x3f)) << 27)
  39. #define bYa(x) (((ia64_insn) ((x) & 0x1)) << 13)
  40. #define bYb(x) (((ia64_insn) ((x) & 0x1)) << 26)
  41. #define bZa(x) (((ia64_insn) ((x) & 0x1)) << 36)
  42. #define bZb(x) (((ia64_insn) ((x) & 0x1)) << 33)
  43. /* instruction bit masks: */
  44. #define mC bC (-1)
  45. #define mIh bIh (-1)
  46. #define mTa bTa (-1)
  47. #define mTag13 bTag13 (-1)
  48. #define mTb bTb (-1)
  49. #define mVc bVc (-1)
  50. #define mVe bVe (-1)
  51. #define mWh bWh (-1)
  52. #define mX bX (-1)
  53. #define mXb bXb (-1)
  54. #define mXc bXc (-1)
  55. #define mX2 bX2 (-1)
  56. #define mX2a bX2a (-1)
  57. #define mX2b bX2b (-1)
  58. #define mX2c bX2c (-1)
  59. #define mX3 bX3 (-1)
  60. #define mX6 bX6 (-1)
  61. #define mYa bYa (-1)
  62. #define mYb bYb (-1)
  63. #define mZa bZa (-1)
  64. #define mZb bZb (-1)
  65. #define OpZaZbVeX2aX2b(a,b,c,d,e,f) \
  66. (bOp (a) | bZa (b) | bZb (c) | bVe (d) | bX2a (e) | bX2b (f)), \
  67. (mOp | mZa | mZb | mVe | mX2a | mX2b)
  68. #define OpZaZbVeX2aX2bX2c(a,b,c,d,e,f,g) \
  69. (bOp (a) | bZa (b) | bZb (c) | bVe (d) | bX2a (e) | bX2b (f) | bX2c (g)), \
  70. (mOp | mZa | mZb | mVe | mX2a | mX2b | mX2c)
  71. #define OpX2X(a,b,c) (bOp (a) | bX2 (b) | bX (c)), (mOp | mX2 | mX)
  72. #define OpX2XYa(a,b,c,d) (bOp (a) | bX2 (b) | bX (c) | bYa (d)), \
  73. (mOp | mX2 | mX | mYa)
  74. #define OpX2XYb(a,b,c,d) (bOp (a) | bX2 (b) | bX (c) | bYb (d)), \
  75. (mOp | mX2 | mX | mYb)
  76. #define OpX2TaTbYaC(a,b,c,d,e,f) \
  77. (bOp (a) | bX2 (b) | bTa (c) | bTb (d) | bYa (e) | bC (f)), \
  78. (mOp | mX2 | mTa | mTb | mYa | mC)
  79. #define OpX2TaTbYaXcC(a,b,c,d,e,f,g) \
  80. (bOp (a) | bX2 (b) | bTa (c) | bTb (d) | bYa (e) | bXc (f) | bC (g)), \
  81. (mOp | mX2 | mTa | mTb | mYa | mXc | mC)
  82. #define OpX3(a,b) (bOp (a) | bX3 (b)), (mOp | mX3)
  83. #define OpX3X6(a,b,c) (bOp (a) | bX3 (b) | bX6(c)), \
  84. (mOp | mX3 | mX6)
  85. #define OpX3X6Yb(a,b,c,d) (bOp (a) | bX3 (b) | bX6(c) | bYb(d)), \
  86. (mOp | mX3 | mX6 | mYb)
  87. #define OpX3XbIhWh(a,b,c,d,e) \
  88. (bOp (a) | bX3 (b) | bXb (c) | bIh (d) | bWh (e)), \
  89. (mOp | mX3 | mXb | mIh | mWh)
  90. #define OpX3XbIhWhTag13(a,b,c,d,e,f) \
  91. (bOp (a) | bX3 (b) | bXb (c) | bIh (d) | bWh (e) | bTag13 (f)), \
  92. (mOp | mX3 | mXb | mIh | mWh | mTag13)
  93. #define FULL17 ((ia64_insn)0x10ff001fc0LL)
  94. /* Used to initialise unused fields in ia64_opcode struct,
  95. in order to stop gcc from complaining. */
  96. #define EMPTY 0,0,NULL
  97. struct ia64_opcode ia64_opcodes_i[] =
  98. {
  99. /* I-type instruction encodings (sorted according to major opcode). */
  100. {"break.i", I0, OpX3X6 (0, 0, 0x00), {IMMU21}, X_IN_MLX, 0, NULL},
  101. {"nop.i", I0, OpX3X6Yb (0, 0, 0x01, 0), {IMMU21}, X_IN_MLX, 0, NULL},
  102. {"hint.i", I0, OpX3X6Yb (0, 0, 0x01, 1), {IMMU21}, X_IN_MLX, 0, NULL},
  103. {"chk.s.i", I0, OpX3 (0, 1), {R2, TGT25b}, EMPTY},
  104. {"mov", I, OpX3XbIhWhTag13 (0, 7, 0, 0, 1, 0), {B1, R2}, PSEUDO, 0, NULL},
  105. #define MOV(a,b,c,d) \
  106. I, OpX3XbIhWh (0, a, b, c, d), {B1, R2, TAG13b}, EMPTY
  107. {"mov.sptk", MOV (7, 0, 0, 0)},
  108. {"mov.sptk.imp", MOV (7, 0, 1, 0)},
  109. {"mov", MOV (7, 0, 0, 1)},
  110. {"mov.imp", MOV (7, 0, 1, 1)},
  111. {"mov.dptk", MOV (7, 0, 0, 2)},
  112. {"mov.dptk.imp", MOV (7, 0, 1, 2)},
  113. {"mov.ret.sptk", MOV (7, 1, 0, 0)},
  114. {"mov.ret.sptk.imp", MOV (7, 1, 1, 0)},
  115. {"mov.ret", MOV (7, 1, 0, 1)},
  116. {"mov.ret.imp", MOV (7, 1, 1, 1)},
  117. {"mov.ret.dptk", MOV (7, 1, 0, 2)},
  118. {"mov.ret.dptk.imp", MOV (7, 1, 1, 2)},
  119. #undef MOV
  120. {"mov", I, OpX3X6 (0, 0, 0x31), {R1, B2}, EMPTY},
  121. {"mov", I, OpX3 (0, 3), {PR, R2, IMM17}, EMPTY},
  122. /* Don't remove one of the seemingly redundant FULL17-s. */
  123. {"mov", I, FULL17 | OpX3 (0, 3) | FULL17, {PR, R2}, PSEUDO, 0, NULL},
  124. {"mov", I, OpX3 (0, 2), {PR_ROT, IMM44}, EMPTY},
  125. {"mov", I, OpX3X6 (0, 0, 0x30), {R1, IP}, EMPTY},
  126. {"mov", I, OpX3X6 (0, 0, 0x33), {R1, PR}, EMPTY},
  127. {"mov.i", I, OpX3X6 (0, 0, 0x2a), {AR3, R2}, EMPTY},
  128. {"mov.i", I, OpX3X6 (0, 0, 0x0a), {AR3, IMM8}, EMPTY},
  129. {"mov.i", I, OpX3X6 (0, 0, 0x32), {R1, AR3}, EMPTY},
  130. {"zxt1", I, OpX3X6 (0, 0, 0x10), {R1, R3}, EMPTY},
  131. {"zxt2", I, OpX3X6 (0, 0, 0x11), {R1, R3}, EMPTY},
  132. {"zxt4", I, OpX3X6 (0, 0, 0x12), {R1, R3}, EMPTY},
  133. {"sxt1", I, OpX3X6 (0, 0, 0x14), {R1, R3}, EMPTY},
  134. {"sxt2", I, OpX3X6 (0, 0, 0x15), {R1, R3}, EMPTY},
  135. {"sxt4", I, OpX3X6 (0, 0, 0x16), {R1, R3}, EMPTY},
  136. {"czx1.l", I, OpX3X6 (0, 0, 0x18), {R1, R3}, EMPTY},
  137. {"czx2.l", I, OpX3X6 (0, 0, 0x19), {R1, R3}, EMPTY},
  138. {"czx1.r", I, OpX3X6 (0, 0, 0x1c), {R1, R3}, EMPTY},
  139. {"czx2.r", I, OpX3X6 (0, 0, 0x1d), {R1, R3}, EMPTY},
  140. {"dep", I, Op (4), {R1, R2, R3, CPOS6c, LEN4}, EMPTY},
  141. {"shrp", I, OpX2X (5, 3, 0), {R1, R2, R3, CNT6}, EMPTY},
  142. {"shr.u", I, OpX2XYa (5, 1, 0, 0), {R1, R3, POS6},
  143. PSEUDO | LEN_EQ_64MCNT, 0, NULL},
  144. {"extr.u", I, OpX2XYa (5, 1, 0, 0), {R1, R3, POS6, LEN6}, EMPTY},
  145. {"shr", I, OpX2XYa (5, 1, 0, 1), {R1, R3, POS6},
  146. PSEUDO | LEN_EQ_64MCNT, 0, NULL},
  147. {"extr", I, OpX2XYa (5, 1, 0, 1), {R1, R3, POS6, LEN6}, EMPTY},
  148. {"shl", I, OpX2XYb (5, 1, 1, 0), {R1, R2, CPOS6a},
  149. PSEUDO | LEN_EQ_64MCNT, 0, NULL},
  150. {"dep.z", I, OpX2XYb (5, 1, 1, 0), {R1, R2, CPOS6a, LEN6}, EMPTY},
  151. {"dep.z", I, OpX2XYb (5, 1, 1, 1), {R1, IMM8, CPOS6a, LEN6}, EMPTY},
  152. {"dep", I, OpX2X (5, 3, 1), {R1, IMM1, R3, CPOS6b, LEN6}, EMPTY},
  153. #define TF(a,b,c) \
  154. I2, OpX2TaTbYaXcC (5, 0, a, b, 1, 1, c), {P1, P2, IMMU5b}, EMPTY
  155. #define TFCM(a,b,c) \
  156. I2, OpX2TaTbYaXcC (5, 0, a, b, 1, 1, c), {P2, P1, IMMU5b}, PSEUDO, 0, NULL
  157. {"tf.z", TF (0, 0, 0)},
  158. {"tf.nz", TFCM (0, 0, 0)},
  159. {"tf.z.unc", TF (0, 0, 1)},
  160. {"tf.nz.unc", TFCM (0, 0, 1)},
  161. {"tf.z.and", TF (0, 1, 0)},
  162. {"tf.nz.andcm", TFCM (0, 1, 0)},
  163. {"tf.nz.and", TF (0, 1, 1)},
  164. {"tf.z.andcm", TFCM (0, 1, 1)},
  165. {"tf.z.or", TF (1, 0, 0)},
  166. {"tf.nz.orcm", TFCM (1, 0, 0)},
  167. {"tf.nz.or", TF (1, 0, 1)},
  168. {"tf.z.orcm", TFCM (1, 0, 1)},
  169. {"tf.z.or.andcm", TF (1, 1, 0)},
  170. {"tf.nz.and.orcm", TFCM (1, 1, 0)},
  171. {"tf.nz.or.andcm", TF (1, 1, 1)},
  172. {"tf.z.and.orcm", TFCM (1, 1, 1)},
  173. #undef TF
  174. #undef TFCM
  175. #define TBIT(a,b,c,d) \
  176. I2, OpX2TaTbYaC (5, 0, a, b, c, d), {P1, P2, R3, POS6}, EMPTY
  177. #define TBITCM(a,b,c,d) \
  178. I2, OpX2TaTbYaC (5, 0, a, b, c, d), {P2, P1, R3, POS6}, PSEUDO, 0, NULL
  179. {"tbit.z", TBIT (0, 0, 0, 0)},
  180. {"tbit.nz", TBITCM (0, 0, 0, 0)},
  181. {"tbit.z.unc", TBIT (0, 0, 0, 1)},
  182. {"tbit.nz.unc", TBITCM (0, 0, 0, 1)},
  183. {"tbit.z.and", TBIT (0, 1, 0, 0)},
  184. {"tbit.nz.andcm", TBITCM (0, 1, 0, 0)},
  185. {"tbit.nz.and", TBIT (0, 1, 0, 1)},
  186. {"tbit.z.andcm", TBITCM (0, 1, 0, 1)},
  187. {"tbit.z.or", TBIT (1, 0, 0, 0)},
  188. {"tbit.nz.orcm", TBITCM (1, 0, 0, 0)},
  189. {"tbit.nz.or", TBIT (1, 0, 0, 1)},
  190. {"tbit.z.orcm", TBITCM (1, 0, 0, 1)},
  191. {"tbit.z.or.andcm", TBIT (1, 1, 0, 0)},
  192. {"tbit.nz.and.orcm", TBITCM (1, 1, 0, 0)},
  193. {"tbit.nz.or.andcm", TBIT (1, 1, 0, 1)},
  194. {"tbit.z.and.orcm", TBITCM (1, 1, 0, 1)},
  195. #undef TBIT
  196. #undef TBITCM
  197. #define TNAT(a,b,c,d) \
  198. I2, OpX2TaTbYaC (5, 0, a, b, c, d), {P1, P2, R3}, EMPTY
  199. #define TNATCM(a,b,c,d) \
  200. I2, OpX2TaTbYaC (5, 0, a, b, c, d), {P2, P1, R3}, PSEUDO, 0, NULL
  201. {"tnat.z", TNAT (0, 0, 1, 0)},
  202. {"tnat.nz", TNATCM (0, 0, 1, 0)},
  203. {"tnat.z.unc", TNAT (0, 0, 1, 1)},
  204. {"tnat.nz.unc", TNATCM (0, 0, 1, 1)},
  205. {"tnat.z.and", TNAT (0, 1, 1, 0)},
  206. {"tnat.nz.andcm", TNATCM (0, 1, 1, 0)},
  207. {"tnat.nz.and", TNAT (0, 1, 1, 1)},
  208. {"tnat.z.andcm", TNATCM (0, 1, 1, 1)},
  209. {"tnat.z.or", TNAT (1, 0, 1, 0)},
  210. {"tnat.nz.orcm", TNATCM (1, 0, 1, 0)},
  211. {"tnat.nz.or", TNAT (1, 0, 1, 1)},
  212. {"tnat.z.orcm", TNATCM (1, 0, 1, 1)},
  213. {"tnat.z.or.andcm", TNAT (1, 1, 1, 0)},
  214. {"tnat.nz.and.orcm", TNATCM (1, 1, 1, 0)},
  215. {"tnat.nz.or.andcm", TNAT (1, 1, 1, 1)},
  216. {"tnat.z.and.orcm", TNATCM (1, 1, 1, 1)},
  217. #undef TNAT
  218. #undef TNATCM
  219. {"pmpyshr2", I, OpZaZbVeX2aX2b (7, 0, 1, 0, 0, 3), {R1, R2, R3, CNT2c}, EMPTY},
  220. {"pmpyshr2.u", I, OpZaZbVeX2aX2b (7, 0, 1, 0, 0, 1), {R1, R2, R3, CNT2c}, EMPTY},
  221. {"pmpy2.r", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 1, 3), {R1, R2, R3}, EMPTY},
  222. {"pmpy2.l", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 3, 3), {R1, R2, R3}, EMPTY},
  223. {"mix1.r", I, OpZaZbVeX2aX2bX2c (7, 0, 0, 0, 2, 0, 2), {R1, R2, R3}, EMPTY},
  224. {"mix2.r", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 0, 2), {R1, R2, R3}, EMPTY},
  225. {"mix4.r", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 2, 0, 2), {R1, R2, R3}, EMPTY},
  226. {"mix1.l", I, OpZaZbVeX2aX2bX2c (7, 0, 0, 0, 2, 2, 2), {R1, R2, R3}, EMPTY},
  227. {"mix2.l", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 2, 2), {R1, R2, R3}, EMPTY},
  228. {"mix4.l", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 2, 2, 2), {R1, R2, R3}, EMPTY},
  229. {"pack2.uss", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 0, 0), {R1, R2, R3}, EMPTY},
  230. {"pack2.sss", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 2, 0), {R1, R2, R3}, EMPTY},
  231. {"pack4.sss", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 2, 2, 0), {R1, R2, R3}, EMPTY},
  232. {"unpack1.h", I, OpZaZbVeX2aX2bX2c (7, 0, 0, 0, 2, 0, 1), {R1, R2, R3}, EMPTY},
  233. {"unpack2.h", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 0, 1), {R1, R2, R3}, EMPTY},
  234. {"unpack4.h", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 2, 0, 1), {R1, R2, R3}, EMPTY},
  235. {"unpack1.l", I, OpZaZbVeX2aX2bX2c (7, 0, 0, 0, 2, 2, 1), {R1, R2, R3}, EMPTY},
  236. {"unpack2.l", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 2, 1), {R1, R2, R3}, EMPTY},
  237. {"unpack4.l", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 2, 2, 1), {R1, R2, R3}, EMPTY},
  238. {"pmin1.u", I, OpZaZbVeX2aX2bX2c (7, 0, 0, 0, 2, 1, 0), {R1, R2, R3}, EMPTY},
  239. {"pmax1.u", I, OpZaZbVeX2aX2bX2c (7, 0, 0, 0, 2, 1, 1), {R1, R2, R3}, EMPTY},
  240. {"pmin2", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 3, 0), {R1, R2, R3}, EMPTY},
  241. {"pmax2", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 2, 3, 1), {R1, R2, R3}, EMPTY},
  242. {"psad1", I, OpZaZbVeX2aX2bX2c (7, 0, 0, 0, 2, 3, 2), {R1, R2, R3}, EMPTY},
  243. {"mux1", I, OpZaZbVeX2aX2bX2c (7, 0, 0, 0, 3, 2, 2), {R1, R2, MBTYPE4}, EMPTY},
  244. {"mux2", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 3, 2, 2), {R1, R2, MHTYPE8}, EMPTY},
  245. {"pshr2", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 0, 2, 0), {R1, R3, R2}, EMPTY},
  246. {"pshr4", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 0, 2, 0), {R1, R3, R2}, EMPTY},
  247. {"shr", I, OpZaZbVeX2aX2bX2c (7, 1, 1, 0, 0, 2, 0), {R1, R3, R2}, EMPTY},
  248. {"pshr2.u", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 0, 0, 0), {R1, R3, R2}, EMPTY},
  249. {"pshr4.u", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 0, 0, 0), {R1, R3, R2}, EMPTY},
  250. {"shr.u", I, OpZaZbVeX2aX2bX2c (7, 1, 1, 0, 0, 0, 0), {R1, R3, R2}, EMPTY},
  251. {"pshr2", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 1, 3, 0), {R1, R3, CNT5}, EMPTY},
  252. {"pshr4", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 1, 3, 0), {R1, R3, CNT5}, EMPTY},
  253. {"pshr2.u", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 1, 1, 0), {R1, R3, CNT5}, EMPTY},
  254. {"pshr4.u", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 1, 1, 0), {R1, R3, CNT5}, EMPTY},
  255. {"pshl2", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 0, 0, 1), {R1, R2, R3}, EMPTY},
  256. {"pshl4", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 0, 0, 1), {R1, R2, R3}, EMPTY},
  257. {"shl", I, OpZaZbVeX2aX2bX2c (7, 1, 1, 0, 0, 0, 1), {R1, R2, R3}, EMPTY},
  258. {"mpy4", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 0, 1, 3), {R1, R2, R3}, EMPTY},
  259. {"mpyshl4", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 0, 3, 3), {R1, R2, R3}, EMPTY},
  260. {"pshl2", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 3, 1, 1), {R1, R2, CCNT5}, EMPTY},
  261. {"pshl4", I, OpZaZbVeX2aX2bX2c (7, 1, 0, 0, 3, 1, 1), {R1, R2, CCNT5}, EMPTY},
  262. {"popcnt", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 1, 1, 2), {R1, R3}, EMPTY},
  263. {"clz", I, OpZaZbVeX2aX2bX2c (7, 0, 1, 0, 1, 1, 3), {R1, R3}, EMPTY},
  264. {NULL, 0, 0, 0, 0, {0}, 0, 0, NULL}
  265. };
  266. #undef I0
  267. #undef I
  268. #undef I2
  269. #undef L
  270. #undef bC
  271. #undef bIh
  272. #undef bTa
  273. #undef bTag13
  274. #undef bTb
  275. #undef bVc
  276. #undef bVe
  277. #undef bWh
  278. #undef bX
  279. #undef bXb
  280. #undef bX2
  281. #undef bX2a
  282. #undef bX2b
  283. #undef bX2c
  284. #undef bX3
  285. #undef bX6
  286. #undef bY
  287. #undef bZa
  288. #undef bZb
  289. #undef mC
  290. #undef mIh
  291. #undef mTa
  292. #undef mTag13
  293. #undef mTb
  294. #undef mVc
  295. #undef mVe
  296. #undef mWh
  297. #undef mX
  298. #undef mXb
  299. #undef mX2
  300. #undef mX2a
  301. #undef mX2b
  302. #undef mX2c
  303. #undef mX3
  304. #undef mX6
  305. #undef mY
  306. #undef mZa
  307. #undef mZb
  308. #undef OpZaZbVeX2aX2b
  309. #undef OpZaZbVeX2aX2bX2c
  310. #undef OpX2X
  311. #undef OpX2XYa
  312. #undef OpX2XYb
  313. #undef OpX2TaTbYaC
  314. #undef OpX3
  315. #undef OpX3X6
  316. #undef OpX3XbIhWh
  317. #undef OpX3XbIhWhTag13
  318. #undef EMPTY