3 # This is (mostly) based on following documentations.
4 # - Intel(R) 64 and IA-32 Architectures Software Developer's Manual Vol.2C
5 # (#326018-047US, June 2013)
9 # Referrer: escaped-name
11 # opcode: mnemonic|GrpXXX [operand1[,operand2...]] [(extra1)[,(extra2)...] [| 2nd-mnemonic ...]
13 # opcode: escape # escaped-name
18 # reg: mnemonic [operand1[,operand2...]] [(extra1)[,(extra2)...] [| 2nd-mnemonic ...]
22 # (v): this opcode requires VEX prefix.
23 # (v1): this opcode only supports 128bit VEX.
25 # Last Prefix Superscripts
26 # - (66): the last prefix is 0x66
27 # - (F3): the last prefix is 0xF3
28 # - (F2): the last prefix is 0xF2
29 # - (!F3) : the last prefix is not 0xF3 (including non-last prefix case)
30 # - (66&F2): Both 0x66 and 0xF2 prefixes are specified.
32 Table: one byte opcode
51 0f: escape # 2-byte escape
104 40: INC eAX (i64) | REX (o64)
105 41: INC eCX (i64) | REX.B (o64)
106 42: INC eDX (i64) | REX.X (o64)
107 43: INC eBX (i64) | REX.XB (o64)
108 44: INC eSP (i64) | REX.R (o64)
109 45: INC eBP (i64) | REX.RB (o64)
110 46: INC eSI (i64) | REX.RX (o64)
111 47: INC eDI (i64) | REX.RXB (o64)
112 48: DEC eAX (i64) | REX.W (o64)
113 49: DEC eCX (i64) | REX.WB (o64)
114 4a: DEC eDX (i64) | REX.WX (o64)
115 4b: DEC eBX (i64) | REX.WXB (o64)
116 4c: DEC eSP (i64) | REX.WR (o64)
117 4d: DEC eBP (i64) | REX.WRB (o64)
118 4e: DEC eSI (i64) | REX.WRX (o64)
119 4f: DEC eDI (i64) | REX.WRXB (o64)
121 50: PUSH rAX/r8 (d64)
122 51: PUSH rCX/r9 (d64)
123 52: PUSH rDX/r10 (d64)
124 53: PUSH rBX/r11 (d64)
125 54: PUSH rSP/r12 (d64)
126 55: PUSH rBP/r13 (d64)
127 56: PUSH rSI/r14 (d64)
128 57: PUSH rDI/r15 (d64)
131 5a: POP rDX/r10 (d64)
132 5b: POP rBX/r11 (d64)
133 5c: POP rSP/r12 (d64)
134 5d: POP rBP/r13 (d64)
135 5e: POP rSI/r14 (d64)
136 5f: POP rDI/r15 (d64)
138 60: PUSHA/PUSHAD (i64)
140 62: BOUND Gv,Ma (i64)
141 63: ARPL Ew,Gw (i64) | MOVSXD Gv,Ev (o64)
144 66: Operand-Size (Prefix)
145 67: Address-Size (Prefix)
151 6d: INS/INSW/INSD Yz,DX
153 6f: OUTS/OUTSW/OUTSD DX,Xz
174 82: Grp1 Eb,Ib (1A),(i64)
187 8f: Grp1A (1A) | POP Ev (d64)
189 90: NOP | PAUSE (F3) | XCHG r8,rAX
201 9c: PUSHF/D/Q Fv (d64)
202 9d: POPF/D/Q Fv (d64)
217 ab: STOS/W/D/Q Yv,rAX
219 ad: LODS/W/D/Q rAX,Xv
221 # Note: The May 2011 Intel manual shows Xv for the second parameter of the
222 # next instruction but Yv is correct
223 af: SCAS/W/D/Q rAX,Yv
246 c4: LES Gz,Mp (i64) | VEX+2byte (Prefix)
247 c5: LDS Gz,Mp (i64) | VEX+1byte (Prefix)
248 c6: Grp11A Eb,Ib (1A)
249 c7: Grp11B Ev,Iz (1A)
276 e0: LOOPNE/LOOPNZ Jb (f64)
277 e1: LOOPE/LOOPZ Jb (f64)
285 e9: JMP-near Jz (f64)
287 eb: JMP-short Jb (f64)
295 f2: REPNE (Prefix) | XACQUIRE (Prefix)
296 f3: REP/REPE (Prefix) | XRELEASE (Prefix)
311 Table: 2-byte opcode (0x0f)
312 Referrer: 2-byte escape
328 # AMD's prefetch group. Intel supports prefetchw(/1) only.
331 # 3DNow! uses the last imm byte as opcode extension.
334 # NOTE: According to Intel SDM opcode map, vmovups and vmovupd has no operands
335 # but it actually has operands. And also, vmovss and vmovsd only accept 128bit.
336 # MOVSS/MOVSD has too many forms(3) on SDM. This map just shows a typical form.
337 # Many AVX instructions lack v1 superscript, according to Intel AVX-Prgramming
339 10: vmovups Vps,Wps | vmovupd Vpd,Wpd (66) | vmovss Vx,Hx,Wss (F3),(v1) | vmovsd Vx,Hx,Wsd (F2),(v1)
340 11: vmovups Wps,Vps | vmovupd Wpd,Vpd (66) | vmovss Wss,Hx,Vss (F3),(v1) | vmovsd Wsd,Hx,Vsd (F2),(v1)
341 12: vmovlps Vq,Hq,Mq (v1) | vmovhlps Vq,Hq,Uq (v1) | vmovlpd Vq,Hq,Mq (66),(v1) | vmovsldup Vx,Wx (F3) | vmovddup Vx,Wx (F2)
342 13: vmovlps Mq,Vq (v1) | vmovlpd Mq,Vq (66),(v1)
343 14: vunpcklps Vx,Hx,Wx | vunpcklpd Vx,Hx,Wx (66)
344 15: vunpckhps Vx,Hx,Wx | vunpckhpd Vx,Hx,Wx (66)
345 16: vmovhps Vdq,Hq,Mq (v1) | vmovlhps Vdq,Hq,Uq (v1) | vmovhpd Vdq,Hq,Mq (66),(v1) | vmovshdup Vx,Wx (F3)
346 17: vmovhps Mq,Vq (v1) | vmovhpd Mq,Vq (66),(v1)
349 1a: BNDCL Ev,Gv | BNDCU Ev,Gv | BNDMOV Gv,Ev | BNDLDX Gv,Ev,Gv
350 1b: BNDCN Ev,Gv | BNDMOV Ev,Gv | BNDMK Gv,Ev | BNDSTX Ev,GV,Gv
364 28: vmovaps Vps,Wps | vmovapd Vpd,Wpd (66)
365 29: vmovaps Wps,Vps | vmovapd Wpd,Vpd (66)
366 2a: cvtpi2ps Vps,Qpi | cvtpi2pd Vpd,Qpi (66) | vcvtsi2ss Vss,Hss,Ey (F3),(v1) | vcvtsi2sd Vsd,Hsd,Ey (F2),(v1)
367 2b: vmovntps Mps,Vps | vmovntpd Mpd,Vpd (66)
368 2c: cvttps2pi Ppi,Wps | cvttpd2pi Ppi,Wpd (66) | vcvttss2si Gy,Wss (F3),(v1) | vcvttsd2si Gy,Wsd (F2),(v1)
369 2d: cvtps2pi Ppi,Wps | cvtpd2pi Qpi,Wpd (66) | vcvtss2si Gy,Wss (F3),(v1) | vcvtsd2si Gy,Wsd (F2),(v1)
370 2e: vucomiss Vss,Wss (v1) | vucomisd Vsd,Wsd (66),(v1)
371 2f: vcomiss Vss,Wss (v1) | vcomisd Vsd,Wsd (66),(v1)
381 38: escape # 3-byte escape 1
383 3a: escape # 3-byte escape 2
392 42: CMOVB/C/NAE Gv,Ev
393 43: CMOVAE/NB/NC Gv,Ev
407 50: vmovmskps Gy,Ups | vmovmskpd Gy,Upd (66)
408 51: vsqrtps Vps,Wps | vsqrtpd Vpd,Wpd (66) | vsqrtss Vss,Hss,Wss (F3),(v1) | vsqrtsd Vsd,Hsd,Wsd (F2),(v1)
409 52: vrsqrtps Vps,Wps | vrsqrtss Vss,Hss,Wss (F3),(v1)
410 53: vrcpps Vps,Wps | vrcpss Vss,Hss,Wss (F3),(v1)
411 54: vandps Vps,Hps,Wps | vandpd Vpd,Hpd,Wpd (66)
412 55: vandnps Vps,Hps,Wps | vandnpd Vpd,Hpd,Wpd (66)
413 56: vorps Vps,Hps,Wps | vorpd Vpd,Hpd,Wpd (66)
414 57: vxorps Vps,Hps,Wps | vxorpd Vpd,Hpd,Wpd (66)
415 58: vaddps Vps,Hps,Wps | vaddpd Vpd,Hpd,Wpd (66) | vaddss Vss,Hss,Wss (F3),(v1) | vaddsd Vsd,Hsd,Wsd (F2),(v1)
416 59: vmulps Vps,Hps,Wps | vmulpd Vpd,Hpd,Wpd (66) | vmulss Vss,Hss,Wss (F3),(v1) | vmulsd Vsd,Hsd,Wsd (F2),(v1)
417 5a: vcvtps2pd Vpd,Wps | vcvtpd2ps Vps,Wpd (66) | vcvtss2sd Vsd,Hx,Wss (F3),(v1) | vcvtsd2ss Vss,Hx,Wsd (F2),(v1)
418 5b: vcvtdq2ps Vps,Wdq | vcvtps2dq Vdq,Wps (66) | vcvttps2dq Vdq,Wps (F3)
419 5c: vsubps Vps,Hps,Wps | vsubpd Vpd,Hpd,Wpd (66) | vsubss Vss,Hss,Wss (F3),(v1) | vsubsd Vsd,Hsd,Wsd (F2),(v1)
420 5d: vminps Vps,Hps,Wps | vminpd Vpd,Hpd,Wpd (66) | vminss Vss,Hss,Wss (F3),(v1) | vminsd Vsd,Hsd,Wsd (F2),(v1)
421 5e: vdivps Vps,Hps,Wps | vdivpd Vpd,Hpd,Wpd (66) | vdivss Vss,Hss,Wss (F3),(v1) | vdivsd Vsd,Hsd,Wsd (F2),(v1)
422 5f: vmaxps Vps,Hps,Wps | vmaxpd Vpd,Hpd,Wpd (66) | vmaxss Vss,Hss,Wss (F3),(v1) | vmaxsd Vsd,Hsd,Wsd (F2),(v1)
424 60: punpcklbw Pq,Qd | vpunpcklbw Vx,Hx,Wx (66),(v1)
425 61: punpcklwd Pq,Qd | vpunpcklwd Vx,Hx,Wx (66),(v1)
426 62: punpckldq Pq,Qd | vpunpckldq Vx,Hx,Wx (66),(v1)
427 63: packsswb Pq,Qq | vpacksswb Vx,Hx,Wx (66),(v1)
428 64: pcmpgtb Pq,Qq | vpcmpgtb Vx,Hx,Wx (66),(v1)
429 65: pcmpgtw Pq,Qq | vpcmpgtw Vx,Hx,Wx (66),(v1)
430 66: pcmpgtd Pq,Qq | vpcmpgtd Vx,Hx,Wx (66),(v1)
431 67: packuswb Pq,Qq | vpackuswb Vx,Hx,Wx (66),(v1)
432 68: punpckhbw Pq,Qd | vpunpckhbw Vx,Hx,Wx (66),(v1)
433 69: punpckhwd Pq,Qd | vpunpckhwd Vx,Hx,Wx (66),(v1)
434 6a: punpckhdq Pq,Qd | vpunpckhdq Vx,Hx,Wx (66),(v1)
435 6b: packssdw Pq,Qd | vpackssdw Vx,Hx,Wx (66),(v1)
436 6c: vpunpcklqdq Vx,Hx,Wx (66),(v1)
437 6d: vpunpckhqdq Vx,Hx,Wx (66),(v1)
438 6e: movd/q Pd,Ey | vmovd/q Vy,Ey (66),(v1)
439 6f: movq Pq,Qq | vmovdqa Vx,Wx (66) | vmovdqu Vx,Wx (F3)
441 70: pshufw Pq,Qq,Ib | vpshufd Vx,Wx,Ib (66),(v1) | vpshufhw Vx,Wx,Ib (F3),(v1) | vpshuflw Vx,Wx,Ib (F2),(v1)
445 74: pcmpeqb Pq,Qq | vpcmpeqb Vx,Hx,Wx (66),(v1)
446 75: pcmpeqw Pq,Qq | vpcmpeqw Vx,Hx,Wx (66),(v1)
447 76: pcmpeqd Pq,Qq | vpcmpeqd Vx,Hx,Wx (66),(v1)
448 # Note: Remove (v), because vzeroall and vzeroupper becomes emms without VEX.
449 77: emms | vzeroupper | vzeroall
454 7c: vhaddpd Vpd,Hpd,Wpd (66) | vhaddps Vps,Hps,Wps (F2)
455 7d: vhsubpd Vpd,Hpd,Wpd (66) | vhsubps Vps,Hps,Wps (F2)
456 7e: movd/q Ey,Pd | vmovd/q Ey,Vy (66),(v1) | vmovq Vq,Wq (F3),(v1)
457 7f: movq Qq,Pq | vmovdqa Wx,Vx (66) | vmovdqu Wx,Vx (F3)
461 82: JB/JC/JNAE Jz (f64)
462 83: JAE/JNB/JNC Jz (f64)
518 b8: JMPE (!F3) | POPCNT Gv,Ev (F3)
522 bc: BSF Gv,Ev (!F3) | TZCNT Gv,Ev (F3)
523 bd: BSR Gv,Ev (!F3) | LZCNT Gv,Ev (F3)
529 c2: vcmpps Vps,Hps,Wps,Ib | vcmppd Vpd,Hpd,Wpd,Ib (66) | vcmpss Vss,Hss,Wss,Ib (F3),(v1) | vcmpsd Vsd,Hsd,Wsd,Ib (F2),(v1)
531 c4: pinsrw Pq,Ry/Mw,Ib | vpinsrw Vdq,Hdq,Ry/Mw,Ib (66),(v1)
532 c5: pextrw Gd,Nq,Ib | vpextrw Gd,Udq,Ib (66),(v1)
533 c6: vshufps Vps,Hps,Wps,Ib | vshufpd Vpd,Hpd,Wpd,Ib (66)
535 c8: BSWAP RAX/EAX/R8/R8D
536 c9: BSWAP RCX/ECX/R9/R9D
537 ca: BSWAP RDX/EDX/R10/R10D
538 cb: BSWAP RBX/EBX/R11/R11D
539 cc: BSWAP RSP/ESP/R12/R12D
540 cd: BSWAP RBP/EBP/R13/R13D
541 ce: BSWAP RSI/ESI/R14/R14D
542 cf: BSWAP RDI/EDI/R15/R15D
544 d0: vaddsubpd Vpd,Hpd,Wpd (66) | vaddsubps Vps,Hps,Wps (F2)
545 d1: psrlw Pq,Qq | vpsrlw Vx,Hx,Wx (66),(v1)
546 d2: psrld Pq,Qq | vpsrld Vx,Hx,Wx (66),(v1)
547 d3: psrlq Pq,Qq | vpsrlq Vx,Hx,Wx (66),(v1)
548 d4: paddq Pq,Qq | vpaddq Vx,Hx,Wx (66),(v1)
549 d5: pmullw Pq,Qq | vpmullw Vx,Hx,Wx (66),(v1)
550 d6: vmovq Wq,Vq (66),(v1) | movq2dq Vdq,Nq (F3) | movdq2q Pq,Uq (F2)
551 d7: pmovmskb Gd,Nq | vpmovmskb Gd,Ux (66),(v1)
552 d8: psubusb Pq,Qq | vpsubusb Vx,Hx,Wx (66),(v1)
553 d9: psubusw Pq,Qq | vpsubusw Vx,Hx,Wx (66),(v1)
554 da: pminub Pq,Qq | vpminub Vx,Hx,Wx (66),(v1)
555 db: pand Pq,Qq | vpand Vx,Hx,Wx (66),(v1)
556 dc: paddusb Pq,Qq | vpaddusb Vx,Hx,Wx (66),(v1)
557 dd: paddusw Pq,Qq | vpaddusw Vx,Hx,Wx (66),(v1)
558 de: pmaxub Pq,Qq | vpmaxub Vx,Hx,Wx (66),(v1)
559 df: pandn Pq,Qq | vpandn Vx,Hx,Wx (66),(v1)
561 e0: pavgb Pq,Qq | vpavgb Vx,Hx,Wx (66),(v1)
562 e1: psraw Pq,Qq | vpsraw Vx,Hx,Wx (66),(v1)
563 e2: psrad Pq,Qq | vpsrad Vx,Hx,Wx (66),(v1)
564 e3: pavgw Pq,Qq | vpavgw Vx,Hx,Wx (66),(v1)
565 e4: pmulhuw Pq,Qq | vpmulhuw Vx,Hx,Wx (66),(v1)
566 e5: pmulhw Pq,Qq | vpmulhw Vx,Hx,Wx (66),(v1)
567 e6: vcvttpd2dq Vx,Wpd (66) | vcvtdq2pd Vx,Wdq (F3) | vcvtpd2dq Vx,Wpd (F2)
568 e7: movntq Mq,Pq | vmovntdq Mx,Vx (66)
569 e8: psubsb Pq,Qq | vpsubsb Vx,Hx,Wx (66),(v1)
570 e9: psubsw Pq,Qq | vpsubsw Vx,Hx,Wx (66),(v1)
571 ea: pminsw Pq,Qq | vpminsw Vx,Hx,Wx (66),(v1)
572 eb: por Pq,Qq | vpor Vx,Hx,Wx (66),(v1)
573 ec: paddsb Pq,Qq | vpaddsb Vx,Hx,Wx (66),(v1)
574 ed: paddsw Pq,Qq | vpaddsw Vx,Hx,Wx (66),(v1)
575 ee: pmaxsw Pq,Qq | vpmaxsw Vx,Hx,Wx (66),(v1)
576 ef: pxor Pq,Qq | vpxor Vx,Hx,Wx (66),(v1)
578 f0: vlddqu Vx,Mx (F2)
579 f1: psllw Pq,Qq | vpsllw Vx,Hx,Wx (66),(v1)
580 f2: pslld Pq,Qq | vpslld Vx,Hx,Wx (66),(v1)
581 f3: psllq Pq,Qq | vpsllq Vx,Hx,Wx (66),(v1)
582 f4: pmuludq Pq,Qq | vpmuludq Vx,Hx,Wx (66),(v1)
583 f5: pmaddwd Pq,Qq | vpmaddwd Vx,Hx,Wx (66),(v1)
584 f6: psadbw Pq,Qq | vpsadbw Vx,Hx,Wx (66),(v1)
585 f7: maskmovq Pq,Nq | vmaskmovdqu Vx,Ux (66),(v1)
586 f8: psubb Pq,Qq | vpsubb Vx,Hx,Wx (66),(v1)
587 f9: psubw Pq,Qq | vpsubw Vx,Hx,Wx (66),(v1)
588 fa: psubd Pq,Qq | vpsubd Vx,Hx,Wx (66),(v1)
589 fb: psubq Pq,Qq | vpsubq Vx,Hx,Wx (66),(v1)
590 fc: paddb Pq,Qq | vpaddb Vx,Hx,Wx (66),(v1)
591 fd: paddw Pq,Qq | vpaddw Vx,Hx,Wx (66),(v1)
592 fe: paddd Pq,Qq | vpaddd Vx,Hx,Wx (66),(v1)
596 Table: 3-byte opcode 1 (0x0f 0x38)
597 Referrer: 3-byte escape 1
599 # 0x0f 0x38 0x00-0x0f
600 00: pshufb Pq,Qq | vpshufb Vx,Hx,Wx (66),(v1)
601 01: phaddw Pq,Qq | vphaddw Vx,Hx,Wx (66),(v1)
602 02: phaddd Pq,Qq | vphaddd Vx,Hx,Wx (66),(v1)
603 03: phaddsw Pq,Qq | vphaddsw Vx,Hx,Wx (66),(v1)
604 04: pmaddubsw Pq,Qq | vpmaddubsw Vx,Hx,Wx (66),(v1)
605 05: phsubw Pq,Qq | vphsubw Vx,Hx,Wx (66),(v1)
606 06: phsubd Pq,Qq | vphsubd Vx,Hx,Wx (66),(v1)
607 07: phsubsw Pq,Qq | vphsubsw Vx,Hx,Wx (66),(v1)
608 08: psignb Pq,Qq | vpsignb Vx,Hx,Wx (66),(v1)
609 09: psignw Pq,Qq | vpsignw Vx,Hx,Wx (66),(v1)
610 0a: psignd Pq,Qq | vpsignd Vx,Hx,Wx (66),(v1)
611 0b: pmulhrsw Pq,Qq | vpmulhrsw Vx,Hx,Wx (66),(v1)
612 0c: vpermilps Vx,Hx,Wx (66),(v)
613 0d: vpermilpd Vx,Hx,Wx (66),(v)
614 0e: vtestps Vx,Wx (66),(v)
615 0f: vtestpd Vx,Wx (66),(v)
616 # 0x0f 0x38 0x10-0x1f
617 10: pblendvb Vdq,Wdq (66)
620 13: vcvtph2ps Vx,Wx,Ib (66),(v)
621 14: blendvps Vdq,Wdq (66)
622 15: blendvpd Vdq,Wdq (66)
623 16: vpermps Vqq,Hqq,Wqq (66),(v)
624 17: vptest Vx,Wx (66)
625 18: vbroadcastss Vx,Wd (66),(v)
626 19: vbroadcastsd Vqq,Wq (66),(v)
627 1a: vbroadcastf128 Vqq,Mdq (66),(v)
629 1c: pabsb Pq,Qq | vpabsb Vx,Wx (66),(v1)
630 1d: pabsw Pq,Qq | vpabsw Vx,Wx (66),(v1)
631 1e: pabsd Pq,Qq | vpabsd Vx,Wx (66),(v1)
633 # 0x0f 0x38 0x20-0x2f
634 20: vpmovsxbw Vx,Ux/Mq (66),(v1)
635 21: vpmovsxbd Vx,Ux/Md (66),(v1)
636 22: vpmovsxbq Vx,Ux/Mw (66),(v1)
637 23: vpmovsxwd Vx,Ux/Mq (66),(v1)
638 24: vpmovsxwq Vx,Ux/Md (66),(v1)
639 25: vpmovsxdq Vx,Ux/Mq (66),(v1)
642 28: vpmuldq Vx,Hx,Wx (66),(v1)
643 29: vpcmpeqq Vx,Hx,Wx (66),(v1)
644 2a: vmovntdqa Vx,Mx (66),(v1)
645 2b: vpackusdw Vx,Hx,Wx (66),(v1)
646 2c: vmaskmovps Vx,Hx,Mx (66),(v)
647 2d: vmaskmovpd Vx,Hx,Mx (66),(v)
648 2e: vmaskmovps Mx,Hx,Vx (66),(v)
649 2f: vmaskmovpd Mx,Hx,Vx (66),(v)
650 # 0x0f 0x38 0x30-0x3f
651 30: vpmovzxbw Vx,Ux/Mq (66),(v1)
652 31: vpmovzxbd Vx,Ux/Md (66),(v1)
653 32: vpmovzxbq Vx,Ux/Mw (66),(v1)
654 33: vpmovzxwd Vx,Ux/Mq (66),(v1)
655 34: vpmovzxwq Vx,Ux/Md (66),(v1)
656 35: vpmovzxdq Vx,Ux/Mq (66),(v1)
657 36: vpermd Vqq,Hqq,Wqq (66),(v)
658 37: vpcmpgtq Vx,Hx,Wx (66),(v1)
659 38: vpminsb Vx,Hx,Wx (66),(v1)
660 39: vpminsd Vx,Hx,Wx (66),(v1)
661 3a: vpminuw Vx,Hx,Wx (66),(v1)
662 3b: vpminud Vx,Hx,Wx (66),(v1)
663 3c: vpmaxsb Vx,Hx,Wx (66),(v1)
664 3d: vpmaxsd Vx,Hx,Wx (66),(v1)
665 3e: vpmaxuw Vx,Hx,Wx (66),(v1)
666 3f: vpmaxud Vx,Hx,Wx (66),(v1)
667 # 0x0f 0x38 0x40-0x8f
668 40: vpmulld Vx,Hx,Wx (66),(v1)
669 41: vphminposuw Vdq,Wdq (66),(v1)
673 45: vpsrlvd/q Vx,Hx,Wx (66),(v)
674 46: vpsravd Vx,Hx,Wx (66),(v)
675 47: vpsllvd/q Vx,Hx,Wx (66),(v)
677 58: vpbroadcastd Vx,Wx (66),(v)
678 59: vpbroadcastq Vx,Wx (66),(v)
679 5a: vbroadcasti128 Vqq,Mdq (66),(v)
681 78: vpbroadcastb Vx,Wx (66),(v)
682 79: vpbroadcastw Vx,Wx (66),(v)
684 80: INVEPT Gy,Mdq (66)
685 81: INVPID Gy,Mdq (66)
686 82: INVPCID Gy,Mdq (66)
687 8c: vpmaskmovd/q Vx,Hx,Mx (66),(v)
688 8e: vpmaskmovd/q Mx,Vx,Hx (66),(v)
689 # 0x0f 0x38 0x90-0xbf (FMA)
690 90: vgatherdd/q Vx,Hx,Wx (66),(v)
691 91: vgatherqd/q Vx,Hx,Wx (66),(v)
692 92: vgatherdps/d Vx,Hx,Wx (66),(v)
693 93: vgatherqps/d Vx,Hx,Wx (66),(v)
696 96: vfmaddsub132ps/d Vx,Hx,Wx (66),(v)
697 97: vfmsubadd132ps/d Vx,Hx,Wx (66),(v)
698 98: vfmadd132ps/d Vx,Hx,Wx (66),(v)
699 99: vfmadd132ss/d Vx,Hx,Wx (66),(v),(v1)
700 9a: vfmsub132ps/d Vx,Hx,Wx (66),(v)
701 9b: vfmsub132ss/d Vx,Hx,Wx (66),(v),(v1)
702 9c: vfnmadd132ps/d Vx,Hx,Wx (66),(v)
703 9d: vfnmadd132ss/d Vx,Hx,Wx (66),(v),(v1)
704 9e: vfnmsub132ps/d Vx,Hx,Wx (66),(v)
705 9f: vfnmsub132ss/d Vx,Hx,Wx (66),(v),(v1)
706 a6: vfmaddsub213ps/d Vx,Hx,Wx (66),(v)
707 a7: vfmsubadd213ps/d Vx,Hx,Wx (66),(v)
708 a8: vfmadd213ps/d Vx,Hx,Wx (66),(v)
709 a9: vfmadd213ss/d Vx,Hx,Wx (66),(v),(v1)
710 aa: vfmsub213ps/d Vx,Hx,Wx (66),(v)
711 ab: vfmsub213ss/d Vx,Hx,Wx (66),(v),(v1)
712 ac: vfnmadd213ps/d Vx,Hx,Wx (66),(v)
713 ad: vfnmadd213ss/d Vx,Hx,Wx (66),(v),(v1)
714 ae: vfnmsub213ps/d Vx,Hx,Wx (66),(v)
715 af: vfnmsub213ss/d Vx,Hx,Wx (66),(v),(v1)
716 b6: vfmaddsub231ps/d Vx,Hx,Wx (66),(v)
717 b7: vfmsubadd231ps/d Vx,Hx,Wx (66),(v)
718 b8: vfmadd231ps/d Vx,Hx,Wx (66),(v)
719 b9: vfmadd231ss/d Vx,Hx,Wx (66),(v),(v1)
720 ba: vfmsub231ps/d Vx,Hx,Wx (66),(v)
721 bb: vfmsub231ss/d Vx,Hx,Wx (66),(v),(v1)
722 bc: vfnmadd231ps/d Vx,Hx,Wx (66),(v)
723 bd: vfnmadd231ss/d Vx,Hx,Wx (66),(v),(v1)
724 be: vfnmsub231ps/d Vx,Hx,Wx (66),(v)
725 bf: vfnmsub231ss/d Vx,Hx,Wx (66),(v),(v1)
726 # 0x0f 0x38 0xc0-0xff
727 db: VAESIMC Vdq,Wdq (66),(v1)
728 dc: VAESENC Vdq,Hdq,Wdq (66),(v1)
729 dd: VAESENCLAST Vdq,Hdq,Wdq (66),(v1)
730 de: VAESDEC Vdq,Hdq,Wdq (66),(v1)
731 df: VAESDECLAST Vdq,Hdq,Wdq (66),(v1)
732 f0: MOVBE Gy,My | MOVBE Gw,Mw (66) | CRC32 Gd,Eb (F2) | CRC32 Gd,Eb (66&F2)
733 f1: MOVBE My,Gy | MOVBE Mw,Gw (66) | CRC32 Gd,Ey (F2) | CRC32 Gd,Ew (66&F2)
734 f2: ANDN Gy,By,Ey (v)
736 f5: BZHI Gy,Ey,By (v) | PEXT Gy,By,Ey (F3),(v) | PDEP Gy,By,Ey (F2),(v)
737 f6: ADCX Gy,Ey (66) | ADOX Gy,Ey (F3) | MULX By,Gy,rDX,Ey (F2),(v)
738 f7: BEXTR Gy,Ey,By (v) | SHLX Gy,Ey,By (66),(v) | SARX Gy,Ey,By (F3),(v) | SHRX Gy,Ey,By (F2),(v)
741 Table: 3-byte opcode 2 (0x0f 0x3a)
742 Referrer: 3-byte escape 2
744 # 0x0f 0x3a 0x00-0xff
745 00: vpermq Vqq,Wqq,Ib (66),(v)
746 01: vpermpd Vqq,Wqq,Ib (66),(v)
747 02: vpblendd Vx,Hx,Wx,Ib (66),(v)
749 04: vpermilps Vx,Wx,Ib (66),(v)
750 05: vpermilpd Vx,Wx,Ib (66),(v)
751 06: vperm2f128 Vqq,Hqq,Wqq,Ib (66),(v)
753 08: vroundps Vx,Wx,Ib (66)
754 09: vroundpd Vx,Wx,Ib (66)
755 0a: vroundss Vss,Wss,Ib (66),(v1)
756 0b: vroundsd Vsd,Wsd,Ib (66),(v1)
757 0c: vblendps Vx,Hx,Wx,Ib (66)
758 0d: vblendpd Vx,Hx,Wx,Ib (66)
759 0e: vpblendw Vx,Hx,Wx,Ib (66),(v1)
760 0f: palignr Pq,Qq,Ib | vpalignr Vx,Hx,Wx,Ib (66),(v1)
761 14: vpextrb Rd/Mb,Vdq,Ib (66),(v1)
762 15: vpextrw Rd/Mw,Vdq,Ib (66),(v1)
763 16: vpextrd/q Ey,Vdq,Ib (66),(v1)
764 17: vextractps Ed,Vdq,Ib (66),(v1)
765 18: vinsertf128 Vqq,Hqq,Wqq,Ib (66),(v)
766 19: vextractf128 Wdq,Vqq,Ib (66),(v)
767 1d: vcvtps2ph Wx,Vx,Ib (66),(v)
768 20: vpinsrb Vdq,Hdq,Ry/Mb,Ib (66),(v1)
769 21: vinsertps Vdq,Hdq,Udq/Md,Ib (66),(v1)
770 22: vpinsrd/q Vdq,Hdq,Ey,Ib (66),(v1)
771 38: vinserti128 Vqq,Hqq,Wqq,Ib (66),(v)
772 39: vextracti128 Wdq,Vqq,Ib (66),(v)
773 40: vdpps Vx,Hx,Wx,Ib (66)
774 41: vdppd Vdq,Hdq,Wdq,Ib (66),(v1)
775 42: vmpsadbw Vx,Hx,Wx,Ib (66),(v1)
776 44: vpclmulqdq Vdq,Hdq,Wdq,Ib (66),(v1)
777 46: vperm2i128 Vqq,Hqq,Wqq,Ib (66),(v)
778 4a: vblendvps Vx,Hx,Wx,Lx (66),(v)
779 4b: vblendvpd Vx,Hx,Wx,Lx (66),(v)
780 4c: vpblendvb Vx,Hx,Wx,Lx (66),(v1)
781 60: vpcmpestrm Vdq,Wdq,Ib (66),(v1)
782 61: vpcmpestri Vdq,Wdq,Ib (66),(v1)
783 62: vpcmpistrm Vdq,Wdq,Ib (66),(v1)
784 63: vpcmpistri Vdq,Wdq,Ib (66),(v1)
785 df: VAESKEYGEN Vdq,Wdq,Ib (66),(v1)
786 f0: RORX Gy,Ey,Ib (F2),(v)
863 0: SGDT Ms | VMCALL (001),(11B) | VMLAUNCH (010),(11B) | VMRESUME (011),(11B) | VMXOFF (100),(11B)
864 1: SIDT Ms | MONITOR (000),(11B) | MWAIT (001),(11B) | CLAC (010),(11B) | STAC (011),(11B)
865 2: LGDT Ms | XGETBV (000),(11B) | XSETBV (001),(11B) | VMFUNC (100),(11B) | XEND (101)(11B) | XTEST (110)(11B)
870 7: INVLPG Mb | SWAPGS (o64),(000),(11B) | RDTSCP (001),(11B)
881 1: CMPXCHG8B/16B Mq/Mdq
882 6: VMPTRLD Mq | VMCLEAR Mq (66) | VMXON Mq (F3) | RDRAND Rv (11B)
883 7: VMPTRST Mq | VMPTRST Mq (F3) | RDSEED Rv (11B)
889 # Grp11A and Grp11B are expressed as Grp11 in Intel SDM
892 7: XABORT Ib (000),(11B)
897 7: XBEGIN Jz (000),(11B)
901 2: psrlw Nq,Ib (11B) | vpsrlw Hx,Ux,Ib (66),(11B),(v1)
902 4: psraw Nq,Ib (11B) | vpsraw Hx,Ux,Ib (66),(11B),(v1)
903 6: psllw Nq,Ib (11B) | vpsllw Hx,Ux,Ib (66),(11B),(v1)
907 2: psrld Nq,Ib (11B) | vpsrld Hx,Ux,Ib (66),(11B),(v1)
908 4: psrad Nq,Ib (11B) | vpsrad Hx,Ux,Ib (66),(11B),(v1)
909 6: pslld Nq,Ib (11B) | vpslld Hx,Ux,Ib (66),(11B),(v1)
913 2: psrlq Nq,Ib (11B) | vpsrlq Hx,Ux,Ib (66),(11B),(v1)
914 3: vpsrldq Hx,Ux,Ib (66),(11B),(v1)
915 6: psllq Nq,Ib (11B) | vpsllq Hx,Ux,Ib (66),(11B),(v1)
916 7: vpslldq Hx,Ux,Ib (66),(11B),(v1)
920 0: fxsave | RDFSBASE Ry (F3),(11B)
921 1: fxstor | RDGSBASE Ry (F3),(11B)
922 2: vldmxcsr Md (v1) | WRFSBASE Ry (F3),(11B)
923 3: vstmxcsr Md (v1) | WRGSBASE Ry (F3),(11B)
925 5: XRSTOR | lfence (11B)
926 6: XSAVEOPT | mfence (11B)
927 7: clflush | sfence (11B)
943 # AMD's Prefetch Group