fisk 2.0.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +34 -0
- data/CODE_OF_CONDUCT.md +78 -0
- data/Gemfile +1 -2
- data/README.md +62 -2
- data/Rakefile +4 -2
- data/bin/build-machine.rb +16 -2
- data/bin/instruction.rb.erb +31 -57
- data/bin/instructions.rb.erb +34 -4
- data/fisk.gemspec +10 -1
- data/lib/fisk/basic_block.rb +162 -0
- data/lib/fisk/encoding.rb +83 -17
- data/lib/fisk/errors.rb +50 -0
- data/lib/fisk/helpers.rb +33 -2
- data/lib/fisk/instructions/adc.rb +561 -595
- data/lib/fisk/instructions/adcx.rb +85 -89
- data/lib/fisk/instructions/add.rb +561 -595
- data/lib/fisk/instructions/addpd.rb +42 -44
- data/lib/fisk/instructions/addps.rb +40 -42
- data/lib/fisk/instructions/addsd.rb +42 -44
- data/lib/fisk/instructions/addss.rb +42 -44
- data/lib/fisk/instructions/addsubpd.rb +42 -44
- data/lib/fisk/instructions/addsubps.rb +42 -44
- data/lib/fisk/instructions/adox.rb +85 -89
- data/lib/fisk/instructions/aesdec.rb +44 -46
- data/lib/fisk/instructions/aesdeclast.rb +44 -46
- data/lib/fisk/instructions/aesenc.rb +44 -46
- data/lib/fisk/instructions/aesenclast.rb +44 -46
- data/lib/fisk/instructions/aesimc.rb +44 -46
- data/lib/fisk/instructions/aeskeygenassist.rb +48 -50
- data/lib/fisk/instructions/and.rb +561 -595
- data/lib/fisk/instructions/andn.rb +67 -71
- data/lib/fisk/instructions/andnpd.rb +42 -44
- data/lib/fisk/instructions/andnps.rb +40 -42
- data/lib/fisk/instructions/andpd.rb +42 -44
- data/lib/fisk/instructions/andps.rb +40 -42
- data/lib/fisk/instructions/bextr.rb +135 -143
- data/lib/fisk/instructions/blcfill.rb +59 -63
- data/lib/fisk/instructions/blci.rb +59 -63
- data/lib/fisk/instructions/blcic.rb +59 -63
- data/lib/fisk/instructions/blcmsk.rb +59 -63
- data/lib/fisk/instructions/blcs.rb +59 -63
- data/lib/fisk/instructions/blendpd.rb +48 -50
- data/lib/fisk/instructions/blendps.rb +48 -50
- data/lib/fisk/instructions/blendvpd.rb +46 -48
- data/lib/fisk/instructions/blendvps.rb +46 -48
- data/lib/fisk/instructions/blsfill.rb +59 -63
- data/lib/fisk/instructions/blsi.rb +59 -63
- data/lib/fisk/instructions/blsic.rb +59 -63
- data/lib/fisk/instructions/blsmsk.rb +59 -63
- data/lib/fisk/instructions/blsr.rb +59 -63
- data/lib/fisk/instructions/bsf.rb +116 -122
- data/lib/fisk/instructions/bsr.rb +116 -122
- data/lib/fisk/instructions/bswap.rb +29 -31
- data/lib/fisk/instructions/bt.rb +223 -235
- data/lib/fisk/instructions/btc.rb +223 -235
- data/lib/fisk/instructions/btr.rb +223 -235
- data/lib/fisk/instructions/bts.rb +223 -235
- data/lib/fisk/instructions/bzhi.rb +67 -71
- data/lib/fisk/instructions/call.rb +43 -46
- data/lib/fisk/instructions/cbw.rb +13 -14
- data/lib/fisk/instructions/cdq.rb +12 -13
- data/lib/fisk/instructions/cdqe.rb +14 -15
- data/lib/fisk/instructions/clc.rb +12 -13
- data/lib/fisk/instructions/cld.rb +12 -13
- data/lib/fisk/instructions/clflush.rb +19 -20
- data/lib/fisk/instructions/clflushopt.rb +20 -21
- data/lib/fisk/instructions/clwb.rb +20 -21
- data/lib/fisk/instructions/clzero.rb +14 -15
- data/lib/fisk/instructions/cmc.rb +12 -13
- data/lib/fisk/instructions/cmova.rb +116 -122
- data/lib/fisk/instructions/cmovae.rb +116 -122
- data/lib/fisk/instructions/cmovb.rb +116 -122
- data/lib/fisk/instructions/cmovbe.rb +116 -122
- data/lib/fisk/instructions/cmovc.rb +116 -122
- data/lib/fisk/instructions/cmove.rb +116 -122
- data/lib/fisk/instructions/cmovg.rb +116 -122
- data/lib/fisk/instructions/cmovge.rb +116 -122
- data/lib/fisk/instructions/cmovl.rb +116 -122
- data/lib/fisk/instructions/cmovle.rb +116 -122
- data/lib/fisk/instructions/cmovna.rb +116 -122
- data/lib/fisk/instructions/cmovnae.rb +116 -122
- data/lib/fisk/instructions/cmovnb.rb +116 -122
- data/lib/fisk/instructions/cmovnbe.rb +116 -122
- data/lib/fisk/instructions/cmovnc.rb +116 -122
- data/lib/fisk/instructions/cmovne.rb +116 -122
- data/lib/fisk/instructions/cmovng.rb +116 -122
- data/lib/fisk/instructions/cmovnge.rb +116 -122
- data/lib/fisk/instructions/cmovnl.rb +116 -122
- data/lib/fisk/instructions/cmovnle.rb +116 -122
- data/lib/fisk/instructions/cmovno.rb +116 -122
- data/lib/fisk/instructions/cmovnp.rb +116 -122
- data/lib/fisk/instructions/cmovns.rb +116 -122
- data/lib/fisk/instructions/cmovnz.rb +116 -122
- data/lib/fisk/instructions/cmovo.rb +116 -122
- data/lib/fisk/instructions/cmovp.rb +116 -122
- data/lib/fisk/instructions/cmovpe.rb +116 -122
- data/lib/fisk/instructions/cmovpo.rb +116 -122
- data/lib/fisk/instructions/cmovs.rb +116 -122
- data/lib/fisk/instructions/cmovz.rb +116 -122
- data/lib/fisk/instructions/cmp.rb +561 -595
- data/lib/fisk/instructions/cmppd.rb +46 -48
- data/lib/fisk/instructions/cmpps.rb +44 -46
- data/lib/fisk/instructions/cmpsd.rb +46 -48
- data/lib/fisk/instructions/cmpss.rb +46 -48
- data/lib/fisk/instructions/cmpxchg.rb +153 -161
- data/lib/fisk/instructions/cmpxchg16b.rb +19 -20
- data/lib/fisk/instructions/cmpxchg8b.rb +19 -20
- data/lib/fisk/instructions/comisd.rb +42 -44
- data/lib/fisk/instructions/comiss.rb +40 -42
- data/lib/fisk/instructions/cpuid.rb +13 -14
- data/lib/fisk/instructions/cqo.rb +14 -15
- data/lib/fisk/instructions/crc32.rb +210 -220
- data/lib/fisk/instructions/cvtdq2pd.rb +42 -44
- data/lib/fisk/instructions/cvtdq2ps.rb +40 -42
- data/lib/fisk/instructions/cvtpd2dq.rb +42 -44
- data/lib/fisk/instructions/cvtpd2pi.rb +42 -44
- data/lib/fisk/instructions/cvtpd2ps.rb +42 -44
- data/lib/fisk/instructions/cvtpi2pd.rb +42 -44
- data/lib/fisk/instructions/cvtpi2ps.rb +40 -42
- data/lib/fisk/instructions/cvtps2dq.rb +42 -44
- data/lib/fisk/instructions/cvtps2pd.rb +40 -42
- data/lib/fisk/instructions/cvtps2pi.rb +40 -42
- data/lib/fisk/instructions/cvtsd2si.rb +81 -85
- data/lib/fisk/instructions/cvtsd2ss.rb +42 -44
- data/lib/fisk/instructions/cvtsi2sd.rb +81 -85
- data/lib/fisk/instructions/cvtsi2ss.rb +81 -85
- data/lib/fisk/instructions/cvtss2sd.rb +42 -44
- data/lib/fisk/instructions/cvtss2si.rb +81 -85
- data/lib/fisk/instructions/cvttpd2dq.rb +42 -44
- data/lib/fisk/instructions/cvttpd2pi.rb +42 -44
- data/lib/fisk/instructions/cvttps2dq.rb +42 -44
- data/lib/fisk/instructions/cvttps2pi.rb +40 -42
- data/lib/fisk/instructions/cvttsd2si.rb +81 -85
- data/lib/fisk/instructions/cvttss2si.rb +81 -85
- data/lib/fisk/instructions/cwd.rb +13 -14
- data/lib/fisk/instructions/cwde.rb +12 -13
- data/lib/fisk/instructions/dec.rb +121 -129
- data/lib/fisk/instructions/div.rb +121 -129
- data/lib/fisk/instructions/divpd.rb +42 -44
- data/lib/fisk/instructions/divps.rb +40 -42
- data/lib/fisk/instructions/divsd.rb +42 -44
- data/lib/fisk/instructions/divss.rb +42 -44
- data/lib/fisk/instructions/dppd.rb +48 -50
- data/lib/fisk/instructions/dpps.rb +48 -50
- data/lib/fisk/instructions/emms.rb +13 -14
- data/lib/fisk/instructions/extractps.rb +48 -50
- data/lib/fisk/instructions/extrq.rb +42 -44
- data/lib/fisk/instructions/femms.rb +13 -14
- data/lib/fisk/instructions/haddpd.rb +42 -44
- data/lib/fisk/instructions/haddps.rb +42 -44
- data/lib/fisk/instructions/hsubpd.rb +42 -44
- data/lib/fisk/instructions/hsubps.rb +42 -44
- data/lib/fisk/instructions/idiv.rb +121 -129
- data/lib/fisk/instructions/imul.rb +481 -507
- data/lib/fisk/instructions/inc.rb +121 -129
- data/lib/fisk/instructions/insertps.rb +48 -50
- data/lib/fisk/instructions/insertq.rb +45 -47
- data/lib/fisk/instructions/int.rb +24 -26
- data/lib/fisk/instructions/ja.rb +26 -28
- data/lib/fisk/instructions/jae.rb +26 -28
- data/lib/fisk/instructions/jb.rb +26 -28
- data/lib/fisk/instructions/jbe.rb +26 -28
- data/lib/fisk/instructions/jc.rb +26 -28
- data/lib/fisk/instructions/je.rb +26 -28
- data/lib/fisk/instructions/jecxz.rb +14 -15
- data/lib/fisk/instructions/jg.rb +26 -28
- data/lib/fisk/instructions/jge.rb +26 -28
- data/lib/fisk/instructions/jl.rb +26 -28
- data/lib/fisk/instructions/jle.rb +26 -28
- data/lib/fisk/instructions/jmp.rb +54 -58
- data/lib/fisk/instructions/jna.rb +26 -28
- data/lib/fisk/instructions/jnae.rb +26 -28
- data/lib/fisk/instructions/jnb.rb +26 -28
- data/lib/fisk/instructions/jnbe.rb +26 -28
- data/lib/fisk/instructions/jnc.rb +26 -28
- data/lib/fisk/instructions/jne.rb +26 -28
- data/lib/fisk/instructions/jng.rb +26 -28
- data/lib/fisk/instructions/jnge.rb +26 -28
- data/lib/fisk/instructions/jnl.rb +26 -28
- data/lib/fisk/instructions/jnle.rb +26 -28
- data/lib/fisk/instructions/jno.rb +26 -28
- data/lib/fisk/instructions/jnp.rb +26 -28
- data/lib/fisk/instructions/jns.rb +26 -28
- data/lib/fisk/instructions/jnz.rb +26 -28
- data/lib/fisk/instructions/jo.rb +26 -28
- data/lib/fisk/instructions/jp.rb +26 -28
- data/lib/fisk/instructions/jpe.rb +26 -28
- data/lib/fisk/instructions/jpo.rb +26 -28
- data/lib/fisk/instructions/jrcxz.rb +14 -15
- data/lib/fisk/instructions/js.rb +26 -28
- data/lib/fisk/instructions/jz.rb +26 -28
- data/lib/fisk/instructions/kaddb.rb +19 -20
- data/lib/fisk/instructions/kaddd.rb +19 -20
- data/lib/fisk/instructions/kaddq.rb +19 -20
- data/lib/fisk/instructions/kaddw.rb +19 -20
- data/lib/fisk/instructions/kandb.rb +19 -20
- data/lib/fisk/instructions/kandd.rb +19 -20
- data/lib/fisk/instructions/kandnb.rb +19 -20
- data/lib/fisk/instructions/kandnd.rb +19 -20
- data/lib/fisk/instructions/kandnq.rb +19 -20
- data/lib/fisk/instructions/kandnw.rb +19 -20
- data/lib/fisk/instructions/kandq.rb +19 -20
- data/lib/fisk/instructions/kandw.rb +19 -20
- data/lib/fisk/instructions/kmovb.rb +78 -83
- data/lib/fisk/instructions/kmovd.rb +78 -83
- data/lib/fisk/instructions/kmovq.rb +78 -83
- data/lib/fisk/instructions/kmovw.rb +78 -83
- data/lib/fisk/instructions/knotb.rb +18 -19
- data/lib/fisk/instructions/knotd.rb +18 -19
- data/lib/fisk/instructions/knotq.rb +18 -19
- data/lib/fisk/instructions/knotw.rb +18 -19
- data/lib/fisk/instructions/korb.rb +19 -20
- data/lib/fisk/instructions/kord.rb +19 -20
- data/lib/fisk/instructions/korq.rb +19 -20
- data/lib/fisk/instructions/kortestb.rb +18 -19
- data/lib/fisk/instructions/kortestd.rb +18 -19
- data/lib/fisk/instructions/kortestq.rb +18 -19
- data/lib/fisk/instructions/kortestw.rb +18 -19
- data/lib/fisk/instructions/korw.rb +19 -20
- data/lib/fisk/instructions/kshiftlb.rb +20 -21
- data/lib/fisk/instructions/kshiftld.rb +20 -21
- data/lib/fisk/instructions/kshiftlq.rb +20 -21
- data/lib/fisk/instructions/kshiftlw.rb +20 -21
- data/lib/fisk/instructions/kshiftrb.rb +20 -21
- data/lib/fisk/instructions/kshiftrd.rb +20 -21
- data/lib/fisk/instructions/kshiftrq.rb +20 -21
- data/lib/fisk/instructions/kshiftrw.rb +20 -21
- data/lib/fisk/instructions/ktestb.rb +18 -19
- data/lib/fisk/instructions/ktestd.rb +18 -19
- data/lib/fisk/instructions/ktestq.rb +18 -19
- data/lib/fisk/instructions/ktestw.rb +18 -19
- data/lib/fisk/instructions/kunpckbw.rb +19 -20
- data/lib/fisk/instructions/kunpckdq.rb +19 -20
- data/lib/fisk/instructions/kunpckwd.rb +19 -20
- data/lib/fisk/instructions/kxnorb.rb +19 -20
- data/lib/fisk/instructions/kxnord.rb +19 -20
- data/lib/fisk/instructions/kxnorq.rb +19 -20
- data/lib/fisk/instructions/kxnorw.rb +19 -20
- data/lib/fisk/instructions/kxorb.rb +19 -20
- data/lib/fisk/instructions/kxord.rb +19 -20
- data/lib/fisk/instructions/kxorq.rb +19 -20
- data/lib/fisk/instructions/kxorw.rb +19 -20
- data/lib/fisk/instructions/lddqu.rb +23 -24
- data/lib/fisk/instructions/ldmxcsr.rb +19 -20
- data/lib/fisk/instructions/lea.rb +58 -61
- data/lib/fisk/instructions/lfence.rb +14 -15
- data/lib/fisk/instructions/lzcnt.rb +122 -128
- data/lib/fisk/instructions/maskmovdqu.rb +22 -23
- data/lib/fisk/instructions/maskmovq.rb +21 -22
- data/lib/fisk/instructions/maxpd.rb +42 -44
- data/lib/fisk/instructions/maxps.rb +40 -42
- data/lib/fisk/instructions/maxsd.rb +42 -44
- data/lib/fisk/instructions/maxss.rb +42 -44
- data/lib/fisk/instructions/mfence.rb +14 -15
- data/lib/fisk/instructions/minpd.rb +42 -44
- data/lib/fisk/instructions/minps.rb +40 -42
- data/lib/fisk/instructions/minsd.rb +42 -44
- data/lib/fisk/instructions/minss.rb +42 -44
- data/lib/fisk/instructions/monitor.rb +14 -15
- data/lib/fisk/instructions/monitorx.rb +14 -15
- data/lib/fisk/instructions/mov.rb +503 -535
- data/lib/fisk/instructions/movapd.rb +76 -80
- data/lib/fisk/instructions/movaps.rb +72 -76
- data/lib/fisk/instructions/movbe.rb +125 -131
- data/lib/fisk/instructions/movd.rb +159 -167
- data/lib/fisk/instructions/movddup.rb +42 -44
- data/lib/fisk/instructions/movdq2q.rb +22 -23
- data/lib/fisk/instructions/movdqa.rb +76 -80
- data/lib/fisk/instructions/movdqu.rb +76 -80
- data/lib/fisk/instructions/movhlps.rb +21 -22
- data/lib/fisk/instructions/movhpd.rb +43 -45
- data/lib/fisk/instructions/movhps.rb +41 -43
- data/lib/fisk/instructions/movlhps.rb +21 -22
- data/lib/fisk/instructions/movlpd.rb +43 -45
- data/lib/fisk/instructions/movlps.rb +41 -43
- data/lib/fisk/instructions/movmskpd.rb +22 -23
- data/lib/fisk/instructions/movmskps.rb +21 -22
- data/lib/fisk/instructions/movntdq.rb +23 -24
- data/lib/fisk/instructions/movntdqa.rb +24 -25
- data/lib/fisk/instructions/movnti.rb +41 -43
- data/lib/fisk/instructions/movntpd.rb +23 -24
- data/lib/fisk/instructions/movntps.rb +22 -23
- data/lib/fisk/instructions/movntq.rb +22 -23
- data/lib/fisk/instructions/movntsd.rb +23 -24
- data/lib/fisk/instructions/movntss.rb +23 -24
- data/lib/fisk/instructions/movq.rb +277 -293
- data/lib/fisk/instructions/movq2dq.rb +22 -23
- data/lib/fisk/instructions/movsd.rb +76 -80
- data/lib/fisk/instructions/movshdup.rb +42 -44
- data/lib/fisk/instructions/movsldup.rb +42 -44
- data/lib/fisk/instructions/movss.rb +76 -80
- data/lib/fisk/instructions/movsx.rb +195 -205
- data/lib/fisk/instructions/movsxd.rb +38 -40
- data/lib/fisk/instructions/movupd.rb +76 -80
- data/lib/fisk/instructions/movups.rb +72 -76
- data/lib/fisk/instructions/movzx.rb +195 -205
- data/lib/fisk/instructions/mpsadbw.rb +48 -50
- data/lib/fisk/instructions/mul.rb +121 -129
- data/lib/fisk/instructions/mulpd.rb +42 -44
- data/lib/fisk/instructions/mulps.rb +40 -42
- data/lib/fisk/instructions/mulsd.rb +42 -44
- data/lib/fisk/instructions/mulss.rb +42 -44
- data/lib/fisk/instructions/mulx.rb +67 -71
- data/lib/fisk/instructions/mwait.rb +14 -15
- data/lib/fisk/instructions/mwaitx.rb +14 -15
- data/lib/fisk/instructions/neg.rb +121 -129
- data/lib/fisk/instructions/nop.rb +12 -13
- data/lib/fisk/instructions/not.rb +121 -129
- data/lib/fisk/instructions/or.rb +561 -595
- data/lib/fisk/instructions/orpd.rb +42 -44
- data/lib/fisk/instructions/orps.rb +40 -42
- data/lib/fisk/instructions/pabsb.rb +83 -87
- data/lib/fisk/instructions/pabsd.rb +83 -87
- data/lib/fisk/instructions/pabsw.rb +83 -87
- data/lib/fisk/instructions/packssdw.rb +79 -83
- data/lib/fisk/instructions/packsswb.rb +79 -83
- data/lib/fisk/instructions/packusdw.rb +44 -46
- data/lib/fisk/instructions/packuswb.rb +79 -83
- data/lib/fisk/instructions/paddb.rb +79 -83
- data/lib/fisk/instructions/paddd.rb +79 -83
- data/lib/fisk/instructions/paddq.rb +79 -83
- data/lib/fisk/instructions/paddsb.rb +79 -83
- data/lib/fisk/instructions/paddsw.rb +79 -83
- data/lib/fisk/instructions/paddusb.rb +79 -83
- data/lib/fisk/instructions/paddusw.rb +79 -83
- data/lib/fisk/instructions/paddw.rb +79 -83
- data/lib/fisk/instructions/palignr.rb +91 -95
- data/lib/fisk/instructions/pand.rb +79 -83
- data/lib/fisk/instructions/pandn.rb +79 -83
- data/lib/fisk/instructions/pause.rb +13 -14
- data/lib/fisk/instructions/pavgb.rb +79 -83
- data/lib/fisk/instructions/pavgusb.rb +42 -44
- data/lib/fisk/instructions/pavgw.rb +79 -83
- data/lib/fisk/instructions/pblendvb.rb +46 -48
- data/lib/fisk/instructions/pblendw.rb +48 -50
- data/lib/fisk/instructions/pclmulqdq.rb +48 -50
- data/lib/fisk/instructions/pcmpeqb.rb +79 -83
- data/lib/fisk/instructions/pcmpeqd.rb +79 -83
- data/lib/fisk/instructions/pcmpeqq.rb +44 -46
- data/lib/fisk/instructions/pcmpeqw.rb +79 -83
- data/lib/fisk/instructions/pcmpestri.rb +48 -50
- data/lib/fisk/instructions/pcmpestrm.rb +48 -50
- data/lib/fisk/instructions/pcmpgtb.rb +79 -83
- data/lib/fisk/instructions/pcmpgtd.rb +79 -83
- data/lib/fisk/instructions/pcmpgtq.rb +44 -46
- data/lib/fisk/instructions/pcmpgtw.rb +79 -83
- data/lib/fisk/instructions/pcmpistri.rb +48 -50
- data/lib/fisk/instructions/pcmpistrm.rb +48 -50
- data/lib/fisk/instructions/pdep.rb +67 -71
- data/lib/fisk/instructions/pext.rb +67 -71
- data/lib/fisk/instructions/pextrb.rb +48 -50
- data/lib/fisk/instructions/pextrd.rb +48 -50
- data/lib/fisk/instructions/pextrq.rb +48 -50
- data/lib/fisk/instructions/pextrw.rb +83 -87
- data/lib/fisk/instructions/pf2id.rb +42 -44
- data/lib/fisk/instructions/pf2iw.rb +42 -44
- data/lib/fisk/instructions/pfacc.rb +42 -44
- data/lib/fisk/instructions/pfadd.rb +42 -44
- data/lib/fisk/instructions/pfcmpeq.rb +42 -44
- data/lib/fisk/instructions/pfcmpge.rb +42 -44
- data/lib/fisk/instructions/pfcmpgt.rb +42 -44
- data/lib/fisk/instructions/pfmax.rb +42 -44
- data/lib/fisk/instructions/pfmin.rb +42 -44
- data/lib/fisk/instructions/pfmul.rb +42 -44
- data/lib/fisk/instructions/pfnacc.rb +42 -44
- data/lib/fisk/instructions/pfpnacc.rb +42 -44
- data/lib/fisk/instructions/pfrcp.rb +42 -44
- data/lib/fisk/instructions/pfrcpit1.rb +42 -44
- data/lib/fisk/instructions/pfrcpit2.rb +42 -44
- data/lib/fisk/instructions/pfrsqit1.rb +42 -44
- data/lib/fisk/instructions/pfrsqrt.rb +42 -44
- data/lib/fisk/instructions/pfsub.rb +42 -44
- data/lib/fisk/instructions/pfsubr.rb +42 -44
- data/lib/fisk/instructions/phaddd.rb +83 -87
- data/lib/fisk/instructions/phaddsw.rb +83 -87
- data/lib/fisk/instructions/phaddw.rb +83 -87
- data/lib/fisk/instructions/phminposuw.rb +44 -46
- data/lib/fisk/instructions/phsubd.rb +83 -87
- data/lib/fisk/instructions/phsubsw.rb +83 -87
- data/lib/fisk/instructions/phsubw.rb +83 -87
- data/lib/fisk/instructions/pi2fd.rb +42 -44
- data/lib/fisk/instructions/pi2fw.rb +42 -44
- data/lib/fisk/instructions/pinsrb.rb +48 -50
- data/lib/fisk/instructions/pinsrd.rb +48 -50
- data/lib/fisk/instructions/pinsrq.rb +48 -50
- data/lib/fisk/instructions/pinsrw.rb +87 -91
- data/lib/fisk/instructions/pmaddubsw.rb +83 -87
- data/lib/fisk/instructions/pmaddwd.rb +79 -83
- data/lib/fisk/instructions/pmaxsb.rb +44 -46
- data/lib/fisk/instructions/pmaxsd.rb +44 -46
- data/lib/fisk/instructions/pmaxsw.rb +79 -83
- data/lib/fisk/instructions/pmaxub.rb +79 -83
- data/lib/fisk/instructions/pmaxud.rb +44 -46
- data/lib/fisk/instructions/pmaxuw.rb +44 -46
- data/lib/fisk/instructions/pminsb.rb +44 -46
- data/lib/fisk/instructions/pminsd.rb +44 -46
- data/lib/fisk/instructions/pminsw.rb +79 -83
- data/lib/fisk/instructions/pminub.rb +79 -83
- data/lib/fisk/instructions/pminud.rb +44 -46
- data/lib/fisk/instructions/pminuw.rb +44 -46
- data/lib/fisk/instructions/pmovmskb.rb +40 -42
- data/lib/fisk/instructions/pmovsxbd.rb +44 -46
- data/lib/fisk/instructions/pmovsxbq.rb +44 -46
- data/lib/fisk/instructions/pmovsxbw.rb +44 -46
- data/lib/fisk/instructions/pmovsxdq.rb +44 -46
- data/lib/fisk/instructions/pmovsxwd.rb +44 -46
- data/lib/fisk/instructions/pmovsxwq.rb +44 -46
- data/lib/fisk/instructions/pmovzxbd.rb +44 -46
- data/lib/fisk/instructions/pmovzxbq.rb +44 -46
- data/lib/fisk/instructions/pmovzxbw.rb +44 -46
- data/lib/fisk/instructions/pmovzxdq.rb +44 -46
- data/lib/fisk/instructions/pmovzxwd.rb +44 -46
- data/lib/fisk/instructions/pmovzxwq.rb +44 -46
- data/lib/fisk/instructions/pmuldq.rb +44 -46
- data/lib/fisk/instructions/pmulhrsw.rb +83 -87
- data/lib/fisk/instructions/pmulhrw.rb +42 -44
- data/lib/fisk/instructions/pmulhuw.rb +79 -83
- data/lib/fisk/instructions/pmulhw.rb +79 -83
- data/lib/fisk/instructions/pmulld.rb +44 -46
- data/lib/fisk/instructions/pmullw.rb +79 -83
- data/lib/fisk/instructions/pmuludq.rb +79 -83
- data/lib/fisk/instructions/pop.rb +80 -86
- data/lib/fisk/instructions/popcnt.rb +122 -128
- data/lib/fisk/instructions/por.rb +79 -83
- data/lib/fisk/instructions/prefetch.rb +19 -20
- data/lib/fisk/instructions/prefetchnta.rb +19 -20
- data/lib/fisk/instructions/prefetcht0.rb +19 -20
- data/lib/fisk/instructions/prefetcht1.rb +19 -20
- data/lib/fisk/instructions/prefetcht2.rb +19 -20
- data/lib/fisk/instructions/prefetchw.rb +19 -20
- data/lib/fisk/instructions/prefetchwt1.rb +19 -20
- data/lib/fisk/instructions/psadbw.rb +79 -83
- data/lib/fisk/instructions/pshufb.rb +83 -87
- data/lib/fisk/instructions/pshufd.rb +46 -48
- data/lib/fisk/instructions/pshufhw.rb +46 -48
- data/lib/fisk/instructions/pshuflw.rb +46 -48
- data/lib/fisk/instructions/pshufw.rb +44 -46
- data/lib/fisk/instructions/psignb.rb +83 -87
- data/lib/fisk/instructions/psignd.rb +83 -87
- data/lib/fisk/instructions/psignw.rb +83 -87
- data/lib/fisk/instructions/pslld.rb +114 -120
- data/lib/fisk/instructions/pslldq.rb +21 -22
- data/lib/fisk/instructions/psllq.rb +114 -120
- data/lib/fisk/instructions/psllw.rb +114 -120
- data/lib/fisk/instructions/psrad.rb +114 -120
- data/lib/fisk/instructions/psraw.rb +114 -120
- data/lib/fisk/instructions/psrld.rb +114 -120
- data/lib/fisk/instructions/psrldq.rb +21 -22
- data/lib/fisk/instructions/psrlq.rb +114 -120
- data/lib/fisk/instructions/psrlw.rb +114 -120
- data/lib/fisk/instructions/psubb.rb +79 -83
- data/lib/fisk/instructions/psubd.rb +79 -83
- data/lib/fisk/instructions/psubq.rb +79 -83
- data/lib/fisk/instructions/psubsb.rb +79 -83
- data/lib/fisk/instructions/psubsw.rb +79 -83
- data/lib/fisk/instructions/psubusb.rb +79 -83
- data/lib/fisk/instructions/psubusw.rb +79 -83
- data/lib/fisk/instructions/psubw.rb +79 -83
- data/lib/fisk/instructions/pswapd.rb +42 -44
- data/lib/fisk/instructions/ptest.rb +44 -46
- data/lib/fisk/instructions/punpckhbw.rb +79 -83
- data/lib/fisk/instructions/punpckhdq.rb +79 -83
- data/lib/fisk/instructions/punpckhqdq.rb +42 -44
- data/lib/fisk/instructions/punpckhwd.rb +79 -83
- data/lib/fisk/instructions/punpcklbw.rb +79 -83
- data/lib/fisk/instructions/punpckldq.rb +79 -83
- data/lib/fisk/instructions/punpcklqdq.rb +42 -44
- data/lib/fisk/instructions/punpcklwd.rb +79 -83
- data/lib/fisk/instructions/push.rb +102 -110
- data/lib/fisk/instructions/pxor.rb +79 -83
- data/lib/fisk/instructions/rcl.rb +389 -413
- data/lib/fisk/instructions/rcpps.rb +40 -42
- data/lib/fisk/instructions/rcpss.rb +42 -44
- data/lib/fisk/instructions/rcr.rb +389 -413
- data/lib/fisk/instructions/rdrand.rb +49 -52
- data/lib/fisk/instructions/rdseed.rb +49 -52
- data/lib/fisk/instructions/rdtsc.rb +13 -14
- data/lib/fisk/instructions/rdtscp.rb +14 -15
- data/lib/fisk/instructions/ret.rb +23 -25
- data/lib/fisk/instructions/rol.rb +389 -413
- data/lib/fisk/instructions/ror.rb +389 -413
- data/lib/fisk/instructions/rorx.rb +71 -75
- data/lib/fisk/instructions/roundpd.rb +48 -50
- data/lib/fisk/instructions/roundps.rb +48 -50
- data/lib/fisk/instructions/roundsd.rb +48 -50
- data/lib/fisk/instructions/roundss.rb +48 -50
- data/lib/fisk/instructions/rsqrtps.rb +40 -42
- data/lib/fisk/instructions/rsqrtss.rb +42 -44
- data/lib/fisk/instructions/sal.rb +389 -413
- data/lib/fisk/instructions/sar.rb +389 -413
- data/lib/fisk/instructions/sarx.rb +67 -71
- data/lib/fisk/instructions/sbb.rb +561 -595
- data/lib/fisk/instructions/seta.rb +34 -36
- data/lib/fisk/instructions/setae.rb +34 -36
- data/lib/fisk/instructions/setb.rb +34 -36
- data/lib/fisk/instructions/setbe.rb +34 -36
- data/lib/fisk/instructions/setc.rb +34 -36
- data/lib/fisk/instructions/sete.rb +34 -36
- data/lib/fisk/instructions/setg.rb +34 -36
- data/lib/fisk/instructions/setge.rb +34 -36
- data/lib/fisk/instructions/setl.rb +34 -36
- data/lib/fisk/instructions/setle.rb +34 -36
- data/lib/fisk/instructions/setna.rb +34 -36
- data/lib/fisk/instructions/setnae.rb +34 -36
- data/lib/fisk/instructions/setnb.rb +34 -36
- data/lib/fisk/instructions/setnbe.rb +34 -36
- data/lib/fisk/instructions/setnc.rb +34 -36
- data/lib/fisk/instructions/setne.rb +34 -36
- data/lib/fisk/instructions/setng.rb +34 -36
- data/lib/fisk/instructions/setnge.rb +34 -36
- data/lib/fisk/instructions/setnl.rb +34 -36
- data/lib/fisk/instructions/setnle.rb +34 -36
- data/lib/fisk/instructions/setno.rb +34 -36
- data/lib/fisk/instructions/setnp.rb +34 -36
- data/lib/fisk/instructions/setns.rb +34 -36
- data/lib/fisk/instructions/setnz.rb +34 -36
- data/lib/fisk/instructions/seto.rb +34 -36
- data/lib/fisk/instructions/setp.rb +34 -36
- data/lib/fisk/instructions/setpe.rb +34 -36
- data/lib/fisk/instructions/setpo.rb +34 -36
- data/lib/fisk/instructions/sets.rb +34 -36
- data/lib/fisk/instructions/setz.rb +34 -36
- data/lib/fisk/instructions/sfence.rb +14 -15
- data/lib/fisk/instructions/sha1msg1.rb +42 -44
- data/lib/fisk/instructions/sha1msg2.rb +42 -44
- data/lib/fisk/instructions/sha1nexte.rb +42 -44
- data/lib/fisk/instructions/sha1rnds4.rb +46 -48
- data/lib/fisk/instructions/sha256msg1.rb +42 -44
- data/lib/fisk/instructions/sha256msg2.rb +42 -44
- data/lib/fisk/instructions/sha256rnds2.rb +44 -46
- data/lib/fisk/instructions/shl.rb +389 -413
- data/lib/fisk/instructions/shld.rb +247 -259
- data/lib/fisk/instructions/shlx.rb +67 -71
- data/lib/fisk/instructions/shr.rb +389 -413
- data/lib/fisk/instructions/shrd.rb +247 -259
- data/lib/fisk/instructions/shrx.rb +67 -71
- data/lib/fisk/instructions/shufpd.rb +46 -48
- data/lib/fisk/instructions/shufps.rb +44 -46
- data/lib/fisk/instructions/sqrtpd.rb +42 -44
- data/lib/fisk/instructions/sqrtps.rb +40 -42
- data/lib/fisk/instructions/sqrtsd.rb +42 -44
- data/lib/fisk/instructions/sqrtss.rb +42 -44
- data/lib/fisk/instructions/stc.rb +12 -13
- data/lib/fisk/instructions/std.rb +12 -13
- data/lib/fisk/instructions/stmxcsr.rb +19 -20
- data/lib/fisk/instructions/sub.rb +561 -595
- data/lib/fisk/instructions/subpd.rb +42 -44
- data/lib/fisk/instructions/subps.rb +40 -42
- data/lib/fisk/instructions/subsd.rb +42 -44
- data/lib/fisk/instructions/subss.rb +42 -44
- data/lib/fisk/instructions/syscall.rb +13 -14
- data/lib/fisk/instructions/t1mskc.rb +59 -63
- data/lib/fisk/instructions/test.rb +334 -354
- data/lib/fisk/instructions/tzcnt.rb +122 -128
- data/lib/fisk/instructions/tzmsk.rb +59 -63
- data/lib/fisk/instructions/ucomisd.rb +42 -44
- data/lib/fisk/instructions/ucomiss.rb +40 -42
- data/lib/fisk/instructions/ud2.rb +13 -14
- data/lib/fisk/instructions/unpckhpd.rb +42 -44
- data/lib/fisk/instructions/unpckhps.rb +40 -42
- data/lib/fisk/instructions/unpcklpd.rb +42 -44
- data/lib/fisk/instructions/unpcklps.rb +40 -42
- data/lib/fisk/instructions/vaddpd.rb +164 -174
- data/lib/fisk/instructions/vaddps.rb +164 -174
- data/lib/fisk/instructions/vaddsd.rb +68 -72
- data/lib/fisk/instructions/vaddss.rb +68 -72
- data/lib/fisk/instructions/vaddsubpd.rb +67 -71
- data/lib/fisk/instructions/vaddsubps.rb +67 -71
- data/lib/fisk/instructions/vaesdec.rb +35 -37
- data/lib/fisk/instructions/vaesdeclast.rb +35 -37
- data/lib/fisk/instructions/vaesenc.rb +35 -37
- data/lib/fisk/instructions/vaesenclast.rb +35 -37
- data/lib/fisk/instructions/vaesimc.rb +33 -35
- data/lib/fisk/instructions/vaeskeygenassist.rb +37 -39
- data/lib/fisk/instructions/valignd.rb +111 -117
- data/lib/fisk/instructions/valignq.rb +111 -117
- data/lib/fisk/instructions/vandnpd.rb +163 -173
- data/lib/fisk/instructions/vandnps.rb +163 -173
- data/lib/fisk/instructions/vandpd.rb +163 -173
- data/lib/fisk/instructions/vandps.rb +163 -173
- data/lib/fisk/instructions/vblendmpd.rb +99 -105
- data/lib/fisk/instructions/vblendmps.rb +99 -105
- data/lib/fisk/instructions/vblendpd.rb +75 -79
- data/lib/fisk/instructions/vblendps.rb +75 -79
- data/lib/fisk/instructions/vblendvpd.rb +75 -79
- data/lib/fisk/instructions/vblendvps.rb +75 -79
- data/lib/fisk/instructions/vbroadcastf128.rb +18 -19
- data/lib/fisk/instructions/vbroadcastf32x2.rb +63 -67
- data/lib/fisk/instructions/vbroadcastf32x4.rb +33 -35
- data/lib/fisk/instructions/vbroadcastf32x8.rb +18 -19
- data/lib/fisk/instructions/vbroadcastf64x2.rb +33 -35
- data/lib/fisk/instructions/vbroadcastf64x4.rb +18 -19
- data/lib/fisk/instructions/vbroadcasti128.rb +18 -19
- data/lib/fisk/instructions/vbroadcasti32x2.rb +93 -99
- data/lib/fisk/instructions/vbroadcasti32x4.rb +33 -35
- data/lib/fisk/instructions/vbroadcasti32x8.rb +18 -19
- data/lib/fisk/instructions/vbroadcasti64x2.rb +33 -35
- data/lib/fisk/instructions/vbroadcasti64x4.rb +18 -19
- data/lib/fisk/instructions/vbroadcastsd.rb +93 -99
- data/lib/fisk/instructions/vbroadcastss.rb +123 -131
- data/lib/fisk/instructions/vcmppd.rb +184 -194
- data/lib/fisk/instructions/vcmpps.rb +184 -194
- data/lib/fisk/instructions/vcmpsd.rb +76 -80
- data/lib/fisk/instructions/vcmpss.rb +76 -80
- data/lib/fisk/instructions/vcomisd.rb +64 -68
- data/lib/fisk/instructions/vcomiss.rb +64 -68
- data/lib/fisk/instructions/vcompresspd.rb +93 -99
- data/lib/fisk/instructions/vcompressps.rb +93 -99
- data/lib/fisk/instructions/vcvtdq2pd.rb +153 -163
- data/lib/fisk/instructions/vcvtdq2ps.rb +154 -164
- data/lib/fisk/instructions/vcvtpd2dq.rb +154 -164
- data/lib/fisk/instructions/vcvtpd2ps.rb +154 -164
- data/lib/fisk/instructions/vcvtpd2qq.rb +94 -100
- data/lib/fisk/instructions/vcvtpd2udq.rb +94 -100
- data/lib/fisk/instructions/vcvtpd2uqq.rb +94 -100
- data/lib/fisk/instructions/vcvtph2ps.rb +154 -164
- data/lib/fisk/instructions/vcvtps2dq.rb +154 -164
- data/lib/fisk/instructions/vcvtps2pd.rb +154 -164
- data/lib/fisk/instructions/vcvtps2ph.rb +174 -184
- data/lib/fisk/instructions/vcvtps2qq.rb +94 -100
- data/lib/fisk/instructions/vcvtps2udq.rb +94 -100
- data/lib/fisk/instructions/vcvtps2uqq.rb +94 -100
- data/lib/fisk/instructions/vcvtqq2pd.rb +94 -100
- data/lib/fisk/instructions/vcvtqq2ps.rb +94 -100
- data/lib/fisk/instructions/vcvtsd2si.rb +125 -133
- data/lib/fisk/instructions/vcvtsd2ss.rb +68 -72
- data/lib/fisk/instructions/vcvtsd2usi.rb +65 -69
- data/lib/fisk/instructions/vcvtsi2sd.rb +132 -140
- data/lib/fisk/instructions/vcvtsi2ss.rb +133 -141
- data/lib/fisk/instructions/vcvtss2sd.rb +68 -72
- data/lib/fisk/instructions/vcvtss2si.rb +125 -133
- data/lib/fisk/instructions/vcvtss2usi.rb +65 -69
- data/lib/fisk/instructions/vcvttpd2dq.rb +154 -164
- data/lib/fisk/instructions/vcvttpd2qq.rb +94 -100
- data/lib/fisk/instructions/vcvttpd2udq.rb +94 -100
- data/lib/fisk/instructions/vcvttpd2uqq.rb +94 -100
- data/lib/fisk/instructions/vcvttps2dq.rb +154 -164
- data/lib/fisk/instructions/vcvttps2qq.rb +94 -100
- data/lib/fisk/instructions/vcvttps2udq.rb +94 -100
- data/lib/fisk/instructions/vcvttps2uqq.rb +94 -100
- data/lib/fisk/instructions/vcvttsd2si.rb +125 -133
- data/lib/fisk/instructions/vcvttsd2usi.rb +65 -69
- data/lib/fisk/instructions/vcvttss2si.rb +125 -133
- data/lib/fisk/instructions/vcvttss2usi.rb +65 -69
- data/lib/fisk/instructions/vcvtudq2pd.rb +93 -99
- data/lib/fisk/instructions/vcvtudq2ps.rb +94 -100
- data/lib/fisk/instructions/vcvtuqq2pd.rb +94 -100
- data/lib/fisk/instructions/vcvtuqq2ps.rb +94 -100
- data/lib/fisk/instructions/vcvtusi2sd.rb +68 -72
- data/lib/fisk/instructions/vcvtusi2ss.rb +69 -73
- data/lib/fisk/instructions/vdbpsadbw.rb +111 -117
- data/lib/fisk/instructions/vdivpd.rb +164 -174
- data/lib/fisk/instructions/vdivps.rb +164 -174
- data/lib/fisk/instructions/vdivsd.rb +68 -72
- data/lib/fisk/instructions/vdivss.rb +68 -72
- data/lib/fisk/instructions/vdppd.rb +39 -41
- data/lib/fisk/instructions/vdpps.rb +75 -79
- data/lib/fisk/instructions/vexp2pd.rb +34 -36
- data/lib/fisk/instructions/vexp2ps.rb +34 -36
- data/lib/fisk/instructions/vexpandpd.rb +93 -99
- data/lib/fisk/instructions/vexpandps.rb +93 -99
- data/lib/fisk/instructions/vextractf128.rb +37 -39
- data/lib/fisk/instructions/vextractf32x4.rb +71 -75
- data/lib/fisk/instructions/vextractf32x8.rb +37 -39
- data/lib/fisk/instructions/vextractf64x2.rb +71 -75
- data/lib/fisk/instructions/vextractf64x4.rb +37 -39
- data/lib/fisk/instructions/vextracti128.rb +37 -39
- data/lib/fisk/instructions/vextracti32x4.rb +71 -75
- data/lib/fisk/instructions/vextracti32x8.rb +37 -39
- data/lib/fisk/instructions/vextracti64x2.rb +71 -75
- data/lib/fisk/instructions/vextracti64x4.rb +37 -39
- data/lib/fisk/instructions/vextractps.rb +71 -75
- data/lib/fisk/instructions/vfixupimmpd.rb +112 -118
- data/lib/fisk/instructions/vfixupimmps.rb +112 -118
- data/lib/fisk/instructions/vfixupimmsd.rb +40 -42
- data/lib/fisk/instructions/vfixupimmss.rb +40 -42
- data/lib/fisk/instructions/vfmadd132pd.rb +164 -174
- data/lib/fisk/instructions/vfmadd132ps.rb +164 -174
- data/lib/fisk/instructions/vfmadd132sd.rb +68 -72
- data/lib/fisk/instructions/vfmadd132ss.rb +68 -72
- data/lib/fisk/instructions/vfmadd213pd.rb +164 -174
- data/lib/fisk/instructions/vfmadd213ps.rb +164 -174
- data/lib/fisk/instructions/vfmadd213sd.rb +68 -72
- data/lib/fisk/instructions/vfmadd213ss.rb +68 -72
- data/lib/fisk/instructions/vfmadd231pd.rb +164 -174
- data/lib/fisk/instructions/vfmadd231ps.rb +164 -174
- data/lib/fisk/instructions/vfmadd231sd.rb +68 -72
- data/lib/fisk/instructions/vfmadd231ss.rb +68 -72
- data/lib/fisk/instructions/vfmaddpd.rb +133 -141
- data/lib/fisk/instructions/vfmaddps.rb +133 -141
- data/lib/fisk/instructions/vfmaddsd.rb +68 -72
- data/lib/fisk/instructions/vfmaddss.rb +68 -72
- data/lib/fisk/instructions/vfmaddsub132pd.rb +164 -174
- data/lib/fisk/instructions/vfmaddsub132ps.rb +164 -174
- data/lib/fisk/instructions/vfmaddsub213pd.rb +164 -174
- data/lib/fisk/instructions/vfmaddsub213ps.rb +164 -174
- data/lib/fisk/instructions/vfmaddsub231pd.rb +164 -174
- data/lib/fisk/instructions/vfmaddsub231ps.rb +164 -174
- data/lib/fisk/instructions/vfmaddsubpd.rb +133 -141
- data/lib/fisk/instructions/vfmaddsubps.rb +133 -141
- data/lib/fisk/instructions/vfmsub132pd.rb +164 -174
- data/lib/fisk/instructions/vfmsub132ps.rb +164 -174
- data/lib/fisk/instructions/vfmsub132sd.rb +68 -72
- data/lib/fisk/instructions/vfmsub132ss.rb +68 -72
- data/lib/fisk/instructions/vfmsub213pd.rb +164 -174
- data/lib/fisk/instructions/vfmsub213ps.rb +164 -174
- data/lib/fisk/instructions/vfmsub213sd.rb +68 -72
- data/lib/fisk/instructions/vfmsub213ss.rb +68 -72
- data/lib/fisk/instructions/vfmsub231pd.rb +164 -174
- data/lib/fisk/instructions/vfmsub231ps.rb +164 -174
- data/lib/fisk/instructions/vfmsub231sd.rb +68 -72
- data/lib/fisk/instructions/vfmsub231ss.rb +68 -72
- data/lib/fisk/instructions/vfmsubadd132pd.rb +164 -174
- data/lib/fisk/instructions/vfmsubadd132ps.rb +164 -174
- data/lib/fisk/instructions/vfmsubadd213pd.rb +164 -174
- data/lib/fisk/instructions/vfmsubadd213ps.rb +164 -174
- data/lib/fisk/instructions/vfmsubadd231pd.rb +164 -174
- data/lib/fisk/instructions/vfmsubadd231ps.rb +164 -174
- data/lib/fisk/instructions/vfmsubaddpd.rb +133 -141
- data/lib/fisk/instructions/vfmsubaddps.rb +133 -141
- data/lib/fisk/instructions/vfmsubpd.rb +133 -141
- data/lib/fisk/instructions/vfmsubps.rb +133 -141
- data/lib/fisk/instructions/vfmsubsd.rb +68 -72
- data/lib/fisk/instructions/vfmsubss.rb +68 -72
- data/lib/fisk/instructions/vfnmadd132pd.rb +164 -174
- data/lib/fisk/instructions/vfnmadd132ps.rb +164 -174
- data/lib/fisk/instructions/vfnmadd132sd.rb +68 -72
- data/lib/fisk/instructions/vfnmadd132ss.rb +68 -72
- data/lib/fisk/instructions/vfnmadd213pd.rb +164 -174
- data/lib/fisk/instructions/vfnmadd213ps.rb +164 -174
- data/lib/fisk/instructions/vfnmadd213sd.rb +68 -72
- data/lib/fisk/instructions/vfnmadd213ss.rb +68 -72
- data/lib/fisk/instructions/vfnmadd231pd.rb +164 -174
- data/lib/fisk/instructions/vfnmadd231ps.rb +164 -174
- data/lib/fisk/instructions/vfnmadd231sd.rb +68 -72
- data/lib/fisk/instructions/vfnmadd231ss.rb +68 -72
- data/lib/fisk/instructions/vfnmaddpd.rb +133 -141
- data/lib/fisk/instructions/vfnmaddps.rb +133 -141
- data/lib/fisk/instructions/vfnmaddsd.rb +68 -72
- data/lib/fisk/instructions/vfnmaddss.rb +68 -72
- data/lib/fisk/instructions/vfnmsub132pd.rb +164 -174
- data/lib/fisk/instructions/vfnmsub132ps.rb +164 -174
- data/lib/fisk/instructions/vfnmsub132sd.rb +68 -72
- data/lib/fisk/instructions/vfnmsub132ss.rb +68 -72
- data/lib/fisk/instructions/vfnmsub213pd.rb +164 -174
- data/lib/fisk/instructions/vfnmsub213ps.rb +164 -174
- data/lib/fisk/instructions/vfnmsub213sd.rb +68 -72
- data/lib/fisk/instructions/vfnmsub213ss.rb +68 -72
- data/lib/fisk/instructions/vfnmsub231pd.rb +164 -174
- data/lib/fisk/instructions/vfnmsub231ps.rb +164 -174
- data/lib/fisk/instructions/vfnmsub231sd.rb +68 -72
- data/lib/fisk/instructions/vfnmsub231ss.rb +68 -72
- data/lib/fisk/instructions/vfnmsubpd.rb +133 -141
- data/lib/fisk/instructions/vfnmsubps.rb +133 -141
- data/lib/fisk/instructions/vfnmsubsd.rb +68 -72
- data/lib/fisk/instructions/vfnmsubss.rb +68 -72
- data/lib/fisk/instructions/vfpclasspd.rb +105 -111
- data/lib/fisk/instructions/vfpclassps.rb +105 -111
- data/lib/fisk/instructions/vfpclasssd.rb +37 -39
- data/lib/fisk/instructions/vfpclassss.rb +37 -39
- data/lib/fisk/instructions/vfrczpd.rb +63 -67
- data/lib/fisk/instructions/vfrczps.rb +63 -67
- data/lib/fisk/instructions/vfrczsd.rb +33 -35
- data/lib/fisk/instructions/vfrczss.rb +33 -35
- data/lib/fisk/instructions/vgatherdpd.rb +80 -85
- data/lib/fisk/instructions/vgatherdps.rb +80 -85
- data/lib/fisk/instructions/vgatherpf0dpd.rb +16 -17
- data/lib/fisk/instructions/vgatherpf0dps.rb +16 -17
- data/lib/fisk/instructions/vgatherpf0qpd.rb +16 -17
- data/lib/fisk/instructions/vgatherpf0qps.rb +16 -17
- data/lib/fisk/instructions/vgatherpf1dpd.rb +16 -17
- data/lib/fisk/instructions/vgatherpf1dps.rb +16 -17
- data/lib/fisk/instructions/vgatherpf1qpd.rb +16 -17
- data/lib/fisk/instructions/vgatherpf1qps.rb +16 -17
- data/lib/fisk/instructions/vgatherqpd.rb +80 -85
- data/lib/fisk/instructions/vgatherqps.rb +80 -85
- data/lib/fisk/instructions/vgetexppd.rb +94 -100
- data/lib/fisk/instructions/vgetexpps.rb +94 -100
- data/lib/fisk/instructions/vgetexpsd.rb +36 -38
- data/lib/fisk/instructions/vgetexpss.rb +36 -38
- data/lib/fisk/instructions/vgetmantpd.rb +106 -112
- data/lib/fisk/instructions/vgetmantps.rb +106 -112
- data/lib/fisk/instructions/vgetmantsd.rb +40 -42
- data/lib/fisk/instructions/vgetmantss.rb +40 -42
- data/lib/fisk/instructions/vhaddpd.rb +67 -71
- data/lib/fisk/instructions/vhaddps.rb +67 -71
- data/lib/fisk/instructions/vhsubpd.rb +67 -71
- data/lib/fisk/instructions/vhsubps.rb +67 -71
- data/lib/fisk/instructions/vinsertf128.rb +39 -41
- data/lib/fisk/instructions/vinsertf32x4.rb +75 -79
- data/lib/fisk/instructions/vinsertf32x8.rb +39 -41
- data/lib/fisk/instructions/vinsertf64x2.rb +75 -79
- data/lib/fisk/instructions/vinsertf64x4.rb +39 -41
- data/lib/fisk/instructions/vinserti128.rb +39 -41
- data/lib/fisk/instructions/vinserti32x4.rb +75 -79
- data/lib/fisk/instructions/vinserti32x8.rb +39 -41
- data/lib/fisk/instructions/vinserti64x2.rb +75 -79
- data/lib/fisk/instructions/vinserti64x4.rb +39 -41
- data/lib/fisk/instructions/vinsertps.rb +75 -79
- data/lib/fisk/instructions/vlddqu.rb +33 -35
- data/lib/fisk/instructions/vldmxcsr.rb +16 -17
- data/lib/fisk/instructions/vmaskmovdqu.rb +18 -19
- data/lib/fisk/instructions/vmaskmovpd.rb +67 -71
- data/lib/fisk/instructions/vmaskmovps.rb +67 -71
- data/lib/fisk/instructions/vmaxpd.rb +164 -174
- data/lib/fisk/instructions/vmaxps.rb +164 -174
- data/lib/fisk/instructions/vmaxsd.rb +68 -72
- data/lib/fisk/instructions/vmaxss.rb +68 -72
- data/lib/fisk/instructions/vminpd.rb +164 -174
- data/lib/fisk/instructions/vminps.rb +164 -174
- data/lib/fisk/instructions/vminsd.rb +68 -72
- data/lib/fisk/instructions/vminss.rb +68 -72
- data/lib/fisk/instructions/vmovapd.rb +278 -298
- data/lib/fisk/instructions/vmovaps.rb +278 -298
- data/lib/fisk/instructions/vmovd.rb +123 -131
- data/lib/fisk/instructions/vmovddup.rb +153 -163
- data/lib/fisk/instructions/vmovdqa.rb +113 -121
- data/lib/fisk/instructions/vmovdqa32.rb +168 -180
- data/lib/fisk/instructions/vmovdqa64.rb +168 -180
- data/lib/fisk/instructions/vmovdqu.rb +113 -121
- data/lib/fisk/instructions/vmovdqu16.rb +168 -180
- data/lib/fisk/instructions/vmovdqu32.rb +168 -180
- data/lib/fisk/instructions/vmovdqu64.rb +168 -180
- data/lib/fisk/instructions/vmovdqu8.rb +168 -180
- data/lib/fisk/instructions/vmovhlps.rb +35 -37
- data/lib/fisk/instructions/vmovhpd.rb +65 -69
- data/lib/fisk/instructions/vmovhps.rb +65 -69
- data/lib/fisk/instructions/vmovlhps.rb +35 -37
- data/lib/fisk/instructions/vmovlpd.rb +65 -69
- data/lib/fisk/instructions/vmovlps.rb +65 -69
- data/lib/fisk/instructions/vmovmskpd.rb +33 -35
- data/lib/fisk/instructions/vmovmskps.rb +33 -35
- data/lib/fisk/instructions/vmovntdq.rb +78 -83
- data/lib/fisk/instructions/vmovntdqa.rb +78 -83
- data/lib/fisk/instructions/vmovntpd.rb +78 -83
- data/lib/fisk/instructions/vmovntps.rb +78 -83
- data/lib/fisk/instructions/vmovq.rb +213 -229
- data/lib/fisk/instructions/vmovsd.rb +115 -123
- data/lib/fisk/instructions/vmovshdup.rb +153 -163
- data/lib/fisk/instructions/vmovsldup.rb +153 -163
- data/lib/fisk/instructions/vmovss.rb +115 -123
- data/lib/fisk/instructions/vmovupd.rb +278 -298
- data/lib/fisk/instructions/vmovups.rb +278 -298
- data/lib/fisk/instructions/vmpsadbw.rb +75 -79
- data/lib/fisk/instructions/vmulpd.rb +164 -174
- data/lib/fisk/instructions/vmulps.rb +164 -174
- data/lib/fisk/instructions/vmulsd.rb +68 -72
- data/lib/fisk/instructions/vmulss.rb +68 -72
- data/lib/fisk/instructions/vorpd.rb +163 -173
- data/lib/fisk/instructions/vorps.rb +163 -173
- data/lib/fisk/instructions/vpabsb.rb +153 -163
- data/lib/fisk/instructions/vpabsd.rb +153 -163
- data/lib/fisk/instructions/vpabsq.rb +93 -99
- data/lib/fisk/instructions/vpabsw.rb +153 -163
- data/lib/fisk/instructions/vpackssdw.rb +163 -173
- data/lib/fisk/instructions/vpacksswb.rb +163 -173
- data/lib/fisk/instructions/vpackusdw.rb +163 -173
- data/lib/fisk/instructions/vpackuswb.rb +163 -173
- data/lib/fisk/instructions/vpaddb.rb +163 -173
- data/lib/fisk/instructions/vpaddd.rb +163 -173
- data/lib/fisk/instructions/vpaddq.rb +163 -173
- data/lib/fisk/instructions/vpaddsb.rb +163 -173
- data/lib/fisk/instructions/vpaddsw.rb +163 -173
- data/lib/fisk/instructions/vpaddusb.rb +163 -173
- data/lib/fisk/instructions/vpaddusw.rb +163 -173
- data/lib/fisk/instructions/vpaddw.rb +163 -173
- data/lib/fisk/instructions/vpalignr.rb +183 -193
- data/lib/fisk/instructions/vpand.rb +67 -71
- data/lib/fisk/instructions/vpandd.rb +99 -105
- data/lib/fisk/instructions/vpandn.rb +67 -71
- data/lib/fisk/instructions/vpandnd.rb +99 -105
- data/lib/fisk/instructions/vpandnq.rb +99 -105
- data/lib/fisk/instructions/vpandq.rb +99 -105
- data/lib/fisk/instructions/vpavgb.rb +163 -173
- data/lib/fisk/instructions/vpavgw.rb +163 -173
- data/lib/fisk/instructions/vpblendd.rb +75 -79
- data/lib/fisk/instructions/vpblendmb.rb +99 -105
- data/lib/fisk/instructions/vpblendmd.rb +99 -105
- data/lib/fisk/instructions/vpblendmq.rb +99 -105
- data/lib/fisk/instructions/vpblendmw.rb +99 -105
- data/lib/fisk/instructions/vpblendvb.rb +75 -79
- data/lib/fisk/instructions/vpblendw.rb +75 -79
- data/lib/fisk/instructions/vpbroadcastb.rb +198 -211
- data/lib/fisk/instructions/vpbroadcastd.rb +198 -211
- data/lib/fisk/instructions/vpbroadcastmb2q.rb +48 -51
- data/lib/fisk/instructions/vpbroadcastmw2d.rb +48 -51
- data/lib/fisk/instructions/vpbroadcastq.rb +198 -211
- data/lib/fisk/instructions/vpbroadcastw.rb +198 -211
- data/lib/fisk/instructions/vpclmulqdq.rb +39 -41
- data/lib/fisk/instructions/vpcmov.rb +133 -141
- data/lib/fisk/instructions/vpcmpb.rb +111 -117
- data/lib/fisk/instructions/vpcmpd.rb +111 -117
- data/lib/fisk/instructions/vpcmpeqb.rb +163 -173
- data/lib/fisk/instructions/vpcmpeqd.rb +163 -173
- data/lib/fisk/instructions/vpcmpeqq.rb +163 -173
- data/lib/fisk/instructions/vpcmpeqw.rb +163 -173
- data/lib/fisk/instructions/vpcmpestri.rb +37 -39
- data/lib/fisk/instructions/vpcmpestrm.rb +37 -39
- data/lib/fisk/instructions/vpcmpgtb.rb +163 -173
- data/lib/fisk/instructions/vpcmpgtd.rb +163 -173
- data/lib/fisk/instructions/vpcmpgtq.rb +163 -173
- data/lib/fisk/instructions/vpcmpgtw.rb +163 -173
- data/lib/fisk/instructions/vpcmpistri.rb +37 -39
- data/lib/fisk/instructions/vpcmpistrm.rb +37 -39
- data/lib/fisk/instructions/vpcmpq.rb +111 -117
- data/lib/fisk/instructions/vpcmpub.rb +111 -117
- data/lib/fisk/instructions/vpcmpud.rb +111 -117
- data/lib/fisk/instructions/vpcmpuq.rb +111 -117
- data/lib/fisk/instructions/vpcmpuw.rb +111 -117
- data/lib/fisk/instructions/vpcmpw.rb +111 -117
- data/lib/fisk/instructions/vpcomb.rb +39 -41
- data/lib/fisk/instructions/vpcomd.rb +39 -41
- data/lib/fisk/instructions/vpcompressd.rb +93 -99
- data/lib/fisk/instructions/vpcompressq.rb +93 -99
- data/lib/fisk/instructions/vpcomq.rb +39 -41
- data/lib/fisk/instructions/vpcomub.rb +39 -41
- data/lib/fisk/instructions/vpcomud.rb +39 -41
- data/lib/fisk/instructions/vpcomuq.rb +39 -41
- data/lib/fisk/instructions/vpcomuw.rb +39 -41
- data/lib/fisk/instructions/vpcomw.rb +39 -41
- data/lib/fisk/instructions/vpconflictd.rb +93 -99
- data/lib/fisk/instructions/vpconflictq.rb +93 -99
- data/lib/fisk/instructions/vperm2f128.rb +39 -41
- data/lib/fisk/instructions/vperm2i128.rb +39 -41
- data/lib/fisk/instructions/vpermb.rb +99 -105
- data/lib/fisk/instructions/vpermd.rb +99 -105
- data/lib/fisk/instructions/vpermi2b.rb +99 -105
- data/lib/fisk/instructions/vpermi2d.rb +99 -105
- data/lib/fisk/instructions/vpermi2pd.rb +99 -105
- data/lib/fisk/instructions/vpermi2ps.rb +99 -105
- data/lib/fisk/instructions/vpermi2q.rb +99 -105
- data/lib/fisk/instructions/vpermi2w.rb +99 -105
- data/lib/fisk/instructions/vpermil2pd.rb +139 -147
- data/lib/fisk/instructions/vpermil2ps.rb +139 -147
- data/lib/fisk/instructions/vpermilpd.rb +333 -353
- data/lib/fisk/instructions/vpermilps.rb +333 -353
- data/lib/fisk/instructions/vpermpd.rb +169 -179
- data/lib/fisk/instructions/vpermps.rb +99 -105
- data/lib/fisk/instructions/vpermq.rb +169 -179
- data/lib/fisk/instructions/vpermt2b.rb +99 -105
- data/lib/fisk/instructions/vpermt2d.rb +99 -105
- data/lib/fisk/instructions/vpermt2pd.rb +99 -105
- data/lib/fisk/instructions/vpermt2ps.rb +99 -105
- data/lib/fisk/instructions/vpermt2q.rb +99 -105
- data/lib/fisk/instructions/vpermt2w.rb +99 -105
- data/lib/fisk/instructions/vpermw.rb +99 -105
- data/lib/fisk/instructions/vpexpandd.rb +93 -99
- data/lib/fisk/instructions/vpexpandq.rb +93 -99
- data/lib/fisk/instructions/vpextrb.rb +71 -75
- data/lib/fisk/instructions/vpextrd.rb +71 -75
- data/lib/fisk/instructions/vpextrq.rb +71 -75
- data/lib/fisk/instructions/vpextrw.rb +93 -99
- data/lib/fisk/instructions/vpgatherdd.rb +80 -85
- data/lib/fisk/instructions/vpgatherdq.rb +80 -85
- data/lib/fisk/instructions/vpgatherqd.rb +80 -85
- data/lib/fisk/instructions/vpgatherqq.rb +80 -85
- data/lib/fisk/instructions/vphaddbd.rb +33 -35
- data/lib/fisk/instructions/vphaddbq.rb +33 -35
- data/lib/fisk/instructions/vphaddbw.rb +33 -35
- data/lib/fisk/instructions/vphaddd.rb +67 -71
- data/lib/fisk/instructions/vphadddq.rb +33 -35
- data/lib/fisk/instructions/vphaddsw.rb +67 -71
- data/lib/fisk/instructions/vphaddubd.rb +33 -35
- data/lib/fisk/instructions/vphaddubq.rb +33 -35
- data/lib/fisk/instructions/vphaddubw.rb +33 -35
- data/lib/fisk/instructions/vphaddudq.rb +33 -35
- data/lib/fisk/instructions/vphadduwd.rb +33 -35
- data/lib/fisk/instructions/vphadduwq.rb +33 -35
- data/lib/fisk/instructions/vphaddw.rb +67 -71
- data/lib/fisk/instructions/vphaddwd.rb +33 -35
- data/lib/fisk/instructions/vphaddwq.rb +33 -35
- data/lib/fisk/instructions/vphminposuw.rb +33 -35
- data/lib/fisk/instructions/vphsubbw.rb +33 -35
- data/lib/fisk/instructions/vphsubd.rb +67 -71
- data/lib/fisk/instructions/vphsubdq.rb +33 -35
- data/lib/fisk/instructions/vphsubsw.rb +67 -71
- data/lib/fisk/instructions/vphsubw.rb +67 -71
- data/lib/fisk/instructions/vphsubwd.rb +33 -35
- data/lib/fisk/instructions/vpinsrb.rb +75 -79
- data/lib/fisk/instructions/vpinsrd.rb +75 -79
- data/lib/fisk/instructions/vpinsrq.rb +75 -79
- data/lib/fisk/instructions/vpinsrw.rb +75 -79
- data/lib/fisk/instructions/vplzcntd.rb +93 -99
- data/lib/fisk/instructions/vplzcntq.rb +93 -99
- data/lib/fisk/instructions/vpmacsdd.rb +39 -41
- data/lib/fisk/instructions/vpmacsdqh.rb +39 -41
- data/lib/fisk/instructions/vpmacsdql.rb +39 -41
- data/lib/fisk/instructions/vpmacssdd.rb +39 -41
- data/lib/fisk/instructions/vpmacssdqh.rb +39 -41
- data/lib/fisk/instructions/vpmacssdql.rb +39 -41
- data/lib/fisk/instructions/vpmacsswd.rb +39 -41
- data/lib/fisk/instructions/vpmacssww.rb +39 -41
- data/lib/fisk/instructions/vpmacswd.rb +39 -41
- data/lib/fisk/instructions/vpmacsww.rb +39 -41
- data/lib/fisk/instructions/vpmadcsswd.rb +39 -41
- data/lib/fisk/instructions/vpmadcswd.rb +39 -41
- data/lib/fisk/instructions/vpmadd52huq.rb +99 -105
- data/lib/fisk/instructions/vpmadd52luq.rb +99 -105
- data/lib/fisk/instructions/vpmaddubsw.rb +163 -173
- data/lib/fisk/instructions/vpmaddwd.rb +163 -173
- data/lib/fisk/instructions/vpmaskmovd.rb +67 -71
- data/lib/fisk/instructions/vpmaskmovq.rb +67 -71
- data/lib/fisk/instructions/vpmaxsb.rb +163 -173
- data/lib/fisk/instructions/vpmaxsd.rb +163 -173
- data/lib/fisk/instructions/vpmaxsq.rb +99 -105
- data/lib/fisk/instructions/vpmaxsw.rb +163 -173
- data/lib/fisk/instructions/vpmaxub.rb +163 -173
- data/lib/fisk/instructions/vpmaxud.rb +163 -173
- data/lib/fisk/instructions/vpmaxuq.rb +99 -105
- data/lib/fisk/instructions/vpmaxuw.rb +163 -173
- data/lib/fisk/instructions/vpminsb.rb +163 -173
- data/lib/fisk/instructions/vpminsd.rb +163 -173
- data/lib/fisk/instructions/vpminsq.rb +99 -105
- data/lib/fisk/instructions/vpminsw.rb +163 -173
- data/lib/fisk/instructions/vpminub.rb +163 -173
- data/lib/fisk/instructions/vpminud.rb +163 -173
- data/lib/fisk/instructions/vpminuq.rb +99 -105
- data/lib/fisk/instructions/vpminuw.rb +163 -173
- data/lib/fisk/instructions/vpmovb2m.rb +48 -51
- data/lib/fisk/instructions/vpmovd2m.rb +48 -51
- data/lib/fisk/instructions/vpmovdb.rb +93 -99
- data/lib/fisk/instructions/vpmovdw.rb +93 -99
- data/lib/fisk/instructions/vpmovm2b.rb +48 -51
- data/lib/fisk/instructions/vpmovm2d.rb +48 -51
- data/lib/fisk/instructions/vpmovm2q.rb +48 -51
- data/lib/fisk/instructions/vpmovm2w.rb +48 -51
- data/lib/fisk/instructions/vpmovmskb.rb +33 -35
- data/lib/fisk/instructions/vpmovq2m.rb +48 -51
- data/lib/fisk/instructions/vpmovqb.rb +93 -99
- data/lib/fisk/instructions/vpmovqd.rb +93 -99
- data/lib/fisk/instructions/vpmovqw.rb +93 -99
- data/lib/fisk/instructions/vpmovsdb.rb +93 -99
- data/lib/fisk/instructions/vpmovsdw.rb +93 -99
- data/lib/fisk/instructions/vpmovsqb.rb +93 -99
- data/lib/fisk/instructions/vpmovsqd.rb +93 -99
- data/lib/fisk/instructions/vpmovsqw.rb +93 -99
- data/lib/fisk/instructions/vpmovswb.rb +93 -99
- data/lib/fisk/instructions/vpmovsxbd.rb +153 -163
- data/lib/fisk/instructions/vpmovsxbq.rb +153 -163
- data/lib/fisk/instructions/vpmovsxbw.rb +153 -163
- data/lib/fisk/instructions/vpmovsxdq.rb +153 -163
- data/lib/fisk/instructions/vpmovsxwd.rb +153 -163
- data/lib/fisk/instructions/vpmovsxwq.rb +153 -163
- data/lib/fisk/instructions/vpmovusdb.rb +93 -99
- data/lib/fisk/instructions/vpmovusdw.rb +93 -99
- data/lib/fisk/instructions/vpmovusqb.rb +93 -99
- data/lib/fisk/instructions/vpmovusqd.rb +93 -99
- data/lib/fisk/instructions/vpmovusqw.rb +93 -99
- data/lib/fisk/instructions/vpmovuswb.rb +93 -99
- data/lib/fisk/instructions/vpmovw2m.rb +48 -51
- data/lib/fisk/instructions/vpmovwb.rb +93 -99
- data/lib/fisk/instructions/vpmovzxbd.rb +153 -163
- data/lib/fisk/instructions/vpmovzxbq.rb +153 -163
- data/lib/fisk/instructions/vpmovzxbw.rb +153 -163
- data/lib/fisk/instructions/vpmovzxdq.rb +153 -163
- data/lib/fisk/instructions/vpmovzxwd.rb +153 -163
- data/lib/fisk/instructions/vpmovzxwq.rb +153 -163
- data/lib/fisk/instructions/vpmuldq.rb +163 -173
- data/lib/fisk/instructions/vpmulhrsw.rb +163 -173
- data/lib/fisk/instructions/vpmulhuw.rb +163 -173
- data/lib/fisk/instructions/vpmulhw.rb +163 -173
- data/lib/fisk/instructions/vpmulld.rb +163 -173
- data/lib/fisk/instructions/vpmullq.rb +99 -105
- data/lib/fisk/instructions/vpmullw.rb +163 -173
- data/lib/fisk/instructions/vpmultishiftqb.rb +99 -105
- data/lib/fisk/instructions/vpmuludq.rb +163 -173
- data/lib/fisk/instructions/vpopcntd.rb +33 -35
- data/lib/fisk/instructions/vpopcntq.rb +33 -35
- data/lib/fisk/instructions/vpor.rb +67 -71
- data/lib/fisk/instructions/vpord.rb +99 -105
- data/lib/fisk/instructions/vporq.rb +99 -105
- data/lib/fisk/instructions/vpperm.rb +68 -72
- data/lib/fisk/instructions/vprold.rb +99 -105
- data/lib/fisk/instructions/vprolq.rb +99 -105
- data/lib/fisk/instructions/vprolvd.rb +99 -105
- data/lib/fisk/instructions/vprolvq.rb +99 -105
- data/lib/fisk/instructions/vprord.rb +99 -105
- data/lib/fisk/instructions/vprorq.rb +99 -105
- data/lib/fisk/instructions/vprorvd.rb +99 -105
- data/lib/fisk/instructions/vprorvq.rb +99 -105
- data/lib/fisk/instructions/vprotb.rb +95 -101
- data/lib/fisk/instructions/vprotd.rb +95 -101
- data/lib/fisk/instructions/vprotq.rb +95 -101
- data/lib/fisk/instructions/vprotw.rb +95 -101
- data/lib/fisk/instructions/vpsadbw.rb +163 -173
- data/lib/fisk/instructions/vpscatterdd.rb +48 -51
- data/lib/fisk/instructions/vpscatterdq.rb +48 -51
- data/lib/fisk/instructions/vpscatterqd.rb +48 -51
- data/lib/fisk/instructions/vpscatterqq.rb +48 -51
- data/lib/fisk/instructions/vpshab.rb +61 -65
- data/lib/fisk/instructions/vpshad.rb +61 -65
- data/lib/fisk/instructions/vpshaq.rb +61 -65
- data/lib/fisk/instructions/vpshaw.rb +61 -65
- data/lib/fisk/instructions/vpshlb.rb +61 -65
- data/lib/fisk/instructions/vpshld.rb +61 -65
- data/lib/fisk/instructions/vpshlq.rb +61 -65
- data/lib/fisk/instructions/vpshlw.rb +61 -65
- data/lib/fisk/instructions/vpshufb.rb +163 -173
- data/lib/fisk/instructions/vpshufd.rb +173 -183
- data/lib/fisk/instructions/vpshufhw.rb +173 -183
- data/lib/fisk/instructions/vpshuflw.rb +173 -183
- data/lib/fisk/instructions/vpsignb.rb +67 -71
- data/lib/fisk/instructions/vpsignd.rb +67 -71
- data/lib/fisk/instructions/vpsignw.rb +67 -71
- data/lib/fisk/instructions/vpslld.rb +291 -309
- data/lib/fisk/instructions/vpslldq.rb +131 -139
- data/lib/fisk/instructions/vpsllq.rb +291 -309
- data/lib/fisk/instructions/vpsllvd.rb +163 -173
- data/lib/fisk/instructions/vpsllvq.rb +163 -173
- data/lib/fisk/instructions/vpsllvw.rb +99 -105
- data/lib/fisk/instructions/vpsllw.rb +291 -309
- data/lib/fisk/instructions/vpsrad.rb +291 -309
- data/lib/fisk/instructions/vpsraq.rb +195 -207
- data/lib/fisk/instructions/vpsravd.rb +163 -173
- data/lib/fisk/instructions/vpsravq.rb +99 -105
- data/lib/fisk/instructions/vpsravw.rb +99 -105
- data/lib/fisk/instructions/vpsraw.rb +291 -309
- data/lib/fisk/instructions/vpsrld.rb +291 -309
- data/lib/fisk/instructions/vpsrldq.rb +131 -139
- data/lib/fisk/instructions/vpsrlq.rb +291 -309
- data/lib/fisk/instructions/vpsrlvd.rb +163 -173
- data/lib/fisk/instructions/vpsrlvq.rb +163 -173
- data/lib/fisk/instructions/vpsrlvw.rb +99 -105
- data/lib/fisk/instructions/vpsrlw.rb +291 -309
- data/lib/fisk/instructions/vpsubb.rb +163 -173
- data/lib/fisk/instructions/vpsubd.rb +163 -173
- data/lib/fisk/instructions/vpsubq.rb +163 -173
- data/lib/fisk/instructions/vpsubsb.rb +163 -173
- data/lib/fisk/instructions/vpsubsw.rb +163 -173
- data/lib/fisk/instructions/vpsubusb.rb +163 -173
- data/lib/fisk/instructions/vpsubusw.rb +163 -173
- data/lib/fisk/instructions/vpsubw.rb +163 -173
- data/lib/fisk/instructions/vpternlogd.rb +111 -117
- data/lib/fisk/instructions/vpternlogq.rb +111 -117
- data/lib/fisk/instructions/vptest.rb +63 -67
- data/lib/fisk/instructions/vptestmb.rb +99 -105
- data/lib/fisk/instructions/vptestmd.rb +99 -105
- data/lib/fisk/instructions/vptestmq.rb +99 -105
- data/lib/fisk/instructions/vptestmw.rb +99 -105
- data/lib/fisk/instructions/vptestnmb.rb +99 -105
- data/lib/fisk/instructions/vptestnmd.rb +99 -105
- data/lib/fisk/instructions/vptestnmq.rb +99 -105
- data/lib/fisk/instructions/vptestnmw.rb +99 -105
- data/lib/fisk/instructions/vpunpckhbw.rb +163 -173
- data/lib/fisk/instructions/vpunpckhdq.rb +163 -173
- data/lib/fisk/instructions/vpunpckhqdq.rb +163 -173
- data/lib/fisk/instructions/vpunpckhwd.rb +163 -173
- data/lib/fisk/instructions/vpunpcklbw.rb +163 -173
- data/lib/fisk/instructions/vpunpckldq.rb +163 -173
- data/lib/fisk/instructions/vpunpcklqdq.rb +163 -173
- data/lib/fisk/instructions/vpunpcklwd.rb +163 -173
- data/lib/fisk/instructions/vpxor.rb +67 -71
- data/lib/fisk/instructions/vpxord.rb +99 -105
- data/lib/fisk/instructions/vpxorq.rb +99 -105
- data/lib/fisk/instructions/vrangepd.rb +112 -118
- data/lib/fisk/instructions/vrangeps.rb +112 -118
- data/lib/fisk/instructions/vrangesd.rb +40 -42
- data/lib/fisk/instructions/vrangess.rb +40 -42
- data/lib/fisk/instructions/vrcp14pd.rb +93 -99
- data/lib/fisk/instructions/vrcp14ps.rb +93 -99
- data/lib/fisk/instructions/vrcp14sd.rb +35 -37
- data/lib/fisk/instructions/vrcp14ss.rb +35 -37
- data/lib/fisk/instructions/vrcp28pd.rb +34 -36
- data/lib/fisk/instructions/vrcp28ps.rb +34 -36
- data/lib/fisk/instructions/vrcp28sd.rb +36 -38
- data/lib/fisk/instructions/vrcp28ss.rb +36 -38
- data/lib/fisk/instructions/vrcpps.rb +63 -67
- data/lib/fisk/instructions/vrcpss.rb +35 -37
- data/lib/fisk/instructions/vreducepd.rb +105 -111
- data/lib/fisk/instructions/vreduceps.rb +105 -111
- data/lib/fisk/instructions/vreducesd.rb +39 -41
- data/lib/fisk/instructions/vreducess.rb +39 -41
- data/lib/fisk/instructions/vrndscalepd.rb +106 -112
- data/lib/fisk/instructions/vrndscaleps.rb +106 -112
- data/lib/fisk/instructions/vrndscalesd.rb +40 -42
- data/lib/fisk/instructions/vrndscaless.rb +40 -42
- data/lib/fisk/instructions/vroundpd.rb +71 -75
- data/lib/fisk/instructions/vroundps.rb +71 -75
- data/lib/fisk/instructions/vroundsd.rb +39 -41
- data/lib/fisk/instructions/vroundss.rb +39 -41
- data/lib/fisk/instructions/vrsqrt14pd.rb +93 -99
- data/lib/fisk/instructions/vrsqrt14ps.rb +93 -99
- data/lib/fisk/instructions/vrsqrt14sd.rb +35 -37
- data/lib/fisk/instructions/vrsqrt14ss.rb +35 -37
- data/lib/fisk/instructions/vrsqrt28pd.rb +34 -36
- data/lib/fisk/instructions/vrsqrt28ps.rb +34 -36
- data/lib/fisk/instructions/vrsqrt28sd.rb +36 -38
- data/lib/fisk/instructions/vrsqrt28ss.rb +36 -38
- data/lib/fisk/instructions/vrsqrtps.rb +63 -67
- data/lib/fisk/instructions/vrsqrtss.rb +35 -37
- data/lib/fisk/instructions/vscalefpd.rb +100 -106
- data/lib/fisk/instructions/vscalefps.rb +100 -106
- data/lib/fisk/instructions/vscalefsd.rb +36 -38
- data/lib/fisk/instructions/vscalefss.rb +36 -38
- data/lib/fisk/instructions/vscatterdpd.rb +48 -51
- data/lib/fisk/instructions/vscatterdps.rb +48 -51
- data/lib/fisk/instructions/vscatterpf0dpd.rb +16 -17
- data/lib/fisk/instructions/vscatterpf0dps.rb +16 -17
- data/lib/fisk/instructions/vscatterpf0qpd.rb +16 -17
- data/lib/fisk/instructions/vscatterpf0qps.rb +16 -17
- data/lib/fisk/instructions/vscatterpf1dpd.rb +16 -17
- data/lib/fisk/instructions/vscatterpf1dps.rb +16 -17
- data/lib/fisk/instructions/vscatterpf1qpd.rb +16 -17
- data/lib/fisk/instructions/vscatterpf1qps.rb +16 -17
- data/lib/fisk/instructions/vscatterqpd.rb +48 -51
- data/lib/fisk/instructions/vscatterqps.rb +48 -51
- data/lib/fisk/instructions/vshuff32x4.rb +75 -79
- data/lib/fisk/instructions/vshuff64x2.rb +75 -79
- data/lib/fisk/instructions/vshufi32x4.rb +75 -79
- data/lib/fisk/instructions/vshufi64x2.rb +75 -79
- data/lib/fisk/instructions/vshufpd.rb +183 -193
- data/lib/fisk/instructions/vshufps.rb +183 -193
- data/lib/fisk/instructions/vsqrtpd.rb +154 -164
- data/lib/fisk/instructions/vsqrtps.rb +154 -164
- data/lib/fisk/instructions/vsqrtsd.rb +68 -72
- data/lib/fisk/instructions/vsqrtss.rb +68 -72
- data/lib/fisk/instructions/vstmxcsr.rb +16 -17
- data/lib/fisk/instructions/vsubpd.rb +164 -174
- data/lib/fisk/instructions/vsubps.rb +164 -174
- data/lib/fisk/instructions/vsubsd.rb +68 -72
- data/lib/fisk/instructions/vsubss.rb +68 -72
- data/lib/fisk/instructions/vtestpd.rb +63 -67
- data/lib/fisk/instructions/vtestps.rb +63 -67
- data/lib/fisk/instructions/vucomisd.rb +64 -68
- data/lib/fisk/instructions/vucomiss.rb +64 -68
- data/lib/fisk/instructions/vunpckhpd.rb +163 -173
- data/lib/fisk/instructions/vunpckhps.rb +163 -173
- data/lib/fisk/instructions/vunpcklpd.rb +163 -173
- data/lib/fisk/instructions/vunpcklps.rb +163 -173
- data/lib/fisk/instructions/vxorpd.rb +163 -173
- data/lib/fisk/instructions/vxorps.rb +163 -173
- data/lib/fisk/instructions/vzeroall.rb +13 -14
- data/lib/fisk/instructions/vzeroupper.rb +13 -14
- data/lib/fisk/instructions/xadd.rb +153 -161
- data/lib/fisk/instructions/xchg.rb +355 -377
- data/lib/fisk/instructions/xgetbv.rb +14 -15
- data/lib/fisk/instructions/xlatb.rb +23 -25
- data/lib/fisk/instructions/xor.rb +561 -595
- data/lib/fisk/instructions/xorpd.rb +42 -44
- data/lib/fisk/instructions/xorps.rb +40 -42
- data/lib/fisk/instructions.rb +30 -8
- data/lib/fisk/version.rb +3 -0
- data/lib/fisk.rb +706 -120
- data/test/helper.rb +17 -0
- data/test/test_cfg.rb +245 -0
- data/test/test_fisk.rb +480 -4
- data/test/test_fisk_written_size.rb +26 -0
- data/test/test_performance_check.rb +32 -0
- data/test/test_register_allocation.rb +220 -0
- data/test/test_run_fisk.rb +148 -6
- metadata +72 -3
@@ -2,574 +2,550 @@
|
|
2
2
|
|
3
3
|
class Fisk
|
4
4
|
module Instructions
|
5
|
-
# Instruction ROL
|
6
|
-
|
7
|
-
operands = []
|
8
|
-
encodings = []
|
5
|
+
# Instruction ROL: Rotate Left
|
6
|
+
ROL = Instruction.new("ROL", [
|
9
7
|
# rolb: r8, 1
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
8
|
+
Form.new([
|
9
|
+
OPERAND_TYPES[2],
|
10
|
+
OPERAND_TYPES[55],
|
11
|
+
].freeze, [
|
12
|
+
Class.new(Fisk::Encoding) {
|
13
|
+
def encode buffer, operands
|
14
|
+
add_rex(buffer, operands,
|
15
15
|
false,
|
16
16
|
0,
|
17
17
|
0,
|
18
18
|
0,
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
operands[0].rex_value) +
|
20
|
+
add_opcode(buffer, 0xD0, 0) +
|
21
|
+
add_modrm(buffer,
|
22
22
|
3,
|
23
23
|
0,
|
24
|
-
operands[0].
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
forms << Form.new(operands, encodings)
|
30
|
-
operands = []
|
31
|
-
encodings = []
|
24
|
+
operands[0].op_value, operands) +
|
25
|
+
0
|
26
|
+
end
|
27
|
+
}.new.freeze,
|
28
|
+
].freeze).freeze,
|
32
29
|
# rolb: r8, imm8
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
30
|
+
Form.new([
|
31
|
+
OPERAND_TYPES[2],
|
32
|
+
OPERAND_TYPES[1],
|
33
|
+
].freeze, [
|
34
|
+
Class.new(Fisk::Encoding) {
|
35
|
+
def encode buffer, operands
|
36
|
+
add_rex(buffer, operands,
|
38
37
|
false,
|
39
38
|
0,
|
40
39
|
0,
|
41
40
|
0,
|
42
|
-
|
43
|
-
|
44
|
-
|
41
|
+
operands[0].rex_value) +
|
42
|
+
add_opcode(buffer, 0xC0, 0) +
|
43
|
+
add_modrm(buffer,
|
45
44
|
3,
|
46
45
|
0,
|
47
|
-
operands[0].
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
forms << Form.new(operands, encodings)
|
54
|
-
operands = []
|
55
|
-
encodings = []
|
46
|
+
operands[0].op_value, operands) +
|
47
|
+
add_immediate(buffer, operands[1].op_value, 1) +
|
48
|
+
0
|
49
|
+
end
|
50
|
+
}.new.freeze,
|
51
|
+
].freeze).freeze,
|
56
52
|
# rolb: r8, cl
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
53
|
+
Form.new([
|
54
|
+
OPERAND_TYPES[2],
|
55
|
+
OPERAND_TYPES[56],
|
56
|
+
].freeze, [
|
57
|
+
Class.new(Fisk::Encoding) {
|
58
|
+
def encode buffer, operands
|
59
|
+
add_rex(buffer, operands,
|
62
60
|
false,
|
63
61
|
0,
|
64
62
|
0,
|
65
63
|
0,
|
66
|
-
|
67
|
-
|
68
|
-
|
64
|
+
operands[0].rex_value) +
|
65
|
+
add_opcode(buffer, 0xD2, 0) +
|
66
|
+
add_modrm(buffer,
|
69
67
|
3,
|
70
68
|
0,
|
71
|
-
operands[0].
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
forms << Form.new(operands, encodings)
|
77
|
-
operands = []
|
78
|
-
encodings = []
|
69
|
+
operands[0].op_value, operands) +
|
70
|
+
0
|
71
|
+
end
|
72
|
+
}.new.freeze,
|
73
|
+
].freeze).freeze,
|
79
74
|
# rolw: r16, 1
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
75
|
+
Form.new([
|
76
|
+
OPERAND_TYPES[7],
|
77
|
+
OPERAND_TYPES[55],
|
78
|
+
].freeze, [
|
79
|
+
Class.new(Fisk::Encoding) {
|
80
|
+
def encode buffer, operands
|
81
|
+
add_prefix(buffer, operands, 0x66, false) +
|
82
|
+
add_rex(buffer, operands,
|
86
83
|
false,
|
87
84
|
0,
|
88
85
|
0,
|
89
86
|
0,
|
90
|
-
|
91
|
-
|
92
|
-
|
87
|
+
operands[0].rex_value) +
|
88
|
+
add_opcode(buffer, 0xD1, 0) +
|
89
|
+
add_modrm(buffer,
|
93
90
|
3,
|
94
91
|
0,
|
95
|
-
operands[0].
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
forms << Form.new(operands, encodings)
|
101
|
-
operands = []
|
102
|
-
encodings = []
|
92
|
+
operands[0].op_value, operands) +
|
93
|
+
0
|
94
|
+
end
|
95
|
+
}.new.freeze,
|
96
|
+
].freeze).freeze,
|
103
97
|
# rolw: r16, imm8
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
98
|
+
Form.new([
|
99
|
+
OPERAND_TYPES[7],
|
100
|
+
OPERAND_TYPES[1],
|
101
|
+
].freeze, [
|
102
|
+
Class.new(Fisk::Encoding) {
|
103
|
+
def encode buffer, operands
|
104
|
+
add_prefix(buffer, operands, 0x66, false) +
|
105
|
+
add_rex(buffer, operands,
|
110
106
|
false,
|
111
107
|
0,
|
112
108
|
0,
|
113
109
|
0,
|
114
|
-
|
115
|
-
|
116
|
-
|
110
|
+
operands[0].rex_value) +
|
111
|
+
add_opcode(buffer, 0xC1, 0) +
|
112
|
+
add_modrm(buffer,
|
117
113
|
3,
|
118
114
|
0,
|
119
|
-
operands[0].
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
forms << Form.new(operands, encodings)
|
126
|
-
operands = []
|
127
|
-
encodings = []
|
115
|
+
operands[0].op_value, operands) +
|
116
|
+
add_immediate(buffer, operands[1].op_value, 1) +
|
117
|
+
0
|
118
|
+
end
|
119
|
+
}.new.freeze,
|
120
|
+
].freeze).freeze,
|
128
121
|
# rolw: r16, cl
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
122
|
+
Form.new([
|
123
|
+
OPERAND_TYPES[7],
|
124
|
+
OPERAND_TYPES[56],
|
125
|
+
].freeze, [
|
126
|
+
Class.new(Fisk::Encoding) {
|
127
|
+
def encode buffer, operands
|
128
|
+
add_prefix(buffer, operands, 0x66, false) +
|
129
|
+
add_rex(buffer, operands,
|
135
130
|
false,
|
136
131
|
0,
|
137
132
|
0,
|
138
133
|
0,
|
139
|
-
|
140
|
-
|
141
|
-
|
134
|
+
operands[0].rex_value) +
|
135
|
+
add_opcode(buffer, 0xD3, 0) +
|
136
|
+
add_modrm(buffer,
|
142
137
|
3,
|
143
138
|
0,
|
144
|
-
operands[0].
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
forms << Form.new(operands, encodings)
|
150
|
-
operands = []
|
151
|
-
encodings = []
|
139
|
+
operands[0].op_value, operands) +
|
140
|
+
0
|
141
|
+
end
|
142
|
+
}.new.freeze,
|
143
|
+
].freeze).freeze,
|
152
144
|
# roll: r32, 1
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
145
|
+
Form.new([
|
146
|
+
OPERAND_TYPES[12],
|
147
|
+
OPERAND_TYPES[55],
|
148
|
+
].freeze, [
|
149
|
+
Class.new(Fisk::Encoding) {
|
150
|
+
def encode buffer, operands
|
151
|
+
add_rex(buffer, operands,
|
158
152
|
false,
|
159
153
|
0,
|
160
154
|
0,
|
161
155
|
0,
|
162
|
-
|
163
|
-
|
164
|
-
|
156
|
+
operands[0].rex_value) +
|
157
|
+
add_opcode(buffer, 0xD1, 0) +
|
158
|
+
add_modrm(buffer,
|
165
159
|
3,
|
166
160
|
0,
|
167
|
-
operands[0].
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
forms << Form.new(operands, encodings)
|
173
|
-
operands = []
|
174
|
-
encodings = []
|
161
|
+
operands[0].op_value, operands) +
|
162
|
+
0
|
163
|
+
end
|
164
|
+
}.new.freeze,
|
165
|
+
].freeze).freeze,
|
175
166
|
# roll: r32, imm8
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
167
|
+
Form.new([
|
168
|
+
OPERAND_TYPES[12],
|
169
|
+
OPERAND_TYPES[1],
|
170
|
+
].freeze, [
|
171
|
+
Class.new(Fisk::Encoding) {
|
172
|
+
def encode buffer, operands
|
173
|
+
add_rex(buffer, operands,
|
181
174
|
false,
|
182
175
|
0,
|
183
176
|
0,
|
184
177
|
0,
|
185
|
-
|
186
|
-
|
187
|
-
|
178
|
+
operands[0].rex_value) +
|
179
|
+
add_opcode(buffer, 0xC1, 0) +
|
180
|
+
add_modrm(buffer,
|
188
181
|
3,
|
189
182
|
0,
|
190
|
-
operands[0].
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
forms << Form.new(operands, encodings)
|
197
|
-
operands = []
|
198
|
-
encodings = []
|
183
|
+
operands[0].op_value, operands) +
|
184
|
+
add_immediate(buffer, operands[1].op_value, 1) +
|
185
|
+
0
|
186
|
+
end
|
187
|
+
}.new.freeze,
|
188
|
+
].freeze).freeze,
|
199
189
|
# roll: r32, cl
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
190
|
+
Form.new([
|
191
|
+
OPERAND_TYPES[12],
|
192
|
+
OPERAND_TYPES[56],
|
193
|
+
].freeze, [
|
194
|
+
Class.new(Fisk::Encoding) {
|
195
|
+
def encode buffer, operands
|
196
|
+
add_rex(buffer, operands,
|
205
197
|
false,
|
206
198
|
0,
|
207
199
|
0,
|
208
200
|
0,
|
209
|
-
|
210
|
-
|
211
|
-
|
201
|
+
operands[0].rex_value) +
|
202
|
+
add_opcode(buffer, 0xD3, 0) +
|
203
|
+
add_modrm(buffer,
|
212
204
|
3,
|
213
205
|
0,
|
214
|
-
operands[0].
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
forms << Form.new(operands, encodings)
|
220
|
-
operands = []
|
221
|
-
encodings = []
|
206
|
+
operands[0].op_value, operands) +
|
207
|
+
0
|
208
|
+
end
|
209
|
+
}.new.freeze,
|
210
|
+
].freeze).freeze,
|
222
211
|
# rolq: r64, 1
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
212
|
+
Form.new([
|
213
|
+
OPERAND_TYPES[16],
|
214
|
+
OPERAND_TYPES[55],
|
215
|
+
].freeze, [
|
216
|
+
Class.new(Fisk::Encoding) {
|
217
|
+
def encode buffer, operands
|
218
|
+
add_rex(buffer, operands,
|
228
219
|
true,
|
229
220
|
1,
|
230
221
|
0,
|
231
222
|
0,
|
232
|
-
|
233
|
-
|
234
|
-
|
223
|
+
operands[0].rex_value) +
|
224
|
+
add_opcode(buffer, 0xD1, 0) +
|
225
|
+
add_modrm(buffer,
|
235
226
|
3,
|
236
227
|
0,
|
237
|
-
operands[0].
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
forms << Form.new(operands, encodings)
|
243
|
-
operands = []
|
244
|
-
encodings = []
|
228
|
+
operands[0].op_value, operands) +
|
229
|
+
0
|
230
|
+
end
|
231
|
+
}.new.freeze,
|
232
|
+
].freeze).freeze,
|
245
233
|
# rolq: r64, imm8
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
234
|
+
Form.new([
|
235
|
+
OPERAND_TYPES[16],
|
236
|
+
OPERAND_TYPES[1],
|
237
|
+
].freeze, [
|
238
|
+
Class.new(Fisk::Encoding) {
|
239
|
+
def encode buffer, operands
|
240
|
+
add_rex(buffer, operands,
|
251
241
|
true,
|
252
242
|
1,
|
253
243
|
0,
|
254
244
|
0,
|
255
|
-
|
256
|
-
|
257
|
-
|
245
|
+
operands[0].rex_value) +
|
246
|
+
add_opcode(buffer, 0xC1, 0) +
|
247
|
+
add_modrm(buffer,
|
258
248
|
3,
|
259
249
|
0,
|
260
|
-
operands[0].
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
forms << Form.new(operands, encodings)
|
267
|
-
operands = []
|
268
|
-
encodings = []
|
250
|
+
operands[0].op_value, operands) +
|
251
|
+
add_immediate(buffer, operands[1].op_value, 1) +
|
252
|
+
0
|
253
|
+
end
|
254
|
+
}.new.freeze,
|
255
|
+
].freeze).freeze,
|
269
256
|
# rolq: r64, cl
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
257
|
+
Form.new([
|
258
|
+
OPERAND_TYPES[16],
|
259
|
+
OPERAND_TYPES[56],
|
260
|
+
].freeze, [
|
261
|
+
Class.new(Fisk::Encoding) {
|
262
|
+
def encode buffer, operands
|
263
|
+
add_rex(buffer, operands,
|
275
264
|
true,
|
276
265
|
1,
|
277
266
|
0,
|
278
267
|
0,
|
279
|
-
|
280
|
-
|
281
|
-
|
268
|
+
operands[0].rex_value) +
|
269
|
+
add_opcode(buffer, 0xD3, 0) +
|
270
|
+
add_modrm(buffer,
|
282
271
|
3,
|
283
272
|
0,
|
284
|
-
operands[0].
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
forms << Form.new(operands, encodings)
|
290
|
-
operands = []
|
291
|
-
encodings = []
|
273
|
+
operands[0].op_value, operands) +
|
274
|
+
0
|
275
|
+
end
|
276
|
+
}.new.freeze,
|
277
|
+
].freeze).freeze,
|
292
278
|
# rolb: m8, 1
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
279
|
+
Form.new([
|
280
|
+
OPERAND_TYPES[19],
|
281
|
+
OPERAND_TYPES[55],
|
282
|
+
].freeze, [
|
283
|
+
Class.new(Fisk::Encoding) {
|
284
|
+
def encode buffer, operands
|
285
|
+
add_rex(buffer, operands,
|
298
286
|
false,
|
299
287
|
0,
|
300
288
|
0,
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
289
|
+
operands[0].rex_value,
|
290
|
+
operands[0].rex_value) +
|
291
|
+
add_opcode(buffer, 0xD0, 0) +
|
292
|
+
add_modrm(buffer,
|
305
293
|
0,
|
306
294
|
0,
|
307
|
-
operands[0].
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
forms << Form.new(operands, encodings)
|
313
|
-
operands = []
|
314
|
-
encodings = []
|
295
|
+
operands[0].op_value, operands) +
|
296
|
+
0
|
297
|
+
end
|
298
|
+
}.new.freeze,
|
299
|
+
].freeze).freeze,
|
315
300
|
# rolb: m8, imm8
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
301
|
+
Form.new([
|
302
|
+
OPERAND_TYPES[19],
|
303
|
+
OPERAND_TYPES[1],
|
304
|
+
].freeze, [
|
305
|
+
Class.new(Fisk::Encoding) {
|
306
|
+
def encode buffer, operands
|
307
|
+
add_rex(buffer, operands,
|
321
308
|
false,
|
322
309
|
0,
|
323
310
|
0,
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
311
|
+
operands[0].rex_value,
|
312
|
+
operands[0].rex_value) +
|
313
|
+
add_opcode(buffer, 0xC0, 0) +
|
314
|
+
add_modrm(buffer,
|
328
315
|
0,
|
329
316
|
0,
|
330
|
-
operands[0].
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
forms << Form.new(operands, encodings)
|
337
|
-
operands = []
|
338
|
-
encodings = []
|
317
|
+
operands[0].op_value, operands) +
|
318
|
+
add_immediate(buffer, operands[1].op_value, 1) +
|
319
|
+
0
|
320
|
+
end
|
321
|
+
}.new.freeze,
|
322
|
+
].freeze).freeze,
|
339
323
|
# rolb: m8, cl
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
324
|
+
Form.new([
|
325
|
+
OPERAND_TYPES[19],
|
326
|
+
OPERAND_TYPES[56],
|
327
|
+
].freeze, [
|
328
|
+
Class.new(Fisk::Encoding) {
|
329
|
+
def encode buffer, operands
|
330
|
+
add_rex(buffer, operands,
|
345
331
|
false,
|
346
332
|
0,
|
347
333
|
0,
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
334
|
+
operands[0].rex_value,
|
335
|
+
operands[0].rex_value) +
|
336
|
+
add_opcode(buffer, 0xD2, 0) +
|
337
|
+
add_modrm(buffer,
|
352
338
|
0,
|
353
339
|
0,
|
354
|
-
operands[0].
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
forms << Form.new(operands, encodings)
|
360
|
-
operands = []
|
361
|
-
encodings = []
|
340
|
+
operands[0].op_value, operands) +
|
341
|
+
0
|
342
|
+
end
|
343
|
+
}.new.freeze,
|
344
|
+
].freeze).freeze,
|
362
345
|
# rolw: m16, 1
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
346
|
+
Form.new([
|
347
|
+
OPERAND_TYPES[20],
|
348
|
+
OPERAND_TYPES[55],
|
349
|
+
].freeze, [
|
350
|
+
Class.new(Fisk::Encoding) {
|
351
|
+
def encode buffer, operands
|
352
|
+
add_prefix(buffer, operands, 0x66, false) +
|
353
|
+
add_rex(buffer, operands,
|
369
354
|
false,
|
370
355
|
0,
|
371
356
|
0,
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
357
|
+
operands[0].rex_value,
|
358
|
+
operands[0].rex_value) +
|
359
|
+
add_opcode(buffer, 0xD1, 0) +
|
360
|
+
add_modrm(buffer,
|
376
361
|
0,
|
377
362
|
0,
|
378
|
-
operands[0].
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
forms << Form.new(operands, encodings)
|
384
|
-
operands = []
|
385
|
-
encodings = []
|
363
|
+
operands[0].op_value, operands) +
|
364
|
+
0
|
365
|
+
end
|
366
|
+
}.new.freeze,
|
367
|
+
].freeze).freeze,
|
386
368
|
# rolw: m16, imm8
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
369
|
+
Form.new([
|
370
|
+
OPERAND_TYPES[20],
|
371
|
+
OPERAND_TYPES[1],
|
372
|
+
].freeze, [
|
373
|
+
Class.new(Fisk::Encoding) {
|
374
|
+
def encode buffer, operands
|
375
|
+
add_prefix(buffer, operands, 0x66, false) +
|
376
|
+
add_rex(buffer, operands,
|
393
377
|
false,
|
394
378
|
0,
|
395
379
|
0,
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
380
|
+
operands[0].rex_value,
|
381
|
+
operands[0].rex_value) +
|
382
|
+
add_opcode(buffer, 0xC1, 0) +
|
383
|
+
add_modrm(buffer,
|
400
384
|
0,
|
401
385
|
0,
|
402
|
-
operands[0].
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
forms << Form.new(operands, encodings)
|
409
|
-
operands = []
|
410
|
-
encodings = []
|
386
|
+
operands[0].op_value, operands) +
|
387
|
+
add_immediate(buffer, operands[1].op_value, 1) +
|
388
|
+
0
|
389
|
+
end
|
390
|
+
}.new.freeze,
|
391
|
+
].freeze).freeze,
|
411
392
|
# rolw: m16, cl
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
393
|
+
Form.new([
|
394
|
+
OPERAND_TYPES[20],
|
395
|
+
OPERAND_TYPES[56],
|
396
|
+
].freeze, [
|
397
|
+
Class.new(Fisk::Encoding) {
|
398
|
+
def encode buffer, operands
|
399
|
+
add_prefix(buffer, operands, 0x66, false) +
|
400
|
+
add_rex(buffer, operands,
|
418
401
|
false,
|
419
402
|
0,
|
420
403
|
0,
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
404
|
+
operands[0].rex_value,
|
405
|
+
operands[0].rex_value) +
|
406
|
+
add_opcode(buffer, 0xD3, 0) +
|
407
|
+
add_modrm(buffer,
|
425
408
|
0,
|
426
409
|
0,
|
427
|
-
operands[0].
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
forms << Form.new(operands, encodings)
|
433
|
-
operands = []
|
434
|
-
encodings = []
|
410
|
+
operands[0].op_value, operands) +
|
411
|
+
0
|
412
|
+
end
|
413
|
+
}.new.freeze,
|
414
|
+
].freeze).freeze,
|
435
415
|
# roll: m32, 1
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
416
|
+
Form.new([
|
417
|
+
OPERAND_TYPES[21],
|
418
|
+
OPERAND_TYPES[55],
|
419
|
+
].freeze, [
|
420
|
+
Class.new(Fisk::Encoding) {
|
421
|
+
def encode buffer, operands
|
422
|
+
add_rex(buffer, operands,
|
441
423
|
false,
|
442
424
|
0,
|
443
425
|
0,
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
426
|
+
operands[0].rex_value,
|
427
|
+
operands[0].rex_value) +
|
428
|
+
add_opcode(buffer, 0xD1, 0) +
|
429
|
+
add_modrm(buffer,
|
448
430
|
0,
|
449
431
|
0,
|
450
|
-
operands[0].
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
forms << Form.new(operands, encodings)
|
456
|
-
operands = []
|
457
|
-
encodings = []
|
432
|
+
operands[0].op_value, operands) +
|
433
|
+
0
|
434
|
+
end
|
435
|
+
}.new.freeze,
|
436
|
+
].freeze).freeze,
|
458
437
|
# roll: m32, imm8
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
438
|
+
Form.new([
|
439
|
+
OPERAND_TYPES[21],
|
440
|
+
OPERAND_TYPES[1],
|
441
|
+
].freeze, [
|
442
|
+
Class.new(Fisk::Encoding) {
|
443
|
+
def encode buffer, operands
|
444
|
+
add_rex(buffer, operands,
|
464
445
|
false,
|
465
446
|
0,
|
466
447
|
0,
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
448
|
+
operands[0].rex_value,
|
449
|
+
operands[0].rex_value) +
|
450
|
+
add_opcode(buffer, 0xC1, 0) +
|
451
|
+
add_modrm(buffer,
|
471
452
|
0,
|
472
453
|
0,
|
473
|
-
operands[0].
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
forms << Form.new(operands, encodings)
|
480
|
-
operands = []
|
481
|
-
encodings = []
|
454
|
+
operands[0].op_value, operands) +
|
455
|
+
add_immediate(buffer, operands[1].op_value, 1) +
|
456
|
+
0
|
457
|
+
end
|
458
|
+
}.new.freeze,
|
459
|
+
].freeze).freeze,
|
482
460
|
# roll: m32, cl
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
461
|
+
Form.new([
|
462
|
+
OPERAND_TYPES[21],
|
463
|
+
OPERAND_TYPES[56],
|
464
|
+
].freeze, [
|
465
|
+
Class.new(Fisk::Encoding) {
|
466
|
+
def encode buffer, operands
|
467
|
+
add_rex(buffer, operands,
|
488
468
|
false,
|
489
469
|
0,
|
490
470
|
0,
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
471
|
+
operands[0].rex_value,
|
472
|
+
operands[0].rex_value) +
|
473
|
+
add_opcode(buffer, 0xD3, 0) +
|
474
|
+
add_modrm(buffer,
|
495
475
|
0,
|
496
476
|
0,
|
497
|
-
operands[0].
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
forms << Form.new(operands, encodings)
|
503
|
-
operands = []
|
504
|
-
encodings = []
|
477
|
+
operands[0].op_value, operands) +
|
478
|
+
0
|
479
|
+
end
|
480
|
+
}.new.freeze,
|
481
|
+
].freeze).freeze,
|
505
482
|
# rolq: m64, 1
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
483
|
+
Form.new([
|
484
|
+
OPERAND_TYPES[22],
|
485
|
+
OPERAND_TYPES[55],
|
486
|
+
].freeze, [
|
487
|
+
Class.new(Fisk::Encoding) {
|
488
|
+
def encode buffer, operands
|
489
|
+
add_rex(buffer, operands,
|
511
490
|
true,
|
512
491
|
1,
|
513
492
|
0,
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
493
|
+
operands[0].rex_value,
|
494
|
+
operands[0].rex_value) +
|
495
|
+
add_opcode(buffer, 0xD1, 0) +
|
496
|
+
add_modrm(buffer,
|
518
497
|
0,
|
519
498
|
0,
|
520
|
-
operands[0].
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
forms << Form.new(operands, encodings)
|
526
|
-
operands = []
|
527
|
-
encodings = []
|
499
|
+
operands[0].op_value, operands) +
|
500
|
+
0
|
501
|
+
end
|
502
|
+
}.new.freeze,
|
503
|
+
].freeze).freeze,
|
528
504
|
# rolq: m64, imm8
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
505
|
+
Form.new([
|
506
|
+
OPERAND_TYPES[22],
|
507
|
+
OPERAND_TYPES[1],
|
508
|
+
].freeze, [
|
509
|
+
Class.new(Fisk::Encoding) {
|
510
|
+
def encode buffer, operands
|
511
|
+
add_rex(buffer, operands,
|
534
512
|
true,
|
535
513
|
1,
|
536
514
|
0,
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
515
|
+
operands[0].rex_value,
|
516
|
+
operands[0].rex_value) +
|
517
|
+
add_opcode(buffer, 0xC1, 0) +
|
518
|
+
add_modrm(buffer,
|
541
519
|
0,
|
542
520
|
0,
|
543
|
-
operands[0].
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
forms << Form.new(operands, encodings)
|
550
|
-
operands = []
|
551
|
-
encodings = []
|
521
|
+
operands[0].op_value, operands) +
|
522
|
+
add_immediate(buffer, operands[1].op_value, 1) +
|
523
|
+
0
|
524
|
+
end
|
525
|
+
}.new.freeze,
|
526
|
+
].freeze).freeze,
|
552
527
|
# rolq: m64, cl
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
528
|
+
Form.new([
|
529
|
+
OPERAND_TYPES[22],
|
530
|
+
OPERAND_TYPES[56],
|
531
|
+
].freeze, [
|
532
|
+
Class.new(Fisk::Encoding) {
|
533
|
+
def encode buffer, operands
|
534
|
+
add_rex(buffer, operands,
|
558
535
|
true,
|
559
536
|
1,
|
560
537
|
0,
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
538
|
+
operands[0].rex_value,
|
539
|
+
operands[0].rex_value) +
|
540
|
+
add_opcode(buffer, 0xD3, 0) +
|
541
|
+
add_modrm(buffer,
|
565
542
|
0,
|
566
543
|
0,
|
567
|
-
operands[0].
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
ROL = Instruction.new("ROL", forms)
|
544
|
+
operands[0].op_value, operands) +
|
545
|
+
0
|
546
|
+
end
|
547
|
+
}.new.freeze,
|
548
|
+
].freeze).freeze,
|
549
|
+
].freeze).freeze
|
574
550
|
end
|
575
551
|
end
|