fisk 1.0.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1255) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +35 -0
  3. data/CODE_OF_CONDUCT.md +78 -0
  4. data/Gemfile +1 -2
  5. data/README.md +59 -4
  6. data/Rakefile +13 -5
  7. data/bin/build-machine.rb +58 -2
  8. data/bin/instruction.rb.erb +65 -0
  9. data/bin/instructions.rb.erb +66 -0
  10. data/fisk.gemspec +21 -0
  11. data/lib/fisk/basic_block.rb +162 -0
  12. data/lib/fisk/encoding.rb +127 -0
  13. data/lib/fisk/errors.rb +35 -0
  14. data/lib/fisk/helpers.rb +40 -2
  15. data/lib/fisk/instructions/adc.rb +726 -0
  16. data/lib/fisk/instructions/adcx.rb +109 -0
  17. data/lib/fisk/instructions/add.rb +726 -0
  18. data/lib/fisk/instructions/addpd.rb +57 -0
  19. data/lib/fisk/instructions/addps.rb +55 -0
  20. data/lib/fisk/instructions/addsd.rb +57 -0
  21. data/lib/fisk/instructions/addss.rb +57 -0
  22. data/lib/fisk/instructions/addsubpd.rb +57 -0
  23. data/lib/fisk/instructions/addsubps.rb +57 -0
  24. data/lib/fisk/instructions/adox.rb +109 -0
  25. data/lib/fisk/instructions/aesdec.rb +59 -0
  26. data/lib/fisk/instructions/aesdeclast.rb +59 -0
  27. data/lib/fisk/instructions/aesenc.rb +59 -0
  28. data/lib/fisk/instructions/aesenclast.rb +59 -0
  29. data/lib/fisk/instructions/aesimc.rb +59 -0
  30. data/lib/fisk/instructions/aeskeygenassist.rb +63 -0
  31. data/lib/fisk/instructions/and.rb +726 -0
  32. data/lib/fisk/instructions/andn.rb +81 -0
  33. data/lib/fisk/instructions/andnpd.rb +57 -0
  34. data/lib/fisk/instructions/andnps.rb +55 -0
  35. data/lib/fisk/instructions/andpd.rb +57 -0
  36. data/lib/fisk/instructions/andps.rb +55 -0
  37. data/lib/fisk/instructions/bextr.rb +157 -0
  38. data/lib/fisk/instructions/blcfill.rb +77 -0
  39. data/lib/fisk/instructions/blci.rb +77 -0
  40. data/lib/fisk/instructions/blcic.rb +77 -0
  41. data/lib/fisk/instructions/blcmsk.rb +77 -0
  42. data/lib/fisk/instructions/blcs.rb +77 -0
  43. data/lib/fisk/instructions/blendpd.rb +63 -0
  44. data/lib/fisk/instructions/blendps.rb +63 -0
  45. data/lib/fisk/instructions/blendvpd.rb +61 -0
  46. data/lib/fisk/instructions/blendvps.rb +61 -0
  47. data/lib/fisk/instructions/blsfill.rb +77 -0
  48. data/lib/fisk/instructions/blsi.rb +77 -0
  49. data/lib/fisk/instructions/blsic.rb +77 -0
  50. data/lib/fisk/instructions/blsmsk.rb +77 -0
  51. data/lib/fisk/instructions/blsr.rb +77 -0
  52. data/lib/fisk/instructions/bsf.rb +149 -0
  53. data/lib/fisk/instructions/bsr.rb +149 -0
  54. data/lib/fisk/instructions/bswap.rb +45 -0
  55. data/lib/fisk/instructions/bt.rb +295 -0
  56. data/lib/fisk/instructions/btc.rb +295 -0
  57. data/lib/fisk/instructions/btr.rb +295 -0
  58. data/lib/fisk/instructions/bts.rb +295 -0
  59. data/lib/fisk/instructions/bzhi.rb +81 -0
  60. data/lib/fisk/instructions/call.rb +63 -0
  61. data/lib/fisk/instructions/cbw.rb +20 -0
  62. data/lib/fisk/instructions/cdq.rb +19 -0
  63. data/lib/fisk/instructions/cdqe.rb +25 -0
  64. data/lib/fisk/instructions/clc.rb +19 -0
  65. data/lib/fisk/instructions/cld.rb +19 -0
  66. data/lib/fisk/instructions/clflush.rb +31 -0
  67. data/lib/fisk/instructions/clflushopt.rb +32 -0
  68. data/lib/fisk/instructions/clwb.rb +32 -0
  69. data/lib/fisk/instructions/clzero.rb +21 -0
  70. data/lib/fisk/instructions/cmc.rb +19 -0
  71. data/lib/fisk/instructions/cmova.rb +149 -0
  72. data/lib/fisk/instructions/cmovae.rb +149 -0
  73. data/lib/fisk/instructions/cmovb.rb +149 -0
  74. data/lib/fisk/instructions/cmovbe.rb +149 -0
  75. data/lib/fisk/instructions/cmovc.rb +149 -0
  76. data/lib/fisk/instructions/cmove.rb +149 -0
  77. data/lib/fisk/instructions/cmovg.rb +149 -0
  78. data/lib/fisk/instructions/cmovge.rb +149 -0
  79. data/lib/fisk/instructions/cmovl.rb +149 -0
  80. data/lib/fisk/instructions/cmovle.rb +149 -0
  81. data/lib/fisk/instructions/cmovna.rb +149 -0
  82. data/lib/fisk/instructions/cmovnae.rb +149 -0
  83. data/lib/fisk/instructions/cmovnb.rb +149 -0
  84. data/lib/fisk/instructions/cmovnbe.rb +149 -0
  85. data/lib/fisk/instructions/cmovnc.rb +149 -0
  86. data/lib/fisk/instructions/cmovne.rb +149 -0
  87. data/lib/fisk/instructions/cmovng.rb +149 -0
  88. data/lib/fisk/instructions/cmovnge.rb +149 -0
  89. data/lib/fisk/instructions/cmovnl.rb +149 -0
  90. data/lib/fisk/instructions/cmovnle.rb +149 -0
  91. data/lib/fisk/instructions/cmovno.rb +149 -0
  92. data/lib/fisk/instructions/cmovnp.rb +149 -0
  93. data/lib/fisk/instructions/cmovns.rb +149 -0
  94. data/lib/fisk/instructions/cmovnz.rb +149 -0
  95. data/lib/fisk/instructions/cmovo.rb +149 -0
  96. data/lib/fisk/instructions/cmovp.rb +149 -0
  97. data/lib/fisk/instructions/cmovpe.rb +149 -0
  98. data/lib/fisk/instructions/cmovpo.rb +149 -0
  99. data/lib/fisk/instructions/cmovs.rb +149 -0
  100. data/lib/fisk/instructions/cmovz.rb +149 -0
  101. data/lib/fisk/instructions/cmp.rb +726 -0
  102. data/lib/fisk/instructions/cmppd.rb +61 -0
  103. data/lib/fisk/instructions/cmpps.rb +59 -0
  104. data/lib/fisk/instructions/cmpsd.rb +61 -0
  105. data/lib/fisk/instructions/cmpss.rb +61 -0
  106. data/lib/fisk/instructions/cmpxchg.rb +195 -0
  107. data/lib/fisk/instructions/cmpxchg16b.rb +31 -0
  108. data/lib/fisk/instructions/cmpxchg8b.rb +31 -0
  109. data/lib/fisk/instructions/comisd.rb +57 -0
  110. data/lib/fisk/instructions/comiss.rb +55 -0
  111. data/lib/fisk/instructions/cpuid.rb +20 -0
  112. data/lib/fisk/instructions/cqo.rb +25 -0
  113. data/lib/fisk/instructions/crc32.rb +261 -0
  114. data/lib/fisk/instructions/cvtdq2pd.rb +57 -0
  115. data/lib/fisk/instructions/cvtdq2ps.rb +55 -0
  116. data/lib/fisk/instructions/cvtpd2dq.rb +57 -0
  117. data/lib/fisk/instructions/cvtpd2pi.rb +57 -0
  118. data/lib/fisk/instructions/cvtpd2ps.rb +57 -0
  119. data/lib/fisk/instructions/cvtpi2pd.rb +57 -0
  120. data/lib/fisk/instructions/cvtpi2ps.rb +55 -0
  121. data/lib/fisk/instructions/cvtps2dq.rb +57 -0
  122. data/lib/fisk/instructions/cvtps2pd.rb +55 -0
  123. data/lib/fisk/instructions/cvtps2pi.rb +55 -0
  124. data/lib/fisk/instructions/cvtsd2si.rb +105 -0
  125. data/lib/fisk/instructions/cvtsd2ss.rb +57 -0
  126. data/lib/fisk/instructions/cvtsi2sd.rb +105 -0
  127. data/lib/fisk/instructions/cvtsi2ss.rb +105 -0
  128. data/lib/fisk/instructions/cvtss2sd.rb +57 -0
  129. data/lib/fisk/instructions/cvtss2si.rb +105 -0
  130. data/lib/fisk/instructions/cvttpd2dq.rb +57 -0
  131. data/lib/fisk/instructions/cvttpd2pi.rb +57 -0
  132. data/lib/fisk/instructions/cvttps2dq.rb +57 -0
  133. data/lib/fisk/instructions/cvttps2pi.rb +55 -0
  134. data/lib/fisk/instructions/cvttsd2si.rb +105 -0
  135. data/lib/fisk/instructions/cvttss2si.rb +105 -0
  136. data/lib/fisk/instructions/cwd.rb +20 -0
  137. data/lib/fisk/instructions/cwde.rb +19 -0
  138. data/lib/fisk/instructions/dec.rb +179 -0
  139. data/lib/fisk/instructions/div.rb +179 -0
  140. data/lib/fisk/instructions/divpd.rb +57 -0
  141. data/lib/fisk/instructions/divps.rb +55 -0
  142. data/lib/fisk/instructions/divsd.rb +57 -0
  143. data/lib/fisk/instructions/divss.rb +57 -0
  144. data/lib/fisk/instructions/dppd.rb +63 -0
  145. data/lib/fisk/instructions/dpps.rb +63 -0
  146. data/lib/fisk/instructions/emms.rb +20 -0
  147. data/lib/fisk/instructions/extractps.rb +63 -0
  148. data/lib/fisk/instructions/extrq.rb +60 -0
  149. data/lib/fisk/instructions/femms.rb +20 -0
  150. data/lib/fisk/instructions/haddpd.rb +57 -0
  151. data/lib/fisk/instructions/haddps.rb +57 -0
  152. data/lib/fisk/instructions/hsubpd.rb +57 -0
  153. data/lib/fisk/instructions/hsubps.rb +57 -0
  154. data/lib/fisk/instructions/idiv.rb +179 -0
  155. data/lib/fisk/instructions/imul.rb +611 -0
  156. data/lib/fisk/instructions/inc.rb +179 -0
  157. data/lib/fisk/instructions/insertps.rb +63 -0
  158. data/lib/fisk/instructions/insertq.rb +61 -0
  159. data/lib/fisk/instructions/int.rb +32 -0
  160. data/lib/fisk/instructions/ja.rb +34 -0
  161. data/lib/fisk/instructions/jae.rb +34 -0
  162. data/lib/fisk/instructions/jb.rb +34 -0
  163. data/lib/fisk/instructions/jbe.rb +34 -0
  164. data/lib/fisk/instructions/jc.rb +34 -0
  165. data/lib/fisk/instructions/je.rb +34 -0
  166. data/lib/fisk/instructions/jecxz.rb +21 -0
  167. data/lib/fisk/instructions/jg.rb +34 -0
  168. data/lib/fisk/instructions/jge.rb +34 -0
  169. data/lib/fisk/instructions/jl.rb +34 -0
  170. data/lib/fisk/instructions/jle.rb +34 -0
  171. data/lib/fisk/instructions/jmp.rb +75 -0
  172. data/lib/fisk/instructions/jna.rb +34 -0
  173. data/lib/fisk/instructions/jnae.rb +34 -0
  174. data/lib/fisk/instructions/jnb.rb +34 -0
  175. data/lib/fisk/instructions/jnbe.rb +34 -0
  176. data/lib/fisk/instructions/jnc.rb +34 -0
  177. data/lib/fisk/instructions/jne.rb +34 -0
  178. data/lib/fisk/instructions/jng.rb +34 -0
  179. data/lib/fisk/instructions/jnge.rb +34 -0
  180. data/lib/fisk/instructions/jnl.rb +34 -0
  181. data/lib/fisk/instructions/jnle.rb +34 -0
  182. data/lib/fisk/instructions/jno.rb +34 -0
  183. data/lib/fisk/instructions/jnp.rb +34 -0
  184. data/lib/fisk/instructions/jns.rb +34 -0
  185. data/lib/fisk/instructions/jnz.rb +34 -0
  186. data/lib/fisk/instructions/jo.rb +34 -0
  187. data/lib/fisk/instructions/jp.rb +34 -0
  188. data/lib/fisk/instructions/jpe.rb +34 -0
  189. data/lib/fisk/instructions/jpo.rb +34 -0
  190. data/lib/fisk/instructions/jrcxz.rb +21 -0
  191. data/lib/fisk/instructions/js.rb +34 -0
  192. data/lib/fisk/instructions/jz.rb +34 -0
  193. data/lib/fisk/instructions/kaddb.rb +27 -0
  194. data/lib/fisk/instructions/kaddd.rb +27 -0
  195. data/lib/fisk/instructions/kaddq.rb +27 -0
  196. data/lib/fisk/instructions/kaddw.rb +27 -0
  197. data/lib/fisk/instructions/kandb.rb +27 -0
  198. data/lib/fisk/instructions/kandd.rb +27 -0
  199. data/lib/fisk/instructions/kandnb.rb +27 -0
  200. data/lib/fisk/instructions/kandnd.rb +27 -0
  201. data/lib/fisk/instructions/kandnq.rb +27 -0
  202. data/lib/fisk/instructions/kandnw.rb +27 -0
  203. data/lib/fisk/instructions/kandq.rb +27 -0
  204. data/lib/fisk/instructions/kandw.rb +27 -0
  205. data/lib/fisk/instructions/kmovb.rb +94 -0
  206. data/lib/fisk/instructions/kmovd.rb +94 -0
  207. data/lib/fisk/instructions/kmovq.rb +94 -0
  208. data/lib/fisk/instructions/kmovw.rb +94 -0
  209. data/lib/fisk/instructions/knotb.rb +26 -0
  210. data/lib/fisk/instructions/knotd.rb +26 -0
  211. data/lib/fisk/instructions/knotq.rb +26 -0
  212. data/lib/fisk/instructions/knotw.rb +26 -0
  213. data/lib/fisk/instructions/korb.rb +27 -0
  214. data/lib/fisk/instructions/kord.rb +27 -0
  215. data/lib/fisk/instructions/korq.rb +27 -0
  216. data/lib/fisk/instructions/kortestb.rb +26 -0
  217. data/lib/fisk/instructions/kortestd.rb +26 -0
  218. data/lib/fisk/instructions/kortestq.rb +26 -0
  219. data/lib/fisk/instructions/kortestw.rb +26 -0
  220. data/lib/fisk/instructions/korw.rb +27 -0
  221. data/lib/fisk/instructions/kshiftlb.rb +28 -0
  222. data/lib/fisk/instructions/kshiftld.rb +28 -0
  223. data/lib/fisk/instructions/kshiftlq.rb +28 -0
  224. data/lib/fisk/instructions/kshiftlw.rb +28 -0
  225. data/lib/fisk/instructions/kshiftrb.rb +28 -0
  226. data/lib/fisk/instructions/kshiftrd.rb +28 -0
  227. data/lib/fisk/instructions/kshiftrq.rb +28 -0
  228. data/lib/fisk/instructions/kshiftrw.rb +28 -0
  229. data/lib/fisk/instructions/ktestb.rb +26 -0
  230. data/lib/fisk/instructions/ktestd.rb +26 -0
  231. data/lib/fisk/instructions/ktestq.rb +26 -0
  232. data/lib/fisk/instructions/ktestw.rb +26 -0
  233. data/lib/fisk/instructions/kunpckbw.rb +27 -0
  234. data/lib/fisk/instructions/kunpckdq.rb +27 -0
  235. data/lib/fisk/instructions/kunpckwd.rb +27 -0
  236. data/lib/fisk/instructions/kxnorb.rb +27 -0
  237. data/lib/fisk/instructions/kxnord.rb +27 -0
  238. data/lib/fisk/instructions/kxnorq.rb +27 -0
  239. data/lib/fisk/instructions/kxnorw.rb +27 -0
  240. data/lib/fisk/instructions/kxorb.rb +27 -0
  241. data/lib/fisk/instructions/kxord.rb +27 -0
  242. data/lib/fisk/instructions/kxorq.rb +27 -0
  243. data/lib/fisk/instructions/kxorw.rb +27 -0
  244. data/lib/fisk/instructions/lddqu.rb +33 -0
  245. data/lib/fisk/instructions/ldmxcsr.rb +31 -0
  246. data/lib/fisk/instructions/lea.rb +76 -0
  247. data/lib/fisk/instructions/lfence.rb +21 -0
  248. data/lib/fisk/instructions/lzcnt.rb +155 -0
  249. data/lib/fisk/instructions/maskmovdqu.rb +33 -0
  250. data/lib/fisk/instructions/maskmovq.rb +32 -0
  251. data/lib/fisk/instructions/maxpd.rb +57 -0
  252. data/lib/fisk/instructions/maxps.rb +55 -0
  253. data/lib/fisk/instructions/maxsd.rb +57 -0
  254. data/lib/fisk/instructions/maxss.rb +57 -0
  255. data/lib/fisk/instructions/mfence.rb +21 -0
  256. data/lib/fisk/instructions/minpd.rb +57 -0
  257. data/lib/fisk/instructions/minps.rb +55 -0
  258. data/lib/fisk/instructions/minsd.rb +57 -0
  259. data/lib/fisk/instructions/minss.rb +57 -0
  260. data/lib/fisk/instructions/monitor.rb +21 -0
  261. data/lib/fisk/instructions/monitorx.rb +21 -0
  262. data/lib/fisk/instructions/mov.rb +650 -0
  263. data/lib/fisk/instructions/movapd.rb +99 -0
  264. data/lib/fisk/instructions/movaps.rb +95 -0
  265. data/lib/fisk/instructions/movbe.rb +155 -0
  266. data/lib/fisk/instructions/movd.rb +197 -0
  267. data/lib/fisk/instructions/movddup.rb +57 -0
  268. data/lib/fisk/instructions/movdq2q.rb +33 -0
  269. data/lib/fisk/instructions/movdqa.rb +99 -0
  270. data/lib/fisk/instructions/movdqu.rb +99 -0
  271. data/lib/fisk/instructions/movhlps.rb +32 -0
  272. data/lib/fisk/instructions/movhpd.rb +57 -0
  273. data/lib/fisk/instructions/movhps.rb +55 -0
  274. data/lib/fisk/instructions/movlhps.rb +32 -0
  275. data/lib/fisk/instructions/movlpd.rb +57 -0
  276. data/lib/fisk/instructions/movlps.rb +55 -0
  277. data/lib/fisk/instructions/movmskpd.rb +33 -0
  278. data/lib/fisk/instructions/movmskps.rb +32 -0
  279. data/lib/fisk/instructions/movntdq.rb +33 -0
  280. data/lib/fisk/instructions/movntdqa.rb +34 -0
  281. data/lib/fisk/instructions/movnti.rb +55 -0
  282. data/lib/fisk/instructions/movntpd.rb +33 -0
  283. data/lib/fisk/instructions/movntps.rb +32 -0
  284. data/lib/fisk/instructions/movntq.rb +32 -0
  285. data/lib/fisk/instructions/movntsd.rb +33 -0
  286. data/lib/fisk/instructions/movntss.rb +33 -0
  287. data/lib/fisk/instructions/movq.rb +349 -0
  288. data/lib/fisk/instructions/movq2dq.rb +33 -0
  289. data/lib/fisk/instructions/movsd.rb +99 -0
  290. data/lib/fisk/instructions/movshdup.rb +57 -0
  291. data/lib/fisk/instructions/movsldup.rb +57 -0
  292. data/lib/fisk/instructions/movss.rb +99 -0
  293. data/lib/fisk/instructions/movsx.rb +241 -0
  294. data/lib/fisk/instructions/movsxd.rb +53 -0
  295. data/lib/fisk/instructions/movupd.rb +99 -0
  296. data/lib/fisk/instructions/movups.rb +95 -0
  297. data/lib/fisk/instructions/movzx.rb +241 -0
  298. data/lib/fisk/instructions/mpsadbw.rb +63 -0
  299. data/lib/fisk/instructions/mul.rb +179 -0
  300. data/lib/fisk/instructions/mulpd.rb +57 -0
  301. data/lib/fisk/instructions/mulps.rb +55 -0
  302. data/lib/fisk/instructions/mulsd.rb +57 -0
  303. data/lib/fisk/instructions/mulss.rb +57 -0
  304. data/lib/fisk/instructions/mulx.rb +81 -0
  305. data/lib/fisk/instructions/mwait.rb +21 -0
  306. data/lib/fisk/instructions/mwaitx.rb +21 -0
  307. data/lib/fisk/instructions/neg.rb +179 -0
  308. data/lib/fisk/instructions/nop.rb +19 -0
  309. data/lib/fisk/instructions/not.rb +179 -0
  310. data/lib/fisk/instructions/or.rb +726 -0
  311. data/lib/fisk/instructions/orpd.rb +57 -0
  312. data/lib/fisk/instructions/orps.rb +55 -0
  313. data/lib/fisk/instructions/pabsb.rb +107 -0
  314. data/lib/fisk/instructions/pabsd.rb +107 -0
  315. data/lib/fisk/instructions/pabsw.rb +107 -0
  316. data/lib/fisk/instructions/packssdw.rb +103 -0
  317. data/lib/fisk/instructions/packsswb.rb +103 -0
  318. data/lib/fisk/instructions/packusdw.rb +59 -0
  319. data/lib/fisk/instructions/packuswb.rb +103 -0
  320. data/lib/fisk/instructions/paddb.rb +103 -0
  321. data/lib/fisk/instructions/paddd.rb +103 -0
  322. data/lib/fisk/instructions/paddq.rb +103 -0
  323. data/lib/fisk/instructions/paddsb.rb +103 -0
  324. data/lib/fisk/instructions/paddsw.rb +103 -0
  325. data/lib/fisk/instructions/paddusb.rb +103 -0
  326. data/lib/fisk/instructions/paddusw.rb +103 -0
  327. data/lib/fisk/instructions/paddw.rb +103 -0
  328. data/lib/fisk/instructions/palignr.rb +115 -0
  329. data/lib/fisk/instructions/pand.rb +103 -0
  330. data/lib/fisk/instructions/pandn.rb +103 -0
  331. data/lib/fisk/instructions/pause.rb +20 -0
  332. data/lib/fisk/instructions/pavgb.rb +103 -0
  333. data/lib/fisk/instructions/pavgusb.rb +57 -0
  334. data/lib/fisk/instructions/pavgw.rb +103 -0
  335. data/lib/fisk/instructions/pblendvb.rb +61 -0
  336. data/lib/fisk/instructions/pblendw.rb +63 -0
  337. data/lib/fisk/instructions/pclmulqdq.rb +63 -0
  338. data/lib/fisk/instructions/pcmpeqb.rb +103 -0
  339. data/lib/fisk/instructions/pcmpeqd.rb +103 -0
  340. data/lib/fisk/instructions/pcmpeqq.rb +59 -0
  341. data/lib/fisk/instructions/pcmpeqw.rb +103 -0
  342. data/lib/fisk/instructions/pcmpestri.rb +63 -0
  343. data/lib/fisk/instructions/pcmpestrm.rb +63 -0
  344. data/lib/fisk/instructions/pcmpgtb.rb +103 -0
  345. data/lib/fisk/instructions/pcmpgtd.rb +103 -0
  346. data/lib/fisk/instructions/pcmpgtq.rb +59 -0
  347. data/lib/fisk/instructions/pcmpgtw.rb +103 -0
  348. data/lib/fisk/instructions/pcmpistri.rb +63 -0
  349. data/lib/fisk/instructions/pcmpistrm.rb +63 -0
  350. data/lib/fisk/instructions/pdep.rb +81 -0
  351. data/lib/fisk/instructions/pext.rb +81 -0
  352. data/lib/fisk/instructions/pextrb.rb +63 -0
  353. data/lib/fisk/instructions/pextrd.rb +63 -0
  354. data/lib/fisk/instructions/pextrq.rb +63 -0
  355. data/lib/fisk/instructions/pextrw.rb +107 -0
  356. data/lib/fisk/instructions/pf2id.rb +57 -0
  357. data/lib/fisk/instructions/pf2iw.rb +57 -0
  358. data/lib/fisk/instructions/pfacc.rb +57 -0
  359. data/lib/fisk/instructions/pfadd.rb +57 -0
  360. data/lib/fisk/instructions/pfcmpeq.rb +57 -0
  361. data/lib/fisk/instructions/pfcmpge.rb +57 -0
  362. data/lib/fisk/instructions/pfcmpgt.rb +57 -0
  363. data/lib/fisk/instructions/pfmax.rb +57 -0
  364. data/lib/fisk/instructions/pfmin.rb +57 -0
  365. data/lib/fisk/instructions/pfmul.rb +57 -0
  366. data/lib/fisk/instructions/pfnacc.rb +57 -0
  367. data/lib/fisk/instructions/pfpnacc.rb +57 -0
  368. data/lib/fisk/instructions/pfrcp.rb +57 -0
  369. data/lib/fisk/instructions/pfrcpit1.rb +57 -0
  370. data/lib/fisk/instructions/pfrcpit2.rb +57 -0
  371. data/lib/fisk/instructions/pfrsqit1.rb +57 -0
  372. data/lib/fisk/instructions/pfrsqrt.rb +57 -0
  373. data/lib/fisk/instructions/pfsub.rb +57 -0
  374. data/lib/fisk/instructions/pfsubr.rb +57 -0
  375. data/lib/fisk/instructions/phaddd.rb +107 -0
  376. data/lib/fisk/instructions/phaddsw.rb +107 -0
  377. data/lib/fisk/instructions/phaddw.rb +107 -0
  378. data/lib/fisk/instructions/phminposuw.rb +59 -0
  379. data/lib/fisk/instructions/phsubd.rb +107 -0
  380. data/lib/fisk/instructions/phsubsw.rb +107 -0
  381. data/lib/fisk/instructions/phsubw.rb +107 -0
  382. data/lib/fisk/instructions/pi2fd.rb +57 -0
  383. data/lib/fisk/instructions/pi2fw.rb +57 -0
  384. data/lib/fisk/instructions/pinsrb.rb +63 -0
  385. data/lib/fisk/instructions/pinsrd.rb +63 -0
  386. data/lib/fisk/instructions/pinsrq.rb +63 -0
  387. data/lib/fisk/instructions/pinsrw.rb +111 -0
  388. data/lib/fisk/instructions/pmaddubsw.rb +107 -0
  389. data/lib/fisk/instructions/pmaddwd.rb +103 -0
  390. data/lib/fisk/instructions/pmaxsb.rb +59 -0
  391. data/lib/fisk/instructions/pmaxsd.rb +59 -0
  392. data/lib/fisk/instructions/pmaxsw.rb +103 -0
  393. data/lib/fisk/instructions/pmaxub.rb +103 -0
  394. data/lib/fisk/instructions/pmaxud.rb +59 -0
  395. data/lib/fisk/instructions/pmaxuw.rb +59 -0
  396. data/lib/fisk/instructions/pminsb.rb +59 -0
  397. data/lib/fisk/instructions/pminsd.rb +59 -0
  398. data/lib/fisk/instructions/pminsw.rb +103 -0
  399. data/lib/fisk/instructions/pminub.rb +103 -0
  400. data/lib/fisk/instructions/pminud.rb +59 -0
  401. data/lib/fisk/instructions/pminuw.rb +59 -0
  402. data/lib/fisk/instructions/pmovmskb.rb +56 -0
  403. data/lib/fisk/instructions/pmovsxbd.rb +59 -0
  404. data/lib/fisk/instructions/pmovsxbq.rb +59 -0
  405. data/lib/fisk/instructions/pmovsxbw.rb +59 -0
  406. data/lib/fisk/instructions/pmovsxdq.rb +59 -0
  407. data/lib/fisk/instructions/pmovsxwd.rb +59 -0
  408. data/lib/fisk/instructions/pmovsxwq.rb +59 -0
  409. data/lib/fisk/instructions/pmovzxbd.rb +59 -0
  410. data/lib/fisk/instructions/pmovzxbq.rb +59 -0
  411. data/lib/fisk/instructions/pmovzxbw.rb +59 -0
  412. data/lib/fisk/instructions/pmovzxdq.rb +59 -0
  413. data/lib/fisk/instructions/pmovzxwd.rb +59 -0
  414. data/lib/fisk/instructions/pmovzxwq.rb +59 -0
  415. data/lib/fisk/instructions/pmuldq.rb +59 -0
  416. data/lib/fisk/instructions/pmulhrsw.rb +107 -0
  417. data/lib/fisk/instructions/pmulhrw.rb +57 -0
  418. data/lib/fisk/instructions/pmulhuw.rb +103 -0
  419. data/lib/fisk/instructions/pmulhw.rb +103 -0
  420. data/lib/fisk/instructions/pmulld.rb +59 -0
  421. data/lib/fisk/instructions/pmullw.rb +103 -0
  422. data/lib/fisk/instructions/pmuludq.rb +103 -0
  423. data/lib/fisk/instructions/pop.rb +120 -0
  424. data/lib/fisk/instructions/popcnt.rb +155 -0
  425. data/lib/fisk/instructions/por.rb +103 -0
  426. data/lib/fisk/instructions/prefetch.rb +31 -0
  427. data/lib/fisk/instructions/prefetchnta.rb +31 -0
  428. data/lib/fisk/instructions/prefetcht0.rb +31 -0
  429. data/lib/fisk/instructions/prefetcht1.rb +31 -0
  430. data/lib/fisk/instructions/prefetcht2.rb +31 -0
  431. data/lib/fisk/instructions/prefetchw.rb +31 -0
  432. data/lib/fisk/instructions/prefetchwt1.rb +31 -0
  433. data/lib/fisk/instructions/psadbw.rb +103 -0
  434. data/lib/fisk/instructions/pshufb.rb +107 -0
  435. data/lib/fisk/instructions/pshufd.rb +61 -0
  436. data/lib/fisk/instructions/pshufhw.rb +61 -0
  437. data/lib/fisk/instructions/pshuflw.rb +61 -0
  438. data/lib/fisk/instructions/pshufw.rb +59 -0
  439. data/lib/fisk/instructions/psignb.rb +107 -0
  440. data/lib/fisk/instructions/psignd.rb +107 -0
  441. data/lib/fisk/instructions/psignw.rb +107 -0
  442. data/lib/fisk/instructions/pslld.rb +152 -0
  443. data/lib/fisk/instructions/pslldq.rb +34 -0
  444. data/lib/fisk/instructions/psllq.rb +152 -0
  445. data/lib/fisk/instructions/psllw.rb +152 -0
  446. data/lib/fisk/instructions/psrad.rb +152 -0
  447. data/lib/fisk/instructions/psraw.rb +152 -0
  448. data/lib/fisk/instructions/psrld.rb +152 -0
  449. data/lib/fisk/instructions/psrldq.rb +34 -0
  450. data/lib/fisk/instructions/psrlq.rb +152 -0
  451. data/lib/fisk/instructions/psrlw.rb +152 -0
  452. data/lib/fisk/instructions/psubb.rb +103 -0
  453. data/lib/fisk/instructions/psubd.rb +103 -0
  454. data/lib/fisk/instructions/psubq.rb +103 -0
  455. data/lib/fisk/instructions/psubsb.rb +103 -0
  456. data/lib/fisk/instructions/psubsw.rb +103 -0
  457. data/lib/fisk/instructions/psubusb.rb +103 -0
  458. data/lib/fisk/instructions/psubusw.rb +103 -0
  459. data/lib/fisk/instructions/psubw.rb +103 -0
  460. data/lib/fisk/instructions/pswapd.rb +57 -0
  461. data/lib/fisk/instructions/ptest.rb +59 -0
  462. data/lib/fisk/instructions/punpckhbw.rb +103 -0
  463. data/lib/fisk/instructions/punpckhdq.rb +103 -0
  464. data/lib/fisk/instructions/punpckhqdq.rb +57 -0
  465. data/lib/fisk/instructions/punpckhwd.rb +103 -0
  466. data/lib/fisk/instructions/punpcklbw.rb +103 -0
  467. data/lib/fisk/instructions/punpckldq.rb +103 -0
  468. data/lib/fisk/instructions/punpcklqdq.rb +57 -0
  469. data/lib/fisk/instructions/punpcklwd.rb +103 -0
  470. data/lib/fisk/instructions/push.rb +144 -0
  471. data/lib/fisk/instructions/pxor.rb +103 -0
  472. data/lib/fisk/instructions/rcl.rb +551 -0
  473. data/lib/fisk/instructions/rcpps.rb +55 -0
  474. data/lib/fisk/instructions/rcpss.rb +57 -0
  475. data/lib/fisk/instructions/rcr.rb +551 -0
  476. data/lib/fisk/instructions/rdrand.rb +76 -0
  477. data/lib/fisk/instructions/rdseed.rb +76 -0
  478. data/lib/fisk/instructions/rdtsc.rb +20 -0
  479. data/lib/fisk/instructions/rdtscp.rb +21 -0
  480. data/lib/fisk/instructions/ret.rb +31 -0
  481. data/lib/fisk/instructions/rol.rb +551 -0
  482. data/lib/fisk/instructions/ror.rb +551 -0
  483. data/lib/fisk/instructions/rorx.rb +85 -0
  484. data/lib/fisk/instructions/roundpd.rb +63 -0
  485. data/lib/fisk/instructions/roundps.rb +63 -0
  486. data/lib/fisk/instructions/roundsd.rb +63 -0
  487. data/lib/fisk/instructions/roundss.rb +63 -0
  488. data/lib/fisk/instructions/rsqrtps.rb +55 -0
  489. data/lib/fisk/instructions/rsqrtss.rb +57 -0
  490. data/lib/fisk/instructions/sal.rb +551 -0
  491. data/lib/fisk/instructions/sar.rb +551 -0
  492. data/lib/fisk/instructions/sarx.rb +81 -0
  493. data/lib/fisk/instructions/sbb.rb +726 -0
  494. data/lib/fisk/instructions/seta.rb +53 -0
  495. data/lib/fisk/instructions/setae.rb +53 -0
  496. data/lib/fisk/instructions/setb.rb +53 -0
  497. data/lib/fisk/instructions/setbe.rb +53 -0
  498. data/lib/fisk/instructions/setc.rb +53 -0
  499. data/lib/fisk/instructions/sete.rb +53 -0
  500. data/lib/fisk/instructions/setg.rb +53 -0
  501. data/lib/fisk/instructions/setge.rb +53 -0
  502. data/lib/fisk/instructions/setl.rb +53 -0
  503. data/lib/fisk/instructions/setle.rb +53 -0
  504. data/lib/fisk/instructions/setna.rb +53 -0
  505. data/lib/fisk/instructions/setnae.rb +53 -0
  506. data/lib/fisk/instructions/setnb.rb +53 -0
  507. data/lib/fisk/instructions/setnbe.rb +53 -0
  508. data/lib/fisk/instructions/setnc.rb +53 -0
  509. data/lib/fisk/instructions/setne.rb +53 -0
  510. data/lib/fisk/instructions/setng.rb +53 -0
  511. data/lib/fisk/instructions/setnge.rb +53 -0
  512. data/lib/fisk/instructions/setnl.rb +53 -0
  513. data/lib/fisk/instructions/setnle.rb +53 -0
  514. data/lib/fisk/instructions/setno.rb +53 -0
  515. data/lib/fisk/instructions/setnp.rb +53 -0
  516. data/lib/fisk/instructions/setns.rb +53 -0
  517. data/lib/fisk/instructions/setnz.rb +53 -0
  518. data/lib/fisk/instructions/seto.rb +53 -0
  519. data/lib/fisk/instructions/setp.rb +53 -0
  520. data/lib/fisk/instructions/setpe.rb +53 -0
  521. data/lib/fisk/instructions/setpo.rb +53 -0
  522. data/lib/fisk/instructions/sets.rb +53 -0
  523. data/lib/fisk/instructions/setz.rb +53 -0
  524. data/lib/fisk/instructions/sfence.rb +21 -0
  525. data/lib/fisk/instructions/sha1msg1.rb +57 -0
  526. data/lib/fisk/instructions/sha1msg2.rb +57 -0
  527. data/lib/fisk/instructions/sha1nexte.rb +57 -0
  528. data/lib/fisk/instructions/sha1rnds4.rb +61 -0
  529. data/lib/fisk/instructions/sha256msg1.rb +57 -0
  530. data/lib/fisk/instructions/sha256msg2.rb +57 -0
  531. data/lib/fisk/instructions/sha256rnds2.rb +59 -0
  532. data/lib/fisk/instructions/shl.rb +551 -0
  533. data/lib/fisk/instructions/shld.rb +307 -0
  534. data/lib/fisk/instructions/shlx.rb +81 -0
  535. data/lib/fisk/instructions/shr.rb +551 -0
  536. data/lib/fisk/instructions/shrd.rb +307 -0
  537. data/lib/fisk/instructions/shrx.rb +81 -0
  538. data/lib/fisk/instructions/shufpd.rb +61 -0
  539. data/lib/fisk/instructions/shufps.rb +59 -0
  540. data/lib/fisk/instructions/sqrtpd.rb +57 -0
  541. data/lib/fisk/instructions/sqrtps.rb +55 -0
  542. data/lib/fisk/instructions/sqrtsd.rb +57 -0
  543. data/lib/fisk/instructions/sqrtss.rb +57 -0
  544. data/lib/fisk/instructions/stc.rb +19 -0
  545. data/lib/fisk/instructions/std.rb +19 -0
  546. data/lib/fisk/instructions/stmxcsr.rb +31 -0
  547. data/lib/fisk/instructions/sub.rb +726 -0
  548. data/lib/fisk/instructions/subpd.rb +57 -0
  549. data/lib/fisk/instructions/subps.rb +55 -0
  550. data/lib/fisk/instructions/subsd.rb +57 -0
  551. data/lib/fisk/instructions/subss.rb +57 -0
  552. data/lib/fisk/instructions/syscall.rb +20 -0
  553. data/lib/fisk/instructions/t1mskc.rb +77 -0
  554. data/lib/fisk/instructions/test.rb +432 -0
  555. data/lib/fisk/instructions/tzcnt.rb +155 -0
  556. data/lib/fisk/instructions/tzmsk.rb +77 -0
  557. data/lib/fisk/instructions/ucomisd.rb +57 -0
  558. data/lib/fisk/instructions/ucomiss.rb +55 -0
  559. data/lib/fisk/instructions/ud2.rb +20 -0
  560. data/lib/fisk/instructions/unpckhpd.rb +57 -0
  561. data/lib/fisk/instructions/unpckhps.rb +55 -0
  562. data/lib/fisk/instructions/unpcklpd.rb +57 -0
  563. data/lib/fisk/instructions/unpcklps.rb +55 -0
  564. data/lib/fisk/instructions/vaddpd.rb +190 -0
  565. data/lib/fisk/instructions/vaddps.rb +190 -0
  566. data/lib/fisk/instructions/vaddsd.rb +82 -0
  567. data/lib/fisk/instructions/vaddss.rb +82 -0
  568. data/lib/fisk/instructions/vaddsubpd.rb +81 -0
  569. data/lib/fisk/instructions/vaddsubps.rb +81 -0
  570. data/lib/fisk/instructions/vaesdec.rb +45 -0
  571. data/lib/fisk/instructions/vaesdeclast.rb +45 -0
  572. data/lib/fisk/instructions/vaesenc.rb +45 -0
  573. data/lib/fisk/instructions/vaesenclast.rb +45 -0
  574. data/lib/fisk/instructions/vaesimc.rb +43 -0
  575. data/lib/fisk/instructions/vaeskeygenassist.rb +47 -0
  576. data/lib/fisk/instructions/valignd.rb +129 -0
  577. data/lib/fisk/instructions/valignq.rb +129 -0
  578. data/lib/fisk/instructions/vandnpd.rb +189 -0
  579. data/lib/fisk/instructions/vandnps.rb +189 -0
  580. data/lib/fisk/instructions/vandpd.rb +189 -0
  581. data/lib/fisk/instructions/vandps.rb +189 -0
  582. data/lib/fisk/instructions/vblendmpd.rb +117 -0
  583. data/lib/fisk/instructions/vblendmps.rb +117 -0
  584. data/lib/fisk/instructions/vblendpd.rb +89 -0
  585. data/lib/fisk/instructions/vblendps.rb +89 -0
  586. data/lib/fisk/instructions/vblendvpd.rb +89 -0
  587. data/lib/fisk/instructions/vblendvps.rb +89 -0
  588. data/lib/fisk/instructions/vbroadcastf128.rb +26 -0
  589. data/lib/fisk/instructions/vbroadcastf32x2.rb +77 -0
  590. data/lib/fisk/instructions/vbroadcastf32x4.rb +43 -0
  591. data/lib/fisk/instructions/vbroadcastf32x8.rb +26 -0
  592. data/lib/fisk/instructions/vbroadcastf64x2.rb +43 -0
  593. data/lib/fisk/instructions/vbroadcastf64x4.rb +26 -0
  594. data/lib/fisk/instructions/vbroadcasti128.rb +26 -0
  595. data/lib/fisk/instructions/vbroadcasti32x2.rb +111 -0
  596. data/lib/fisk/instructions/vbroadcasti32x4.rb +43 -0
  597. data/lib/fisk/instructions/vbroadcasti32x8.rb +26 -0
  598. data/lib/fisk/instructions/vbroadcasti64x2.rb +43 -0
  599. data/lib/fisk/instructions/vbroadcasti64x4.rb +26 -0
  600. data/lib/fisk/instructions/vbroadcastsd.rb +111 -0
  601. data/lib/fisk/instructions/vbroadcastss.rb +145 -0
  602. data/lib/fisk/instructions/vcmppd.rb +210 -0
  603. data/lib/fisk/instructions/vcmpps.rb +210 -0
  604. data/lib/fisk/instructions/vcmpsd.rb +90 -0
  605. data/lib/fisk/instructions/vcmpss.rb +90 -0
  606. data/lib/fisk/instructions/vcomisd.rb +78 -0
  607. data/lib/fisk/instructions/vcomiss.rb +78 -0
  608. data/lib/fisk/instructions/vcompresspd.rb +111 -0
  609. data/lib/fisk/instructions/vcompressps.rb +111 -0
  610. data/lib/fisk/instructions/vcvtdq2pd.rb +179 -0
  611. data/lib/fisk/instructions/vcvtdq2ps.rb +180 -0
  612. data/lib/fisk/instructions/vcvtpd2dq.rb +180 -0
  613. data/lib/fisk/instructions/vcvtpd2ps.rb +180 -0
  614. data/lib/fisk/instructions/vcvtpd2qq.rb +112 -0
  615. data/lib/fisk/instructions/vcvtpd2udq.rb +112 -0
  616. data/lib/fisk/instructions/vcvtpd2uqq.rb +112 -0
  617. data/lib/fisk/instructions/vcvtph2ps.rb +180 -0
  618. data/lib/fisk/instructions/vcvtps2dq.rb +180 -0
  619. data/lib/fisk/instructions/vcvtps2pd.rb +180 -0
  620. data/lib/fisk/instructions/vcvtps2ph.rb +200 -0
  621. data/lib/fisk/instructions/vcvtps2qq.rb +112 -0
  622. data/lib/fisk/instructions/vcvtps2udq.rb +112 -0
  623. data/lib/fisk/instructions/vcvtps2uqq.rb +112 -0
  624. data/lib/fisk/instructions/vcvtqq2pd.rb +112 -0
  625. data/lib/fisk/instructions/vcvtqq2ps.rb +112 -0
  626. data/lib/fisk/instructions/vcvtsd2si.rb +147 -0
  627. data/lib/fisk/instructions/vcvtsd2ss.rb +82 -0
  628. data/lib/fisk/instructions/vcvtsd2usi.rb +79 -0
  629. data/lib/fisk/instructions/vcvtsi2sd.rb +154 -0
  630. data/lib/fisk/instructions/vcvtsi2ss.rb +155 -0
  631. data/lib/fisk/instructions/vcvtss2sd.rb +82 -0
  632. data/lib/fisk/instructions/vcvtss2si.rb +147 -0
  633. data/lib/fisk/instructions/vcvtss2usi.rb +79 -0
  634. data/lib/fisk/instructions/vcvttpd2dq.rb +180 -0
  635. data/lib/fisk/instructions/vcvttpd2qq.rb +112 -0
  636. data/lib/fisk/instructions/vcvttpd2udq.rb +112 -0
  637. data/lib/fisk/instructions/vcvttpd2uqq.rb +112 -0
  638. data/lib/fisk/instructions/vcvttps2dq.rb +180 -0
  639. data/lib/fisk/instructions/vcvttps2qq.rb +112 -0
  640. data/lib/fisk/instructions/vcvttps2udq.rb +112 -0
  641. data/lib/fisk/instructions/vcvttps2uqq.rb +112 -0
  642. data/lib/fisk/instructions/vcvttsd2si.rb +147 -0
  643. data/lib/fisk/instructions/vcvttsd2usi.rb +79 -0
  644. data/lib/fisk/instructions/vcvttss2si.rb +147 -0
  645. data/lib/fisk/instructions/vcvttss2usi.rb +79 -0
  646. data/lib/fisk/instructions/vcvtudq2pd.rb +111 -0
  647. data/lib/fisk/instructions/vcvtudq2ps.rb +112 -0
  648. data/lib/fisk/instructions/vcvtuqq2pd.rb +112 -0
  649. data/lib/fisk/instructions/vcvtuqq2ps.rb +112 -0
  650. data/lib/fisk/instructions/vcvtusi2sd.rb +82 -0
  651. data/lib/fisk/instructions/vcvtusi2ss.rb +83 -0
  652. data/lib/fisk/instructions/vdbpsadbw.rb +129 -0
  653. data/lib/fisk/instructions/vdivpd.rb +190 -0
  654. data/lib/fisk/instructions/vdivps.rb +190 -0
  655. data/lib/fisk/instructions/vdivsd.rb +82 -0
  656. data/lib/fisk/instructions/vdivss.rb +82 -0
  657. data/lib/fisk/instructions/vdppd.rb +49 -0
  658. data/lib/fisk/instructions/vdpps.rb +89 -0
  659. data/lib/fisk/instructions/vexp2pd.rb +44 -0
  660. data/lib/fisk/instructions/vexp2ps.rb +44 -0
  661. data/lib/fisk/instructions/vexpandpd.rb +111 -0
  662. data/lib/fisk/instructions/vexpandps.rb +111 -0
  663. data/lib/fisk/instructions/vextractf128.rb +47 -0
  664. data/lib/fisk/instructions/vextractf32x4.rb +85 -0
  665. data/lib/fisk/instructions/vextractf32x8.rb +47 -0
  666. data/lib/fisk/instructions/vextractf64x2.rb +85 -0
  667. data/lib/fisk/instructions/vextractf64x4.rb +47 -0
  668. data/lib/fisk/instructions/vextracti128.rb +47 -0
  669. data/lib/fisk/instructions/vextracti32x4.rb +85 -0
  670. data/lib/fisk/instructions/vextracti32x8.rb +47 -0
  671. data/lib/fisk/instructions/vextracti64x2.rb +85 -0
  672. data/lib/fisk/instructions/vextracti64x4.rb +47 -0
  673. data/lib/fisk/instructions/vextractps.rb +85 -0
  674. data/lib/fisk/instructions/vfixupimmpd.rb +130 -0
  675. data/lib/fisk/instructions/vfixupimmps.rb +130 -0
  676. data/lib/fisk/instructions/vfixupimmsd.rb +50 -0
  677. data/lib/fisk/instructions/vfixupimmss.rb +50 -0
  678. data/lib/fisk/instructions/vfmadd132pd.rb +190 -0
  679. data/lib/fisk/instructions/vfmadd132ps.rb +190 -0
  680. data/lib/fisk/instructions/vfmadd132sd.rb +82 -0
  681. data/lib/fisk/instructions/vfmadd132ss.rb +82 -0
  682. data/lib/fisk/instructions/vfmadd213pd.rb +190 -0
  683. data/lib/fisk/instructions/vfmadd213ps.rb +190 -0
  684. data/lib/fisk/instructions/vfmadd213sd.rb +82 -0
  685. data/lib/fisk/instructions/vfmadd213ss.rb +82 -0
  686. data/lib/fisk/instructions/vfmadd231pd.rb +190 -0
  687. data/lib/fisk/instructions/vfmadd231ps.rb +190 -0
  688. data/lib/fisk/instructions/vfmadd231sd.rb +82 -0
  689. data/lib/fisk/instructions/vfmadd231ss.rb +82 -0
  690. data/lib/fisk/instructions/vfmaddpd.rb +153 -0
  691. data/lib/fisk/instructions/vfmaddps.rb +153 -0
  692. data/lib/fisk/instructions/vfmaddsd.rb +81 -0
  693. data/lib/fisk/instructions/vfmaddss.rb +81 -0
  694. data/lib/fisk/instructions/vfmaddsub132pd.rb +190 -0
  695. data/lib/fisk/instructions/vfmaddsub132ps.rb +190 -0
  696. data/lib/fisk/instructions/vfmaddsub213pd.rb +190 -0
  697. data/lib/fisk/instructions/vfmaddsub213ps.rb +190 -0
  698. data/lib/fisk/instructions/vfmaddsub231pd.rb +190 -0
  699. data/lib/fisk/instructions/vfmaddsub231ps.rb +190 -0
  700. data/lib/fisk/instructions/vfmaddsubpd.rb +153 -0
  701. data/lib/fisk/instructions/vfmaddsubps.rb +153 -0
  702. data/lib/fisk/instructions/vfmsub132pd.rb +190 -0
  703. data/lib/fisk/instructions/vfmsub132ps.rb +190 -0
  704. data/lib/fisk/instructions/vfmsub132sd.rb +82 -0
  705. data/lib/fisk/instructions/vfmsub132ss.rb +82 -0
  706. data/lib/fisk/instructions/vfmsub213pd.rb +190 -0
  707. data/lib/fisk/instructions/vfmsub213ps.rb +190 -0
  708. data/lib/fisk/instructions/vfmsub213sd.rb +82 -0
  709. data/lib/fisk/instructions/vfmsub213ss.rb +82 -0
  710. data/lib/fisk/instructions/vfmsub231pd.rb +190 -0
  711. data/lib/fisk/instructions/vfmsub231ps.rb +190 -0
  712. data/lib/fisk/instructions/vfmsub231sd.rb +82 -0
  713. data/lib/fisk/instructions/vfmsub231ss.rb +82 -0
  714. data/lib/fisk/instructions/vfmsubadd132pd.rb +190 -0
  715. data/lib/fisk/instructions/vfmsubadd132ps.rb +190 -0
  716. data/lib/fisk/instructions/vfmsubadd213pd.rb +190 -0
  717. data/lib/fisk/instructions/vfmsubadd213ps.rb +190 -0
  718. data/lib/fisk/instructions/vfmsubadd231pd.rb +190 -0
  719. data/lib/fisk/instructions/vfmsubadd231ps.rb +190 -0
  720. data/lib/fisk/instructions/vfmsubaddpd.rb +153 -0
  721. data/lib/fisk/instructions/vfmsubaddps.rb +153 -0
  722. data/lib/fisk/instructions/vfmsubpd.rb +153 -0
  723. data/lib/fisk/instructions/vfmsubps.rb +153 -0
  724. data/lib/fisk/instructions/vfmsubsd.rb +81 -0
  725. data/lib/fisk/instructions/vfmsubss.rb +81 -0
  726. data/lib/fisk/instructions/vfnmadd132pd.rb +190 -0
  727. data/lib/fisk/instructions/vfnmadd132ps.rb +190 -0
  728. data/lib/fisk/instructions/vfnmadd132sd.rb +82 -0
  729. data/lib/fisk/instructions/vfnmadd132ss.rb +82 -0
  730. data/lib/fisk/instructions/vfnmadd213pd.rb +190 -0
  731. data/lib/fisk/instructions/vfnmadd213ps.rb +190 -0
  732. data/lib/fisk/instructions/vfnmadd213sd.rb +82 -0
  733. data/lib/fisk/instructions/vfnmadd213ss.rb +82 -0
  734. data/lib/fisk/instructions/vfnmadd231pd.rb +190 -0
  735. data/lib/fisk/instructions/vfnmadd231ps.rb +190 -0
  736. data/lib/fisk/instructions/vfnmadd231sd.rb +82 -0
  737. data/lib/fisk/instructions/vfnmadd231ss.rb +82 -0
  738. data/lib/fisk/instructions/vfnmaddpd.rb +153 -0
  739. data/lib/fisk/instructions/vfnmaddps.rb +153 -0
  740. data/lib/fisk/instructions/vfnmaddsd.rb +81 -0
  741. data/lib/fisk/instructions/vfnmaddss.rb +81 -0
  742. data/lib/fisk/instructions/vfnmsub132pd.rb +190 -0
  743. data/lib/fisk/instructions/vfnmsub132ps.rb +190 -0
  744. data/lib/fisk/instructions/vfnmsub132sd.rb +82 -0
  745. data/lib/fisk/instructions/vfnmsub132ss.rb +82 -0
  746. data/lib/fisk/instructions/vfnmsub213pd.rb +190 -0
  747. data/lib/fisk/instructions/vfnmsub213ps.rb +190 -0
  748. data/lib/fisk/instructions/vfnmsub213sd.rb +82 -0
  749. data/lib/fisk/instructions/vfnmsub213ss.rb +82 -0
  750. data/lib/fisk/instructions/vfnmsub231pd.rb +190 -0
  751. data/lib/fisk/instructions/vfnmsub231ps.rb +190 -0
  752. data/lib/fisk/instructions/vfnmsub231sd.rb +82 -0
  753. data/lib/fisk/instructions/vfnmsub231ss.rb +82 -0
  754. data/lib/fisk/instructions/vfnmsubpd.rb +153 -0
  755. data/lib/fisk/instructions/vfnmsubps.rb +153 -0
  756. data/lib/fisk/instructions/vfnmsubsd.rb +81 -0
  757. data/lib/fisk/instructions/vfnmsubss.rb +81 -0
  758. data/lib/fisk/instructions/vfpclasspd.rb +123 -0
  759. data/lib/fisk/instructions/vfpclassps.rb +123 -0
  760. data/lib/fisk/instructions/vfpclasssd.rb +47 -0
  761. data/lib/fisk/instructions/vfpclassss.rb +47 -0
  762. data/lib/fisk/instructions/vfrczpd.rb +77 -0
  763. data/lib/fisk/instructions/vfrczps.rb +77 -0
  764. data/lib/fisk/instructions/vfrczsd.rb +43 -0
  765. data/lib/fisk/instructions/vfrczss.rb +43 -0
  766. data/lib/fisk/instructions/vgatherdpd.rb +96 -0
  767. data/lib/fisk/instructions/vgatherdps.rb +96 -0
  768. data/lib/fisk/instructions/vgatherpf0dpd.rb +25 -0
  769. data/lib/fisk/instructions/vgatherpf0dps.rb +25 -0
  770. data/lib/fisk/instructions/vgatherpf0qpd.rb +25 -0
  771. data/lib/fisk/instructions/vgatherpf0qps.rb +25 -0
  772. data/lib/fisk/instructions/vgatherpf1dpd.rb +25 -0
  773. data/lib/fisk/instructions/vgatherpf1dps.rb +25 -0
  774. data/lib/fisk/instructions/vgatherpf1qpd.rb +25 -0
  775. data/lib/fisk/instructions/vgatherpf1qps.rb +25 -0
  776. data/lib/fisk/instructions/vgatherqpd.rb +96 -0
  777. data/lib/fisk/instructions/vgatherqps.rb +96 -0
  778. data/lib/fisk/instructions/vgetexppd.rb +112 -0
  779. data/lib/fisk/instructions/vgetexpps.rb +112 -0
  780. data/lib/fisk/instructions/vgetexpsd.rb +46 -0
  781. data/lib/fisk/instructions/vgetexpss.rb +46 -0
  782. data/lib/fisk/instructions/vgetmantpd.rb +124 -0
  783. data/lib/fisk/instructions/vgetmantps.rb +124 -0
  784. data/lib/fisk/instructions/vgetmantsd.rb +50 -0
  785. data/lib/fisk/instructions/vgetmantss.rb +50 -0
  786. data/lib/fisk/instructions/vhaddpd.rb +81 -0
  787. data/lib/fisk/instructions/vhaddps.rb +81 -0
  788. data/lib/fisk/instructions/vhsubpd.rb +81 -0
  789. data/lib/fisk/instructions/vhsubps.rb +81 -0
  790. data/lib/fisk/instructions/vinsertf128.rb +49 -0
  791. data/lib/fisk/instructions/vinsertf32x4.rb +89 -0
  792. data/lib/fisk/instructions/vinsertf32x8.rb +49 -0
  793. data/lib/fisk/instructions/vinsertf64x2.rb +89 -0
  794. data/lib/fisk/instructions/vinsertf64x4.rb +49 -0
  795. data/lib/fisk/instructions/vinserti128.rb +49 -0
  796. data/lib/fisk/instructions/vinserti32x4.rb +89 -0
  797. data/lib/fisk/instructions/vinserti32x8.rb +49 -0
  798. data/lib/fisk/instructions/vinserti64x2.rb +89 -0
  799. data/lib/fisk/instructions/vinserti64x4.rb +49 -0
  800. data/lib/fisk/instructions/vinsertps.rb +89 -0
  801. data/lib/fisk/instructions/vlddqu.rb +43 -0
  802. data/lib/fisk/instructions/vldmxcsr.rb +25 -0
  803. data/lib/fisk/instructions/vmaskmovdqu.rb +26 -0
  804. data/lib/fisk/instructions/vmaskmovpd.rb +81 -0
  805. data/lib/fisk/instructions/vmaskmovps.rb +81 -0
  806. data/lib/fisk/instructions/vmaxpd.rb +190 -0
  807. data/lib/fisk/instructions/vmaxps.rb +190 -0
  808. data/lib/fisk/instructions/vmaxsd.rb +82 -0
  809. data/lib/fisk/instructions/vmaxss.rb +82 -0
  810. data/lib/fisk/instructions/vminpd.rb +190 -0
  811. data/lib/fisk/instructions/vminps.rb +190 -0
  812. data/lib/fisk/instructions/vminsd.rb +82 -0
  813. data/lib/fisk/instructions/vminss.rb +82 -0
  814. data/lib/fisk/instructions/vmovapd.rb +319 -0
  815. data/lib/fisk/instructions/vmovaps.rb +319 -0
  816. data/lib/fisk/instructions/vmovd.rb +145 -0
  817. data/lib/fisk/instructions/vmovddup.rb +179 -0
  818. data/lib/fisk/instructions/vmovdqa.rb +133 -0
  819. data/lib/fisk/instructions/vmovdqa32.rb +195 -0
  820. data/lib/fisk/instructions/vmovdqa64.rb +195 -0
  821. data/lib/fisk/instructions/vmovdqu.rb +133 -0
  822. data/lib/fisk/instructions/vmovdqu16.rb +195 -0
  823. data/lib/fisk/instructions/vmovdqu32.rb +195 -0
  824. data/lib/fisk/instructions/vmovdqu64.rb +195 -0
  825. data/lib/fisk/instructions/vmovdqu8.rb +195 -0
  826. data/lib/fisk/instructions/vmovhlps.rb +45 -0
  827. data/lib/fisk/instructions/vmovhpd.rb +79 -0
  828. data/lib/fisk/instructions/vmovhps.rb +79 -0
  829. data/lib/fisk/instructions/vmovlhps.rb +45 -0
  830. data/lib/fisk/instructions/vmovlpd.rb +79 -0
  831. data/lib/fisk/instructions/vmovlps.rb +79 -0
  832. data/lib/fisk/instructions/vmovmskpd.rb +43 -0
  833. data/lib/fisk/instructions/vmovmskps.rb +43 -0
  834. data/lib/fisk/instructions/vmovntdq.rb +94 -0
  835. data/lib/fisk/instructions/vmovntdqa.rb +94 -0
  836. data/lib/fisk/instructions/vmovntpd.rb +94 -0
  837. data/lib/fisk/instructions/vmovntps.rb +94 -0
  838. data/lib/fisk/instructions/vmovq.rb +245 -0
  839. data/lib/fisk/instructions/vmovsd.rb +135 -0
  840. data/lib/fisk/instructions/vmovshdup.rb +179 -0
  841. data/lib/fisk/instructions/vmovsldup.rb +179 -0
  842. data/lib/fisk/instructions/vmovss.rb +135 -0
  843. data/lib/fisk/instructions/vmovupd.rb +319 -0
  844. data/lib/fisk/instructions/vmovups.rb +319 -0
  845. data/lib/fisk/instructions/vmpsadbw.rb +89 -0
  846. data/lib/fisk/instructions/vmulpd.rb +190 -0
  847. data/lib/fisk/instructions/vmulps.rb +190 -0
  848. data/lib/fisk/instructions/vmulsd.rb +82 -0
  849. data/lib/fisk/instructions/vmulss.rb +82 -0
  850. data/lib/fisk/instructions/vorpd.rb +189 -0
  851. data/lib/fisk/instructions/vorps.rb +189 -0
  852. data/lib/fisk/instructions/vpabsb.rb +179 -0
  853. data/lib/fisk/instructions/vpabsd.rb +179 -0
  854. data/lib/fisk/instructions/vpabsq.rb +111 -0
  855. data/lib/fisk/instructions/vpabsw.rb +179 -0
  856. data/lib/fisk/instructions/vpackssdw.rb +189 -0
  857. data/lib/fisk/instructions/vpacksswb.rb +189 -0
  858. data/lib/fisk/instructions/vpackusdw.rb +189 -0
  859. data/lib/fisk/instructions/vpackuswb.rb +189 -0
  860. data/lib/fisk/instructions/vpaddb.rb +189 -0
  861. data/lib/fisk/instructions/vpaddd.rb +189 -0
  862. data/lib/fisk/instructions/vpaddq.rb +189 -0
  863. data/lib/fisk/instructions/vpaddsb.rb +189 -0
  864. data/lib/fisk/instructions/vpaddsw.rb +189 -0
  865. data/lib/fisk/instructions/vpaddusb.rb +189 -0
  866. data/lib/fisk/instructions/vpaddusw.rb +189 -0
  867. data/lib/fisk/instructions/vpaddw.rb +189 -0
  868. data/lib/fisk/instructions/vpalignr.rb +209 -0
  869. data/lib/fisk/instructions/vpand.rb +81 -0
  870. data/lib/fisk/instructions/vpandd.rb +117 -0
  871. data/lib/fisk/instructions/vpandn.rb +81 -0
  872. data/lib/fisk/instructions/vpandnd.rb +117 -0
  873. data/lib/fisk/instructions/vpandnq.rb +117 -0
  874. data/lib/fisk/instructions/vpandq.rb +117 -0
  875. data/lib/fisk/instructions/vpavgb.rb +189 -0
  876. data/lib/fisk/instructions/vpavgw.rb +189 -0
  877. data/lib/fisk/instructions/vpblendd.rb +89 -0
  878. data/lib/fisk/instructions/vpblendmb.rb +117 -0
  879. data/lib/fisk/instructions/vpblendmd.rb +117 -0
  880. data/lib/fisk/instructions/vpblendmq.rb +117 -0
  881. data/lib/fisk/instructions/vpblendmw.rb +117 -0
  882. data/lib/fisk/instructions/vpblendvb.rb +89 -0
  883. data/lib/fisk/instructions/vpblendw.rb +89 -0
  884. data/lib/fisk/instructions/vpbroadcastb.rb +230 -0
  885. data/lib/fisk/instructions/vpbroadcastd.rb +230 -0
  886. data/lib/fisk/instructions/vpbroadcastmb2q.rb +60 -0
  887. data/lib/fisk/instructions/vpbroadcastmw2d.rb +60 -0
  888. data/lib/fisk/instructions/vpbroadcastq.rb +230 -0
  889. data/lib/fisk/instructions/vpbroadcastw.rb +230 -0
  890. data/lib/fisk/instructions/vpclmulqdq.rb +49 -0
  891. data/lib/fisk/instructions/vpcmov.rb +153 -0
  892. data/lib/fisk/instructions/vpcmpb.rb +129 -0
  893. data/lib/fisk/instructions/vpcmpd.rb +129 -0
  894. data/lib/fisk/instructions/vpcmpeqb.rb +189 -0
  895. data/lib/fisk/instructions/vpcmpeqd.rb +189 -0
  896. data/lib/fisk/instructions/vpcmpeqq.rb +189 -0
  897. data/lib/fisk/instructions/vpcmpeqw.rb +189 -0
  898. data/lib/fisk/instructions/vpcmpestri.rb +47 -0
  899. data/lib/fisk/instructions/vpcmpestrm.rb +47 -0
  900. data/lib/fisk/instructions/vpcmpgtb.rb +189 -0
  901. data/lib/fisk/instructions/vpcmpgtd.rb +189 -0
  902. data/lib/fisk/instructions/vpcmpgtq.rb +189 -0
  903. data/lib/fisk/instructions/vpcmpgtw.rb +189 -0
  904. data/lib/fisk/instructions/vpcmpistri.rb +47 -0
  905. data/lib/fisk/instructions/vpcmpistrm.rb +47 -0
  906. data/lib/fisk/instructions/vpcmpq.rb +129 -0
  907. data/lib/fisk/instructions/vpcmpub.rb +129 -0
  908. data/lib/fisk/instructions/vpcmpud.rb +129 -0
  909. data/lib/fisk/instructions/vpcmpuq.rb +129 -0
  910. data/lib/fisk/instructions/vpcmpuw.rb +129 -0
  911. data/lib/fisk/instructions/vpcmpw.rb +129 -0
  912. data/lib/fisk/instructions/vpcomb.rb +49 -0
  913. data/lib/fisk/instructions/vpcomd.rb +49 -0
  914. data/lib/fisk/instructions/vpcompressd.rb +111 -0
  915. data/lib/fisk/instructions/vpcompressq.rb +111 -0
  916. data/lib/fisk/instructions/vpcomq.rb +49 -0
  917. data/lib/fisk/instructions/vpcomub.rb +49 -0
  918. data/lib/fisk/instructions/vpcomud.rb +49 -0
  919. data/lib/fisk/instructions/vpcomuq.rb +49 -0
  920. data/lib/fisk/instructions/vpcomuw.rb +49 -0
  921. data/lib/fisk/instructions/vpcomw.rb +49 -0
  922. data/lib/fisk/instructions/vpconflictd.rb +111 -0
  923. data/lib/fisk/instructions/vpconflictq.rb +111 -0
  924. data/lib/fisk/instructions/vperm2f128.rb +49 -0
  925. data/lib/fisk/instructions/vperm2i128.rb +49 -0
  926. data/lib/fisk/instructions/vpermb.rb +117 -0
  927. data/lib/fisk/instructions/vpermd.rb +117 -0
  928. data/lib/fisk/instructions/vpermi2b.rb +117 -0
  929. data/lib/fisk/instructions/vpermi2d.rb +117 -0
  930. data/lib/fisk/instructions/vpermi2pd.rb +117 -0
  931. data/lib/fisk/instructions/vpermi2ps.rb +117 -0
  932. data/lib/fisk/instructions/vpermi2q.rb +117 -0
  933. data/lib/fisk/instructions/vpermi2w.rb +117 -0
  934. data/lib/fisk/instructions/vpermil2pd.rb +159 -0
  935. data/lib/fisk/instructions/vpermil2ps.rb +159 -0
  936. data/lib/fisk/instructions/vpermilpd.rb +379 -0
  937. data/lib/fisk/instructions/vpermilps.rb +379 -0
  938. data/lib/fisk/instructions/vpermpd.rb +195 -0
  939. data/lib/fisk/instructions/vpermps.rb +117 -0
  940. data/lib/fisk/instructions/vpermq.rb +195 -0
  941. data/lib/fisk/instructions/vpermt2b.rb +117 -0
  942. data/lib/fisk/instructions/vpermt2d.rb +117 -0
  943. data/lib/fisk/instructions/vpermt2pd.rb +117 -0
  944. data/lib/fisk/instructions/vpermt2ps.rb +117 -0
  945. data/lib/fisk/instructions/vpermt2q.rb +117 -0
  946. data/lib/fisk/instructions/vpermt2w.rb +117 -0
  947. data/lib/fisk/instructions/vpermw.rb +117 -0
  948. data/lib/fisk/instructions/vpexpandd.rb +111 -0
  949. data/lib/fisk/instructions/vpexpandq.rb +111 -0
  950. data/lib/fisk/instructions/vpextrb.rb +85 -0
  951. data/lib/fisk/instructions/vpextrd.rb +85 -0
  952. data/lib/fisk/instructions/vpextrq.rb +85 -0
  953. data/lib/fisk/instructions/vpextrw.rb +109 -0
  954. data/lib/fisk/instructions/vpgatherdd.rb +96 -0
  955. data/lib/fisk/instructions/vpgatherdq.rb +96 -0
  956. data/lib/fisk/instructions/vpgatherqd.rb +96 -0
  957. data/lib/fisk/instructions/vpgatherqq.rb +96 -0
  958. data/lib/fisk/instructions/vphaddbd.rb +43 -0
  959. data/lib/fisk/instructions/vphaddbq.rb +43 -0
  960. data/lib/fisk/instructions/vphaddbw.rb +43 -0
  961. data/lib/fisk/instructions/vphaddd.rb +81 -0
  962. data/lib/fisk/instructions/vphadddq.rb +43 -0
  963. data/lib/fisk/instructions/vphaddsw.rb +81 -0
  964. data/lib/fisk/instructions/vphaddubd.rb +43 -0
  965. data/lib/fisk/instructions/vphaddubq.rb +43 -0
  966. data/lib/fisk/instructions/vphaddubw.rb +43 -0
  967. data/lib/fisk/instructions/vphaddudq.rb +43 -0
  968. data/lib/fisk/instructions/vphadduwd.rb +43 -0
  969. data/lib/fisk/instructions/vphadduwq.rb +43 -0
  970. data/lib/fisk/instructions/vphaddw.rb +81 -0
  971. data/lib/fisk/instructions/vphaddwd.rb +43 -0
  972. data/lib/fisk/instructions/vphaddwq.rb +43 -0
  973. data/lib/fisk/instructions/vphminposuw.rb +43 -0
  974. data/lib/fisk/instructions/vphsubbw.rb +43 -0
  975. data/lib/fisk/instructions/vphsubd.rb +81 -0
  976. data/lib/fisk/instructions/vphsubdq.rb +43 -0
  977. data/lib/fisk/instructions/vphsubsw.rb +81 -0
  978. data/lib/fisk/instructions/vphsubw.rb +81 -0
  979. data/lib/fisk/instructions/vphsubwd.rb +43 -0
  980. data/lib/fisk/instructions/vpinsrb.rb +89 -0
  981. data/lib/fisk/instructions/vpinsrd.rb +89 -0
  982. data/lib/fisk/instructions/vpinsrq.rb +89 -0
  983. data/lib/fisk/instructions/vpinsrw.rb +89 -0
  984. data/lib/fisk/instructions/vplzcntd.rb +111 -0
  985. data/lib/fisk/instructions/vplzcntq.rb +111 -0
  986. data/lib/fisk/instructions/vpmacsdd.rb +49 -0
  987. data/lib/fisk/instructions/vpmacsdqh.rb +49 -0
  988. data/lib/fisk/instructions/vpmacsdql.rb +49 -0
  989. data/lib/fisk/instructions/vpmacssdd.rb +49 -0
  990. data/lib/fisk/instructions/vpmacssdqh.rb +49 -0
  991. data/lib/fisk/instructions/vpmacssdql.rb +49 -0
  992. data/lib/fisk/instructions/vpmacsswd.rb +49 -0
  993. data/lib/fisk/instructions/vpmacssww.rb +49 -0
  994. data/lib/fisk/instructions/vpmacswd.rb +49 -0
  995. data/lib/fisk/instructions/vpmacsww.rb +49 -0
  996. data/lib/fisk/instructions/vpmadcsswd.rb +49 -0
  997. data/lib/fisk/instructions/vpmadcswd.rb +49 -0
  998. data/lib/fisk/instructions/vpmadd52huq.rb +117 -0
  999. data/lib/fisk/instructions/vpmadd52luq.rb +117 -0
  1000. data/lib/fisk/instructions/vpmaddubsw.rb +189 -0
  1001. data/lib/fisk/instructions/vpmaddwd.rb +189 -0
  1002. data/lib/fisk/instructions/vpmaskmovd.rb +81 -0
  1003. data/lib/fisk/instructions/vpmaskmovq.rb +81 -0
  1004. data/lib/fisk/instructions/vpmaxsb.rb +189 -0
  1005. data/lib/fisk/instructions/vpmaxsd.rb +189 -0
  1006. data/lib/fisk/instructions/vpmaxsq.rb +117 -0
  1007. data/lib/fisk/instructions/vpmaxsw.rb +189 -0
  1008. data/lib/fisk/instructions/vpmaxub.rb +189 -0
  1009. data/lib/fisk/instructions/vpmaxud.rb +189 -0
  1010. data/lib/fisk/instructions/vpmaxuq.rb +117 -0
  1011. data/lib/fisk/instructions/vpmaxuw.rb +189 -0
  1012. data/lib/fisk/instructions/vpminsb.rb +189 -0
  1013. data/lib/fisk/instructions/vpminsd.rb +189 -0
  1014. data/lib/fisk/instructions/vpminsq.rb +117 -0
  1015. data/lib/fisk/instructions/vpminsw.rb +189 -0
  1016. data/lib/fisk/instructions/vpminub.rb +189 -0
  1017. data/lib/fisk/instructions/vpminud.rb +189 -0
  1018. data/lib/fisk/instructions/vpminuq.rb +117 -0
  1019. data/lib/fisk/instructions/vpminuw.rb +189 -0
  1020. data/lib/fisk/instructions/vpmovb2m.rb +60 -0
  1021. data/lib/fisk/instructions/vpmovd2m.rb +60 -0
  1022. data/lib/fisk/instructions/vpmovdb.rb +111 -0
  1023. data/lib/fisk/instructions/vpmovdw.rb +111 -0
  1024. data/lib/fisk/instructions/vpmovm2b.rb +60 -0
  1025. data/lib/fisk/instructions/vpmovm2d.rb +60 -0
  1026. data/lib/fisk/instructions/vpmovm2q.rb +60 -0
  1027. data/lib/fisk/instructions/vpmovm2w.rb +60 -0
  1028. data/lib/fisk/instructions/vpmovmskb.rb +43 -0
  1029. data/lib/fisk/instructions/vpmovq2m.rb +60 -0
  1030. data/lib/fisk/instructions/vpmovqb.rb +111 -0
  1031. data/lib/fisk/instructions/vpmovqd.rb +111 -0
  1032. data/lib/fisk/instructions/vpmovqw.rb +111 -0
  1033. data/lib/fisk/instructions/vpmovsdb.rb +111 -0
  1034. data/lib/fisk/instructions/vpmovsdw.rb +111 -0
  1035. data/lib/fisk/instructions/vpmovsqb.rb +111 -0
  1036. data/lib/fisk/instructions/vpmovsqd.rb +111 -0
  1037. data/lib/fisk/instructions/vpmovsqw.rb +111 -0
  1038. data/lib/fisk/instructions/vpmovswb.rb +111 -0
  1039. data/lib/fisk/instructions/vpmovsxbd.rb +179 -0
  1040. data/lib/fisk/instructions/vpmovsxbq.rb +179 -0
  1041. data/lib/fisk/instructions/vpmovsxbw.rb +179 -0
  1042. data/lib/fisk/instructions/vpmovsxdq.rb +179 -0
  1043. data/lib/fisk/instructions/vpmovsxwd.rb +179 -0
  1044. data/lib/fisk/instructions/vpmovsxwq.rb +179 -0
  1045. data/lib/fisk/instructions/vpmovusdb.rb +111 -0
  1046. data/lib/fisk/instructions/vpmovusdw.rb +111 -0
  1047. data/lib/fisk/instructions/vpmovusqb.rb +111 -0
  1048. data/lib/fisk/instructions/vpmovusqd.rb +111 -0
  1049. data/lib/fisk/instructions/vpmovusqw.rb +111 -0
  1050. data/lib/fisk/instructions/vpmovuswb.rb +111 -0
  1051. data/lib/fisk/instructions/vpmovw2m.rb +60 -0
  1052. data/lib/fisk/instructions/vpmovwb.rb +111 -0
  1053. data/lib/fisk/instructions/vpmovzxbd.rb +179 -0
  1054. data/lib/fisk/instructions/vpmovzxbq.rb +179 -0
  1055. data/lib/fisk/instructions/vpmovzxbw.rb +179 -0
  1056. data/lib/fisk/instructions/vpmovzxdq.rb +179 -0
  1057. data/lib/fisk/instructions/vpmovzxwd.rb +179 -0
  1058. data/lib/fisk/instructions/vpmovzxwq.rb +179 -0
  1059. data/lib/fisk/instructions/vpmuldq.rb +189 -0
  1060. data/lib/fisk/instructions/vpmulhrsw.rb +189 -0
  1061. data/lib/fisk/instructions/vpmulhuw.rb +189 -0
  1062. data/lib/fisk/instructions/vpmulhw.rb +189 -0
  1063. data/lib/fisk/instructions/vpmulld.rb +189 -0
  1064. data/lib/fisk/instructions/vpmullq.rb +117 -0
  1065. data/lib/fisk/instructions/vpmullw.rb +189 -0
  1066. data/lib/fisk/instructions/vpmultishiftqb.rb +117 -0
  1067. data/lib/fisk/instructions/vpmuludq.rb +189 -0
  1068. data/lib/fisk/instructions/vpopcntd.rb +43 -0
  1069. data/lib/fisk/instructions/vpopcntq.rb +43 -0
  1070. data/lib/fisk/instructions/vpor.rb +81 -0
  1071. data/lib/fisk/instructions/vpord.rb +117 -0
  1072. data/lib/fisk/instructions/vporq.rb +117 -0
  1073. data/lib/fisk/instructions/vpperm.rb +81 -0
  1074. data/lib/fisk/instructions/vprold.rb +123 -0
  1075. data/lib/fisk/instructions/vprolq.rb +123 -0
  1076. data/lib/fisk/instructions/vprolvd.rb +117 -0
  1077. data/lib/fisk/instructions/vprolvq.rb +117 -0
  1078. data/lib/fisk/instructions/vprord.rb +123 -0
  1079. data/lib/fisk/instructions/vprorq.rb +123 -0
  1080. data/lib/fisk/instructions/vprorvd.rb +117 -0
  1081. data/lib/fisk/instructions/vprorvq.rb +117 -0
  1082. data/lib/fisk/instructions/vprotb.rb +112 -0
  1083. data/lib/fisk/instructions/vprotd.rb +112 -0
  1084. data/lib/fisk/instructions/vprotq.rb +112 -0
  1085. data/lib/fisk/instructions/vprotw.rb +112 -0
  1086. data/lib/fisk/instructions/vpsadbw.rb +189 -0
  1087. data/lib/fisk/instructions/vpscatterdd.rb +60 -0
  1088. data/lib/fisk/instructions/vpscatterdq.rb +60 -0
  1089. data/lib/fisk/instructions/vpscatterqd.rb +60 -0
  1090. data/lib/fisk/instructions/vpscatterqq.rb +60 -0
  1091. data/lib/fisk/instructions/vpshab.rb +74 -0
  1092. data/lib/fisk/instructions/vpshad.rb +74 -0
  1093. data/lib/fisk/instructions/vpshaq.rb +74 -0
  1094. data/lib/fisk/instructions/vpshaw.rb +74 -0
  1095. data/lib/fisk/instructions/vpshlb.rb +74 -0
  1096. data/lib/fisk/instructions/vpshld.rb +74 -0
  1097. data/lib/fisk/instructions/vpshlq.rb +74 -0
  1098. data/lib/fisk/instructions/vpshlw.rb +74 -0
  1099. data/lib/fisk/instructions/vpshufb.rb +189 -0
  1100. data/lib/fisk/instructions/vpshufd.rb +199 -0
  1101. data/lib/fisk/instructions/vpshufhw.rb +199 -0
  1102. data/lib/fisk/instructions/vpshuflw.rb +199 -0
  1103. data/lib/fisk/instructions/vpsignb.rb +81 -0
  1104. data/lib/fisk/instructions/vpsignd.rb +81 -0
  1105. data/lib/fisk/instructions/vpsignw.rb +81 -0
  1106. data/lib/fisk/instructions/vpslld.rb +341 -0
  1107. data/lib/fisk/instructions/vpslldq.rb +161 -0
  1108. data/lib/fisk/instructions/vpsllq.rb +341 -0
  1109. data/lib/fisk/instructions/vpsllvd.rb +189 -0
  1110. data/lib/fisk/instructions/vpsllvq.rb +189 -0
  1111. data/lib/fisk/instructions/vpsllvw.rb +117 -0
  1112. data/lib/fisk/instructions/vpsllw.rb +341 -0
  1113. data/lib/fisk/instructions/vpsrad.rb +341 -0
  1114. data/lib/fisk/instructions/vpsraq.rb +231 -0
  1115. data/lib/fisk/instructions/vpsravd.rb +189 -0
  1116. data/lib/fisk/instructions/vpsravq.rb +117 -0
  1117. data/lib/fisk/instructions/vpsravw.rb +117 -0
  1118. data/lib/fisk/instructions/vpsraw.rb +341 -0
  1119. data/lib/fisk/instructions/vpsrld.rb +341 -0
  1120. data/lib/fisk/instructions/vpsrldq.rb +161 -0
  1121. data/lib/fisk/instructions/vpsrlq.rb +341 -0
  1122. data/lib/fisk/instructions/vpsrlvd.rb +189 -0
  1123. data/lib/fisk/instructions/vpsrlvq.rb +189 -0
  1124. data/lib/fisk/instructions/vpsrlvw.rb +117 -0
  1125. data/lib/fisk/instructions/vpsrlw.rb +341 -0
  1126. data/lib/fisk/instructions/vpsubb.rb +189 -0
  1127. data/lib/fisk/instructions/vpsubd.rb +189 -0
  1128. data/lib/fisk/instructions/vpsubq.rb +189 -0
  1129. data/lib/fisk/instructions/vpsubsb.rb +189 -0
  1130. data/lib/fisk/instructions/vpsubsw.rb +189 -0
  1131. data/lib/fisk/instructions/vpsubusb.rb +189 -0
  1132. data/lib/fisk/instructions/vpsubusw.rb +189 -0
  1133. data/lib/fisk/instructions/vpsubw.rb +189 -0
  1134. data/lib/fisk/instructions/vpternlogd.rb +129 -0
  1135. data/lib/fisk/instructions/vpternlogq.rb +129 -0
  1136. data/lib/fisk/instructions/vptest.rb +77 -0
  1137. data/lib/fisk/instructions/vptestmb.rb +117 -0
  1138. data/lib/fisk/instructions/vptestmd.rb +117 -0
  1139. data/lib/fisk/instructions/vptestmq.rb +117 -0
  1140. data/lib/fisk/instructions/vptestmw.rb +117 -0
  1141. data/lib/fisk/instructions/vptestnmb.rb +117 -0
  1142. data/lib/fisk/instructions/vptestnmd.rb +117 -0
  1143. data/lib/fisk/instructions/vptestnmq.rb +117 -0
  1144. data/lib/fisk/instructions/vptestnmw.rb +117 -0
  1145. data/lib/fisk/instructions/vpunpckhbw.rb +189 -0
  1146. data/lib/fisk/instructions/vpunpckhdq.rb +189 -0
  1147. data/lib/fisk/instructions/vpunpckhqdq.rb +189 -0
  1148. data/lib/fisk/instructions/vpunpckhwd.rb +189 -0
  1149. data/lib/fisk/instructions/vpunpcklbw.rb +189 -0
  1150. data/lib/fisk/instructions/vpunpckldq.rb +189 -0
  1151. data/lib/fisk/instructions/vpunpcklqdq.rb +189 -0
  1152. data/lib/fisk/instructions/vpunpcklwd.rb +189 -0
  1153. data/lib/fisk/instructions/vpxor.rb +81 -0
  1154. data/lib/fisk/instructions/vpxord.rb +117 -0
  1155. data/lib/fisk/instructions/vpxorq.rb +117 -0
  1156. data/lib/fisk/instructions/vrangepd.rb +130 -0
  1157. data/lib/fisk/instructions/vrangeps.rb +130 -0
  1158. data/lib/fisk/instructions/vrangesd.rb +50 -0
  1159. data/lib/fisk/instructions/vrangess.rb +50 -0
  1160. data/lib/fisk/instructions/vrcp14pd.rb +111 -0
  1161. data/lib/fisk/instructions/vrcp14ps.rb +111 -0
  1162. data/lib/fisk/instructions/vrcp14sd.rb +45 -0
  1163. data/lib/fisk/instructions/vrcp14ss.rb +45 -0
  1164. data/lib/fisk/instructions/vrcp28pd.rb +44 -0
  1165. data/lib/fisk/instructions/vrcp28ps.rb +44 -0
  1166. data/lib/fisk/instructions/vrcp28sd.rb +46 -0
  1167. data/lib/fisk/instructions/vrcp28ss.rb +46 -0
  1168. data/lib/fisk/instructions/vrcpps.rb +77 -0
  1169. data/lib/fisk/instructions/vrcpss.rb +45 -0
  1170. data/lib/fisk/instructions/vreducepd.rb +123 -0
  1171. data/lib/fisk/instructions/vreduceps.rb +123 -0
  1172. data/lib/fisk/instructions/vreducesd.rb +49 -0
  1173. data/lib/fisk/instructions/vreducess.rb +49 -0
  1174. data/lib/fisk/instructions/vrndscalepd.rb +124 -0
  1175. data/lib/fisk/instructions/vrndscaleps.rb +124 -0
  1176. data/lib/fisk/instructions/vrndscalesd.rb +50 -0
  1177. data/lib/fisk/instructions/vrndscaless.rb +50 -0
  1178. data/lib/fisk/instructions/vroundpd.rb +85 -0
  1179. data/lib/fisk/instructions/vroundps.rb +85 -0
  1180. data/lib/fisk/instructions/vroundsd.rb +49 -0
  1181. data/lib/fisk/instructions/vroundss.rb +49 -0
  1182. data/lib/fisk/instructions/vrsqrt14pd.rb +111 -0
  1183. data/lib/fisk/instructions/vrsqrt14ps.rb +111 -0
  1184. data/lib/fisk/instructions/vrsqrt14sd.rb +45 -0
  1185. data/lib/fisk/instructions/vrsqrt14ss.rb +45 -0
  1186. data/lib/fisk/instructions/vrsqrt28pd.rb +44 -0
  1187. data/lib/fisk/instructions/vrsqrt28ps.rb +44 -0
  1188. data/lib/fisk/instructions/vrsqrt28sd.rb +46 -0
  1189. data/lib/fisk/instructions/vrsqrt28ss.rb +46 -0
  1190. data/lib/fisk/instructions/vrsqrtps.rb +77 -0
  1191. data/lib/fisk/instructions/vrsqrtss.rb +45 -0
  1192. data/lib/fisk/instructions/vscalefpd.rb +118 -0
  1193. data/lib/fisk/instructions/vscalefps.rb +118 -0
  1194. data/lib/fisk/instructions/vscalefsd.rb +46 -0
  1195. data/lib/fisk/instructions/vscalefss.rb +46 -0
  1196. data/lib/fisk/instructions/vscatterdpd.rb +60 -0
  1197. data/lib/fisk/instructions/vscatterdps.rb +60 -0
  1198. data/lib/fisk/instructions/vscatterpf0dpd.rb +25 -0
  1199. data/lib/fisk/instructions/vscatterpf0dps.rb +25 -0
  1200. data/lib/fisk/instructions/vscatterpf0qpd.rb +25 -0
  1201. data/lib/fisk/instructions/vscatterpf0qps.rb +25 -0
  1202. data/lib/fisk/instructions/vscatterpf1dpd.rb +25 -0
  1203. data/lib/fisk/instructions/vscatterpf1dps.rb +25 -0
  1204. data/lib/fisk/instructions/vscatterpf1qpd.rb +25 -0
  1205. data/lib/fisk/instructions/vscatterpf1qps.rb +25 -0
  1206. data/lib/fisk/instructions/vscatterqpd.rb +60 -0
  1207. data/lib/fisk/instructions/vscatterqps.rb +60 -0
  1208. data/lib/fisk/instructions/vshuff32x4.rb +89 -0
  1209. data/lib/fisk/instructions/vshuff64x2.rb +89 -0
  1210. data/lib/fisk/instructions/vshufi32x4.rb +89 -0
  1211. data/lib/fisk/instructions/vshufi64x2.rb +89 -0
  1212. data/lib/fisk/instructions/vshufpd.rb +209 -0
  1213. data/lib/fisk/instructions/vshufps.rb +209 -0
  1214. data/lib/fisk/instructions/vsqrtpd.rb +180 -0
  1215. data/lib/fisk/instructions/vsqrtps.rb +180 -0
  1216. data/lib/fisk/instructions/vsqrtsd.rb +82 -0
  1217. data/lib/fisk/instructions/vsqrtss.rb +82 -0
  1218. data/lib/fisk/instructions/vstmxcsr.rb +25 -0
  1219. data/lib/fisk/instructions/vsubpd.rb +190 -0
  1220. data/lib/fisk/instructions/vsubps.rb +190 -0
  1221. data/lib/fisk/instructions/vsubsd.rb +82 -0
  1222. data/lib/fisk/instructions/vsubss.rb +82 -0
  1223. data/lib/fisk/instructions/vtestpd.rb +77 -0
  1224. data/lib/fisk/instructions/vtestps.rb +77 -0
  1225. data/lib/fisk/instructions/vucomisd.rb +78 -0
  1226. data/lib/fisk/instructions/vucomiss.rb +78 -0
  1227. data/lib/fisk/instructions/vunpckhpd.rb +189 -0
  1228. data/lib/fisk/instructions/vunpckhps.rb +189 -0
  1229. data/lib/fisk/instructions/vunpcklpd.rb +189 -0
  1230. data/lib/fisk/instructions/vunpcklps.rb +189 -0
  1231. data/lib/fisk/instructions/vxorpd.rb +189 -0
  1232. data/lib/fisk/instructions/vxorps.rb +189 -0
  1233. data/lib/fisk/instructions/vzeroall.rb +20 -0
  1234. data/lib/fisk/instructions/vzeroupper.rb +20 -0
  1235. data/lib/fisk/instructions/xadd.rb +195 -0
  1236. data/lib/fisk/instructions/xchg.rb +451 -0
  1237. data/lib/fisk/instructions/xgetbv.rb +21 -0
  1238. data/lib/fisk/instructions/xlatb.rb +35 -0
  1239. data/lib/fisk/instructions/xor.rb +726 -0
  1240. data/lib/fisk/instructions/xorpd.rb +57 -0
  1241. data/lib/fisk/instructions/xorps.rb +55 -0
  1242. data/lib/fisk/instructions.rb +5067 -0
  1243. data/lib/fisk/version.rb +3 -0
  1244. data/lib/fisk.rb +728 -96
  1245. data/test/helper.rb +11 -0
  1246. data/test/test_cfg.rb +245 -0
  1247. data/test/test_fisk.rb +526 -3
  1248. data/test/test_fisk_written_size.rb +21 -0
  1249. data/test/test_register_allocation.rb +220 -0
  1250. data/test/test_run_fisk.rb +222 -7
  1251. metadata +1302 -7
  1252. data/bin/machine.rb.erb +0 -100
  1253. data/lib/fisk/machine/encoding.rb +0 -78
  1254. data/lib/fisk/machine/generated.rb +0 -124746
  1255. data/lib/fisk/machine.rb +0 -35
@@ -0,0 +1,129 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Fisk
4
+ module Instructions
5
+ # Instruction VALIGND: Align Doubleword Vectors
6
+ VALIGND = Instruction.new("VALIGND", [
7
+ # valignd: xmm{k}{z}, xmm, m128/m32bcst, imm8
8
+ Form.new([
9
+ OPERAND_TYPES[57],
10
+ OPERAND_TYPES[24],
11
+ OPERAND_TYPES[68],
12
+ OPERAND_TYPES[1],
13
+ ].freeze, [
14
+ Class.new(Fisk::Encoding) {
15
+ def encode buffer, operands
16
+ add_EVEX(buffer, operands)
17
+ add_opcode(buffer, 0x03, 0) +
18
+ add_modrm(buffer,
19
+ 0,
20
+ operands[0].op_value,
21
+ operands[2].op_value, operands) +
22
+ add_immediate(buffer, operands[3].op_value, 1) +
23
+ 0
24
+ end
25
+ }.new.freeze,
26
+ ].freeze).freeze,
27
+ # valignd: xmm{k}{z}, xmm, xmm, imm8
28
+ Form.new([
29
+ OPERAND_TYPES[57],
30
+ OPERAND_TYPES[24],
31
+ OPERAND_TYPES[24],
32
+ OPERAND_TYPES[1],
33
+ ].freeze, [
34
+ Class.new(Fisk::Encoding) {
35
+ def encode buffer, operands
36
+ add_EVEX(buffer, operands)
37
+ add_opcode(buffer, 0x03, 0) +
38
+ add_modrm(buffer,
39
+ 3,
40
+ operands[0].op_value,
41
+ operands[2].op_value, operands) +
42
+ add_immediate(buffer, operands[3].op_value, 1) +
43
+ 0
44
+ end
45
+ }.new.freeze,
46
+ ].freeze).freeze,
47
+ # valignd: ymm{k}{z}, ymm, m256/m32bcst, imm8
48
+ Form.new([
49
+ OPERAND_TYPES[59],
50
+ OPERAND_TYPES[60],
51
+ OPERAND_TYPES[69],
52
+ OPERAND_TYPES[1],
53
+ ].freeze, [
54
+ Class.new(Fisk::Encoding) {
55
+ def encode buffer, operands
56
+ add_EVEX(buffer, operands)
57
+ add_opcode(buffer, 0x03, 0) +
58
+ add_modrm(buffer,
59
+ 0,
60
+ operands[0].op_value,
61
+ operands[2].op_value, operands) +
62
+ add_immediate(buffer, operands[3].op_value, 1) +
63
+ 0
64
+ end
65
+ }.new.freeze,
66
+ ].freeze).freeze,
67
+ # valignd: ymm{k}{z}, ymm, ymm, imm8
68
+ Form.new([
69
+ OPERAND_TYPES[59],
70
+ OPERAND_TYPES[60],
71
+ OPERAND_TYPES[60],
72
+ OPERAND_TYPES[1],
73
+ ].freeze, [
74
+ Class.new(Fisk::Encoding) {
75
+ def encode buffer, operands
76
+ add_EVEX(buffer, operands)
77
+ add_opcode(buffer, 0x03, 0) +
78
+ add_modrm(buffer,
79
+ 3,
80
+ operands[0].op_value,
81
+ operands[2].op_value, operands) +
82
+ add_immediate(buffer, operands[3].op_value, 1) +
83
+ 0
84
+ end
85
+ }.new.freeze,
86
+ ].freeze).freeze,
87
+ # valignd: zmm{k}{z}, zmm, m512/m32bcst, imm8
88
+ Form.new([
89
+ OPERAND_TYPES[62],
90
+ OPERAND_TYPES[63],
91
+ OPERAND_TYPES[70],
92
+ OPERAND_TYPES[1],
93
+ ].freeze, [
94
+ Class.new(Fisk::Encoding) {
95
+ def encode buffer, operands
96
+ add_EVEX(buffer, operands)
97
+ add_opcode(buffer, 0x03, 0) +
98
+ add_modrm(buffer,
99
+ 0,
100
+ operands[0].op_value,
101
+ operands[2].op_value, operands) +
102
+ add_immediate(buffer, operands[3].op_value, 1) +
103
+ 0
104
+ end
105
+ }.new.freeze,
106
+ ].freeze).freeze,
107
+ # valignd: zmm{k}{z}, zmm, zmm, imm8
108
+ Form.new([
109
+ OPERAND_TYPES[62],
110
+ OPERAND_TYPES[63],
111
+ OPERAND_TYPES[63],
112
+ OPERAND_TYPES[1],
113
+ ].freeze, [
114
+ Class.new(Fisk::Encoding) {
115
+ def encode buffer, operands
116
+ add_EVEX(buffer, operands)
117
+ add_opcode(buffer, 0x03, 0) +
118
+ add_modrm(buffer,
119
+ 3,
120
+ operands[0].op_value,
121
+ operands[2].op_value, operands) +
122
+ add_immediate(buffer, operands[3].op_value, 1) +
123
+ 0
124
+ end
125
+ }.new.freeze,
126
+ ].freeze).freeze,
127
+ ].freeze).freeze
128
+ end
129
+ end
@@ -0,0 +1,129 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Fisk
4
+ module Instructions
5
+ # Instruction VALIGNQ: Align Quadword Vectors
6
+ VALIGNQ = Instruction.new("VALIGNQ", [
7
+ # valignq: xmm{k}{z}, xmm, m128/m64bcst, imm8
8
+ Form.new([
9
+ OPERAND_TYPES[57],
10
+ OPERAND_TYPES[24],
11
+ OPERAND_TYPES[58],
12
+ OPERAND_TYPES[1],
13
+ ].freeze, [
14
+ Class.new(Fisk::Encoding) {
15
+ def encode buffer, operands
16
+ add_EVEX(buffer, operands)
17
+ add_opcode(buffer, 0x03, 0) +
18
+ add_modrm(buffer,
19
+ 0,
20
+ operands[0].op_value,
21
+ operands[2].op_value, operands) +
22
+ add_immediate(buffer, operands[3].op_value, 1) +
23
+ 0
24
+ end
25
+ }.new.freeze,
26
+ ].freeze).freeze,
27
+ # valignq: xmm{k}{z}, xmm, xmm, imm8
28
+ Form.new([
29
+ OPERAND_TYPES[57],
30
+ OPERAND_TYPES[24],
31
+ OPERAND_TYPES[24],
32
+ OPERAND_TYPES[1],
33
+ ].freeze, [
34
+ Class.new(Fisk::Encoding) {
35
+ def encode buffer, operands
36
+ add_EVEX(buffer, operands)
37
+ add_opcode(buffer, 0x03, 0) +
38
+ add_modrm(buffer,
39
+ 3,
40
+ operands[0].op_value,
41
+ operands[2].op_value, operands) +
42
+ add_immediate(buffer, operands[3].op_value, 1) +
43
+ 0
44
+ end
45
+ }.new.freeze,
46
+ ].freeze).freeze,
47
+ # valignq: ymm{k}{z}, ymm, m256/m64bcst, imm8
48
+ Form.new([
49
+ OPERAND_TYPES[59],
50
+ OPERAND_TYPES[60],
51
+ OPERAND_TYPES[61],
52
+ OPERAND_TYPES[1],
53
+ ].freeze, [
54
+ Class.new(Fisk::Encoding) {
55
+ def encode buffer, operands
56
+ add_EVEX(buffer, operands)
57
+ add_opcode(buffer, 0x03, 0) +
58
+ add_modrm(buffer,
59
+ 0,
60
+ operands[0].op_value,
61
+ operands[2].op_value, operands) +
62
+ add_immediate(buffer, operands[3].op_value, 1) +
63
+ 0
64
+ end
65
+ }.new.freeze,
66
+ ].freeze).freeze,
67
+ # valignq: ymm{k}{z}, ymm, ymm, imm8
68
+ Form.new([
69
+ OPERAND_TYPES[59],
70
+ OPERAND_TYPES[60],
71
+ OPERAND_TYPES[60],
72
+ OPERAND_TYPES[1],
73
+ ].freeze, [
74
+ Class.new(Fisk::Encoding) {
75
+ def encode buffer, operands
76
+ add_EVEX(buffer, operands)
77
+ add_opcode(buffer, 0x03, 0) +
78
+ add_modrm(buffer,
79
+ 3,
80
+ operands[0].op_value,
81
+ operands[2].op_value, operands) +
82
+ add_immediate(buffer, operands[3].op_value, 1) +
83
+ 0
84
+ end
85
+ }.new.freeze,
86
+ ].freeze).freeze,
87
+ # valignq: zmm{k}{z}, zmm, m512/m64bcst, imm8
88
+ Form.new([
89
+ OPERAND_TYPES[62],
90
+ OPERAND_TYPES[63],
91
+ OPERAND_TYPES[64],
92
+ OPERAND_TYPES[1],
93
+ ].freeze, [
94
+ Class.new(Fisk::Encoding) {
95
+ def encode buffer, operands
96
+ add_EVEX(buffer, operands)
97
+ add_opcode(buffer, 0x03, 0) +
98
+ add_modrm(buffer,
99
+ 0,
100
+ operands[0].op_value,
101
+ operands[2].op_value, operands) +
102
+ add_immediate(buffer, operands[3].op_value, 1) +
103
+ 0
104
+ end
105
+ }.new.freeze,
106
+ ].freeze).freeze,
107
+ # valignq: zmm{k}{z}, zmm, zmm, imm8
108
+ Form.new([
109
+ OPERAND_TYPES[62],
110
+ OPERAND_TYPES[63],
111
+ OPERAND_TYPES[63],
112
+ OPERAND_TYPES[1],
113
+ ].freeze, [
114
+ Class.new(Fisk::Encoding) {
115
+ def encode buffer, operands
116
+ add_EVEX(buffer, operands)
117
+ add_opcode(buffer, 0x03, 0) +
118
+ add_modrm(buffer,
119
+ 3,
120
+ operands[0].op_value,
121
+ operands[2].op_value, operands) +
122
+ add_immediate(buffer, operands[3].op_value, 1) +
123
+ 0
124
+ end
125
+ }.new.freeze,
126
+ ].freeze).freeze,
127
+ ].freeze).freeze
128
+ end
129
+ end
@@ -0,0 +1,189 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Fisk
4
+ module Instructions
5
+ # Instruction VANDNPD: Bitwise Logical AND NOT of Packed Double-Precision Floating-Point Values
6
+ VANDNPD = Instruction.new("VANDNPD", [
7
+ # vandnpd: xmm{k}{z}, xmm, m128/m64bcst
8
+ Form.new([
9
+ OPERAND_TYPES[57],
10
+ OPERAND_TYPES[24],
11
+ OPERAND_TYPES[58],
12
+ ].freeze, [
13
+ Class.new(Fisk::Encoding) {
14
+ def encode buffer, operands
15
+ add_EVEX(buffer, operands)
16
+ add_opcode(buffer, 0x55, 0) +
17
+ add_modrm(buffer,
18
+ 0,
19
+ operands[0].op_value,
20
+ operands[2].op_value, operands) +
21
+ 0
22
+ end
23
+ }.new.freeze,
24
+ ].freeze).freeze,
25
+ # vandnpd: xmm{k}{z}, xmm, xmm
26
+ Form.new([
27
+ OPERAND_TYPES[57],
28
+ OPERAND_TYPES[24],
29
+ OPERAND_TYPES[24],
30
+ ].freeze, [
31
+ Class.new(Fisk::Encoding) {
32
+ def encode buffer, operands
33
+ add_EVEX(buffer, operands)
34
+ add_opcode(buffer, 0x55, 0) +
35
+ add_modrm(buffer,
36
+ 3,
37
+ operands[0].op_value,
38
+ operands[2].op_value, operands) +
39
+ 0
40
+ end
41
+ }.new.freeze,
42
+ ].freeze).freeze,
43
+ # vandnpd: ymm{k}{z}, ymm, m256/m64bcst
44
+ Form.new([
45
+ OPERAND_TYPES[59],
46
+ OPERAND_TYPES[60],
47
+ OPERAND_TYPES[61],
48
+ ].freeze, [
49
+ Class.new(Fisk::Encoding) {
50
+ def encode buffer, operands
51
+ add_EVEX(buffer, operands)
52
+ add_opcode(buffer, 0x55, 0) +
53
+ add_modrm(buffer,
54
+ 0,
55
+ operands[0].op_value,
56
+ operands[2].op_value, operands) +
57
+ 0
58
+ end
59
+ }.new.freeze,
60
+ ].freeze).freeze,
61
+ # vandnpd: ymm{k}{z}, ymm, ymm
62
+ Form.new([
63
+ OPERAND_TYPES[59],
64
+ OPERAND_TYPES[60],
65
+ OPERAND_TYPES[60],
66
+ ].freeze, [
67
+ Class.new(Fisk::Encoding) {
68
+ def encode buffer, operands
69
+ add_EVEX(buffer, operands)
70
+ add_opcode(buffer, 0x55, 0) +
71
+ add_modrm(buffer,
72
+ 3,
73
+ operands[0].op_value,
74
+ operands[2].op_value, operands) +
75
+ 0
76
+ end
77
+ }.new.freeze,
78
+ ].freeze).freeze,
79
+ # vandnpd: zmm{k}{z}, zmm, m512/m64bcst
80
+ Form.new([
81
+ OPERAND_TYPES[62],
82
+ OPERAND_TYPES[63],
83
+ OPERAND_TYPES[64],
84
+ ].freeze, [
85
+ Class.new(Fisk::Encoding) {
86
+ def encode buffer, operands
87
+ add_EVEX(buffer, operands)
88
+ add_opcode(buffer, 0x55, 0) +
89
+ add_modrm(buffer,
90
+ 0,
91
+ operands[0].op_value,
92
+ operands[2].op_value, operands) +
93
+ 0
94
+ end
95
+ }.new.freeze,
96
+ ].freeze).freeze,
97
+ # vandnpd: zmm{k}{z}, zmm, zmm
98
+ Form.new([
99
+ OPERAND_TYPES[62],
100
+ OPERAND_TYPES[63],
101
+ OPERAND_TYPES[63],
102
+ ].freeze, [
103
+ Class.new(Fisk::Encoding) {
104
+ def encode buffer, operands
105
+ add_EVEX(buffer, operands)
106
+ add_opcode(buffer, 0x55, 0) +
107
+ add_modrm(buffer,
108
+ 3,
109
+ operands[0].op_value,
110
+ operands[2].op_value, operands) +
111
+ 0
112
+ end
113
+ }.new.freeze,
114
+ ].freeze).freeze,
115
+ # vandnpd: xmm, xmm, xmm
116
+ Form.new([
117
+ OPERAND_TYPES[26],
118
+ OPERAND_TYPES[24],
119
+ OPERAND_TYPES[24],
120
+ ].freeze, [
121
+ Class.new(Fisk::Encoding) {
122
+ def encode buffer, operands
123
+ add_VEX(buffer, operands)
124
+ add_opcode(buffer, 0x55, 0) +
125
+ add_modrm(buffer,
126
+ 3,
127
+ operands[0].op_value,
128
+ operands[2].op_value, operands) +
129
+ 0
130
+ end
131
+ }.new.freeze,
132
+ ].freeze).freeze,
133
+ # vandnpd: xmm, xmm, m128
134
+ Form.new([
135
+ OPERAND_TYPES[26],
136
+ OPERAND_TYPES[24],
137
+ OPERAND_TYPES[25],
138
+ ].freeze, [
139
+ Class.new(Fisk::Encoding) {
140
+ def encode buffer, operands
141
+ add_VEX(buffer, operands)
142
+ add_opcode(buffer, 0x55, 0) +
143
+ add_modrm(buffer,
144
+ 0,
145
+ operands[0].op_value,
146
+ operands[2].op_value, operands) +
147
+ 0
148
+ end
149
+ }.new.freeze,
150
+ ].freeze).freeze,
151
+ # vandnpd: ymm, ymm, ymm
152
+ Form.new([
153
+ OPERAND_TYPES[65],
154
+ OPERAND_TYPES[60],
155
+ OPERAND_TYPES[60],
156
+ ].freeze, [
157
+ Class.new(Fisk::Encoding) {
158
+ def encode buffer, operands
159
+ add_VEX(buffer, operands)
160
+ add_opcode(buffer, 0x55, 0) +
161
+ add_modrm(buffer,
162
+ 3,
163
+ operands[0].op_value,
164
+ operands[2].op_value, operands) +
165
+ 0
166
+ end
167
+ }.new.freeze,
168
+ ].freeze).freeze,
169
+ # vandnpd: ymm, ymm, m256
170
+ Form.new([
171
+ OPERAND_TYPES[65],
172
+ OPERAND_TYPES[60],
173
+ OPERAND_TYPES[66],
174
+ ].freeze, [
175
+ Class.new(Fisk::Encoding) {
176
+ def encode buffer, operands
177
+ add_VEX(buffer, operands)
178
+ add_opcode(buffer, 0x55, 0) +
179
+ add_modrm(buffer,
180
+ 0,
181
+ operands[0].op_value,
182
+ operands[2].op_value, operands) +
183
+ 0
184
+ end
185
+ }.new.freeze,
186
+ ].freeze).freeze,
187
+ ].freeze).freeze
188
+ end
189
+ end
@@ -0,0 +1,189 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Fisk
4
+ module Instructions
5
+ # Instruction VANDNPS: Bitwise Logical AND NOT of Packed Single-Precision Floating-Point Values
6
+ VANDNPS = Instruction.new("VANDNPS", [
7
+ # vandnps: xmm{k}{z}, xmm, m128/m32bcst
8
+ Form.new([
9
+ OPERAND_TYPES[57],
10
+ OPERAND_TYPES[24],
11
+ OPERAND_TYPES[68],
12
+ ].freeze, [
13
+ Class.new(Fisk::Encoding) {
14
+ def encode buffer, operands
15
+ add_EVEX(buffer, operands)
16
+ add_opcode(buffer, 0x55, 0) +
17
+ add_modrm(buffer,
18
+ 0,
19
+ operands[0].op_value,
20
+ operands[2].op_value, operands) +
21
+ 0
22
+ end
23
+ }.new.freeze,
24
+ ].freeze).freeze,
25
+ # vandnps: xmm{k}{z}, xmm, xmm
26
+ Form.new([
27
+ OPERAND_TYPES[57],
28
+ OPERAND_TYPES[24],
29
+ OPERAND_TYPES[24],
30
+ ].freeze, [
31
+ Class.new(Fisk::Encoding) {
32
+ def encode buffer, operands
33
+ add_EVEX(buffer, operands)
34
+ add_opcode(buffer, 0x55, 0) +
35
+ add_modrm(buffer,
36
+ 3,
37
+ operands[0].op_value,
38
+ operands[2].op_value, operands) +
39
+ 0
40
+ end
41
+ }.new.freeze,
42
+ ].freeze).freeze,
43
+ # vandnps: ymm{k}{z}, ymm, m256/m32bcst
44
+ Form.new([
45
+ OPERAND_TYPES[59],
46
+ OPERAND_TYPES[60],
47
+ OPERAND_TYPES[69],
48
+ ].freeze, [
49
+ Class.new(Fisk::Encoding) {
50
+ def encode buffer, operands
51
+ add_EVEX(buffer, operands)
52
+ add_opcode(buffer, 0x55, 0) +
53
+ add_modrm(buffer,
54
+ 0,
55
+ operands[0].op_value,
56
+ operands[2].op_value, operands) +
57
+ 0
58
+ end
59
+ }.new.freeze,
60
+ ].freeze).freeze,
61
+ # vandnps: ymm{k}{z}, ymm, ymm
62
+ Form.new([
63
+ OPERAND_TYPES[59],
64
+ OPERAND_TYPES[60],
65
+ OPERAND_TYPES[60],
66
+ ].freeze, [
67
+ Class.new(Fisk::Encoding) {
68
+ def encode buffer, operands
69
+ add_EVEX(buffer, operands)
70
+ add_opcode(buffer, 0x55, 0) +
71
+ add_modrm(buffer,
72
+ 3,
73
+ operands[0].op_value,
74
+ operands[2].op_value, operands) +
75
+ 0
76
+ end
77
+ }.new.freeze,
78
+ ].freeze).freeze,
79
+ # vandnps: zmm{k}{z}, zmm, m512/m32bcst
80
+ Form.new([
81
+ OPERAND_TYPES[62],
82
+ OPERAND_TYPES[63],
83
+ OPERAND_TYPES[70],
84
+ ].freeze, [
85
+ Class.new(Fisk::Encoding) {
86
+ def encode buffer, operands
87
+ add_EVEX(buffer, operands)
88
+ add_opcode(buffer, 0x55, 0) +
89
+ add_modrm(buffer,
90
+ 0,
91
+ operands[0].op_value,
92
+ operands[2].op_value, operands) +
93
+ 0
94
+ end
95
+ }.new.freeze,
96
+ ].freeze).freeze,
97
+ # vandnps: zmm{k}{z}, zmm, zmm
98
+ Form.new([
99
+ OPERAND_TYPES[62],
100
+ OPERAND_TYPES[63],
101
+ OPERAND_TYPES[63],
102
+ ].freeze, [
103
+ Class.new(Fisk::Encoding) {
104
+ def encode buffer, operands
105
+ add_EVEX(buffer, operands)
106
+ add_opcode(buffer, 0x55, 0) +
107
+ add_modrm(buffer,
108
+ 3,
109
+ operands[0].op_value,
110
+ operands[2].op_value, operands) +
111
+ 0
112
+ end
113
+ }.new.freeze,
114
+ ].freeze).freeze,
115
+ # vandnps: xmm, xmm, xmm
116
+ Form.new([
117
+ OPERAND_TYPES[26],
118
+ OPERAND_TYPES[24],
119
+ OPERAND_TYPES[24],
120
+ ].freeze, [
121
+ Class.new(Fisk::Encoding) {
122
+ def encode buffer, operands
123
+ add_VEX(buffer, operands)
124
+ add_opcode(buffer, 0x55, 0) +
125
+ add_modrm(buffer,
126
+ 3,
127
+ operands[0].op_value,
128
+ operands[2].op_value, operands) +
129
+ 0
130
+ end
131
+ }.new.freeze,
132
+ ].freeze).freeze,
133
+ # vandnps: xmm, xmm, m128
134
+ Form.new([
135
+ OPERAND_TYPES[26],
136
+ OPERAND_TYPES[24],
137
+ OPERAND_TYPES[25],
138
+ ].freeze, [
139
+ Class.new(Fisk::Encoding) {
140
+ def encode buffer, operands
141
+ add_VEX(buffer, operands)
142
+ add_opcode(buffer, 0x55, 0) +
143
+ add_modrm(buffer,
144
+ 0,
145
+ operands[0].op_value,
146
+ operands[2].op_value, operands) +
147
+ 0
148
+ end
149
+ }.new.freeze,
150
+ ].freeze).freeze,
151
+ # vandnps: ymm, ymm, ymm
152
+ Form.new([
153
+ OPERAND_TYPES[65],
154
+ OPERAND_TYPES[60],
155
+ OPERAND_TYPES[60],
156
+ ].freeze, [
157
+ Class.new(Fisk::Encoding) {
158
+ def encode buffer, operands
159
+ add_VEX(buffer, operands)
160
+ add_opcode(buffer, 0x55, 0) +
161
+ add_modrm(buffer,
162
+ 3,
163
+ operands[0].op_value,
164
+ operands[2].op_value, operands) +
165
+ 0
166
+ end
167
+ }.new.freeze,
168
+ ].freeze).freeze,
169
+ # vandnps: ymm, ymm, m256
170
+ Form.new([
171
+ OPERAND_TYPES[65],
172
+ OPERAND_TYPES[60],
173
+ OPERAND_TYPES[66],
174
+ ].freeze, [
175
+ Class.new(Fisk::Encoding) {
176
+ def encode buffer, operands
177
+ add_VEX(buffer, operands)
178
+ add_opcode(buffer, 0x55, 0) +
179
+ add_modrm(buffer,
180
+ 0,
181
+ operands[0].op_value,
182
+ operands[2].op_value, operands) +
183
+ 0
184
+ end
185
+ }.new.freeze,
186
+ ].freeze).freeze,
187
+ ].freeze).freeze
188
+ end
189
+ end