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