linux/tools/perf/util/intel-pt-decoder/x86-opcode-map.txt
<<
>>
Prefs
   1# x86 Opcode Maps
   2#
   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)
   6#
   7#<Opcode maps>
   8# Table: table-name
   9# Referrer: escaped-name
  10# AVXcode: avx-code
  11# opcode: mnemonic|GrpXXX [operand1[,operand2...]] [(extra1)[,(extra2)...] [| 2nd-mnemonic ...]
  12# (or)
  13# opcode: escape # escaped-name
  14# EndTable
  15#
  16# mnemonics that begin with lowercase 'v' accept a VEX or EVEX prefix
  17# mnemonics that begin with lowercase 'k' accept a VEX prefix
  18#
  19#<group maps>
  20# GrpTable: GrpXXX
  21# reg:  mnemonic [operand1[,operand2...]] [(extra1)[,(extra2)...] [| 2nd-mnemonic ...]
  22# EndTable
  23#
  24# AVX Superscripts
  25#  (ev): this opcode requires EVEX prefix.
  26#  (evo): this opcode is changed by EVEX prefix (EVEX opcode)
  27#  (v): this opcode requires VEX prefix.
  28#  (v1): this opcode only supports 128bit VEX.
  29#
  30# Last Prefix Superscripts
  31#  - (66): the last prefix is 0x66
  32#  - (F3): the last prefix is 0xF3
  33#  - (F2): the last prefix is 0xF2
  34#  - (!F3) : the last prefix is not 0xF3 (including non-last prefix case)
  35#  - (66&F2): Both 0x66 and 0xF2 prefixes are specified.
  36
  37Table: one byte opcode
  38Referrer:
  39AVXcode:
  40# 0x00 - 0x0f
  4100: ADD Eb,Gb
  4201: ADD Ev,Gv
  4302: ADD Gb,Eb
  4403: ADD Gv,Ev
  4504: ADD AL,Ib
  4605: ADD rAX,Iz
  4706: PUSH ES (i64)
  4807: POP ES (i64)
  4908: OR Eb,Gb
  5009: OR Ev,Gv
  510a: OR Gb,Eb
  520b: OR Gv,Ev
  530c: OR AL,Ib
  540d: OR rAX,Iz
  550e: PUSH CS (i64)
  560f: escape # 2-byte escape
  57# 0x10 - 0x1f
  5810: ADC Eb,Gb
  5911: ADC Ev,Gv
  6012: ADC Gb,Eb
  6113: ADC Gv,Ev
  6214: ADC AL,Ib
  6315: ADC rAX,Iz
  6416: PUSH SS (i64)
  6517: POP SS (i64)
  6618: SBB Eb,Gb
  6719: SBB Ev,Gv
  681a: SBB Gb,Eb
  691b: SBB Gv,Ev
  701c: SBB AL,Ib
  711d: SBB rAX,Iz
  721e: PUSH DS (i64)
  731f: POP DS (i64)
  74# 0x20 - 0x2f
  7520: AND Eb,Gb
  7621: AND Ev,Gv
  7722: AND Gb,Eb
  7823: AND Gv,Ev
  7924: AND AL,Ib
  8025: AND rAx,Iz
  8126: SEG=ES (Prefix)
  8227: DAA (i64)
  8328: SUB Eb,Gb
  8429: SUB Ev,Gv
  852a: SUB Gb,Eb
  862b: SUB Gv,Ev
  872c: SUB AL,Ib
  882d: SUB rAX,Iz
  892e: SEG=CS (Prefix)
  902f: DAS (i64)
  91# 0x30 - 0x3f
  9230: XOR Eb,Gb
  9331: XOR Ev,Gv
  9432: XOR Gb,Eb
  9533: XOR Gv,Ev
  9634: XOR AL,Ib
  9735: XOR rAX,Iz
  9836: SEG=SS (Prefix)
  9937: AAA (i64)
 10038: CMP Eb,Gb
 10139: CMP Ev,Gv
 1023a: CMP Gb,Eb
 1033b: CMP Gv,Ev
 1043c: CMP AL,Ib
 1053d: CMP rAX,Iz
 1063e: SEG=DS (Prefix)
 1073f: AAS (i64)
 108# 0x40 - 0x4f
 10940: INC eAX (i64) | REX (o64)
 11041: INC eCX (i64) | REX.B (o64)
 11142: INC eDX (i64) | REX.X (o64)
 11243: INC eBX (i64) | REX.XB (o64)
 11344: INC eSP (i64) | REX.R (o64)
 11445: INC eBP (i64) | REX.RB (o64)
 11546: INC eSI (i64) | REX.RX (o64)
 11647: INC eDI (i64) | REX.RXB (o64)
 11748: DEC eAX (i64) | REX.W (o64)
 11849: DEC eCX (i64) | REX.WB (o64)
 1194a: DEC eDX (i64) | REX.WX (o64)
 1204b: DEC eBX (i64) | REX.WXB (o64)
 1214c: DEC eSP (i64) | REX.WR (o64)
 1224d: DEC eBP (i64) | REX.WRB (o64)
 1234e: DEC eSI (i64) | REX.WRX (o64)
 1244f: DEC eDI (i64) | REX.WRXB (o64)
 125# 0x50 - 0x5f
 12650: PUSH rAX/r8 (d64)
 12751: PUSH rCX/r9 (d64)
 12852: PUSH rDX/r10 (d64)
 12953: PUSH rBX/r11 (d64)
 13054: PUSH rSP/r12 (d64)
 13155: PUSH rBP/r13 (d64)
 13256: PUSH rSI/r14 (d64)
 13357: PUSH rDI/r15 (d64)
 13458: POP rAX/r8 (d64)
 13559: POP rCX/r9 (d64)
 1365a: POP rDX/r10 (d64)
 1375b: POP rBX/r11 (d64)
 1385c: POP rSP/r12 (d64)
 1395d: POP rBP/r13 (d64)
 1405e: POP rSI/r14 (d64)
 1415f: POP rDI/r15 (d64)
 142# 0x60 - 0x6f
 14360: PUSHA/PUSHAD (i64)
 14461: POPA/POPAD (i64)
 14562: BOUND Gv,Ma (i64) | EVEX (Prefix)
 14663: ARPL Ew,Gw (i64) | MOVSXD Gv,Ev (o64)
 14764: SEG=FS (Prefix)
 14865: SEG=GS (Prefix)
 14966: Operand-Size (Prefix)
 15067: Address-Size (Prefix)
 15168: PUSH Iz (d64)
 15269: IMUL Gv,Ev,Iz
 1536a: PUSH Ib (d64)
 1546b: IMUL Gv,Ev,Ib
 1556c: INS/INSB Yb,DX
 1566d: INS/INSW/INSD Yz,DX
 1576e: OUTS/OUTSB DX,Xb
 1586f: OUTS/OUTSW/OUTSD DX,Xz
 159# 0x70 - 0x7f
 16070: JO Jb
 16171: JNO Jb
 16272: JB/JNAE/JC Jb
 16373: JNB/JAE/JNC Jb
 16474: JZ/JE Jb
 16575: JNZ/JNE Jb
 16676: JBE/JNA Jb
 16777: JNBE/JA Jb
 16878: JS Jb
 16979: JNS Jb
 1707a: JP/JPE Jb
 1717b: JNP/JPO Jb
 1727c: JL/JNGE Jb
 1737d: JNL/JGE Jb
 1747e: JLE/JNG Jb
 1757f: JNLE/JG Jb
 176# 0x80 - 0x8f
 17780: Grp1 Eb,Ib (1A)
 17881: Grp1 Ev,Iz (1A)
 17982: Grp1 Eb,Ib (1A),(i64)
 18083: Grp1 Ev,Ib (1A)
 18184: TEST Eb,Gb
 18285: TEST Ev,Gv
 18386: XCHG Eb,Gb
 18487: XCHG Ev,Gv
 18588: MOV Eb,Gb
 18689: MOV Ev,Gv
 1878a: MOV Gb,Eb
 1888b: MOV Gv,Ev
 1898c: MOV Ev,Sw
 1908d: LEA Gv,M
 1918e: MOV Sw,Ew
 1928f: Grp1A (1A) | POP Ev (d64)
 193# 0x90 - 0x9f
 19490: NOP | PAUSE (F3) | XCHG r8,rAX
 19591: XCHG rCX/r9,rAX
 19692: XCHG rDX/r10,rAX
 19793: XCHG rBX/r11,rAX
 19894: XCHG rSP/r12,rAX
 19995: XCHG rBP/r13,rAX
 20096: XCHG rSI/r14,rAX
 20197: XCHG rDI/r15,rAX
 20298: CBW/CWDE/CDQE
 20399: CWD/CDQ/CQO
 2049a: CALLF Ap (i64)
 2059b: FWAIT/WAIT
 2069c: PUSHF/D/Q Fv (d64)
 2079d: POPF/D/Q Fv (d64)
 2089e: SAHF
 2099f: LAHF
 210# 0xa0 - 0xaf
 211a0: MOV AL,Ob
 212a1: MOV rAX,Ov
 213a2: MOV Ob,AL
 214a3: MOV Ov,rAX
 215a4: MOVS/B Yb,Xb
 216a5: MOVS/W/D/Q Yv,Xv
 217a6: CMPS/B Xb,Yb
 218a7: CMPS/W/D Xv,Yv
 219a8: TEST AL,Ib
 220a9: TEST rAX,Iz
 221aa: STOS/B Yb,AL
 222ab: STOS/W/D/Q Yv,rAX
 223ac: LODS/B AL,Xb
 224ad: LODS/W/D/Q rAX,Xv
 225ae: SCAS/B AL,Yb
 226# Note: The May 2011 Intel manual shows Xv for the second parameter of the
 227# next instruction but Yv is correct
 228af: SCAS/W/D/Q rAX,Yv
 229# 0xb0 - 0xbf
 230b0: MOV AL/R8L,Ib
 231b1: MOV CL/R9L,Ib
 232b2: MOV DL/R10L,Ib
 233b3: MOV BL/R11L,Ib
 234b4: MOV AH/R12L,Ib
 235b5: MOV CH/R13L,Ib
 236b6: MOV DH/R14L,Ib
 237b7: MOV BH/R15L,Ib
 238b8: MOV rAX/r8,Iv
 239b9: MOV rCX/r9,Iv
 240ba: MOV rDX/r10,Iv
 241bb: MOV rBX/r11,Iv
 242bc: MOV rSP/r12,Iv
 243bd: MOV rBP/r13,Iv
 244be: MOV rSI/r14,Iv
 245bf: MOV rDI/r15,Iv
 246# 0xc0 - 0xcf
 247c0: Grp2 Eb,Ib (1A)
 248c1: Grp2 Ev,Ib (1A)
 249c2: RETN Iw (f64)
 250c3: RETN
 251c4: LES Gz,Mp (i64) | VEX+2byte (Prefix)
 252c5: LDS Gz,Mp (i64) | VEX+1byte (Prefix)
 253c6: Grp11A Eb,Ib (1A)
 254c7: Grp11B Ev,Iz (1A)
 255c8: ENTER Iw,Ib
 256c9: LEAVE (d64)
 257ca: RETF Iw
 258cb: RETF
 259cc: INT3
 260cd: INT Ib
 261ce: INTO (i64)
 262cf: IRET/D/Q
 263# 0xd0 - 0xdf
 264d0: Grp2 Eb,1 (1A)
 265d1: Grp2 Ev,1 (1A)
 266d2: Grp2 Eb,CL (1A)
 267d3: Grp2 Ev,CL (1A)
 268d4: AAM Ib (i64)
 269d5: AAD Ib (i64)
 270d6:
 271d7: XLAT/XLATB
 272d8: ESC
 273d9: ESC
 274da: ESC
 275db: ESC
 276dc: ESC
 277dd: ESC
 278de: ESC
 279df: ESC
 280# 0xe0 - 0xef
 281# Note: "forced64" is Intel CPU behavior: they ignore 0x66 prefix
 282# in 64-bit mode. AMD CPUs accept 0x66 prefix, it causes RIP truncation
 283# to 16 bits. In 32-bit mode, 0x66 is accepted by both Intel and AMD.
 284e0: LOOPNE/LOOPNZ Jb (f64)
 285e1: LOOPE/LOOPZ Jb (f64)
 286e2: LOOP Jb (f64)
 287e3: JrCXZ Jb (f64)
 288e4: IN AL,Ib
 289e5: IN eAX,Ib
 290e6: OUT Ib,AL
 291e7: OUT Ib,eAX
 292# With 0x66 prefix in 64-bit mode, for AMD CPUs immediate offset
 293# in "near" jumps and calls is 16-bit. For CALL,
 294# push of return address is 16-bit wide, RSP is decremented by 2
 295# but is not truncated to 16 bits, unlike RIP.
 296e8: CALL Jz (f64)
 297e9: JMP-near Jz (f64)
 298ea: JMP-far Ap (i64)
 299eb: JMP-short Jb (f64)
 300ec: IN AL,DX
 301ed: IN eAX,DX
 302ee: OUT DX,AL
 303ef: OUT DX,eAX
 304# 0xf0 - 0xff
 305f0: LOCK (Prefix)
 306f1:
 307f2: REPNE (Prefix) | XACQUIRE (Prefix)
 308f3: REP/REPE (Prefix) | XRELEASE (Prefix)
 309f4: HLT
 310f5: CMC
 311f6: Grp3_1 Eb (1A)
 312f7: Grp3_2 Ev (1A)
 313f8: CLC
 314f9: STC
 315fa: CLI
 316fb: STI
 317fc: CLD
 318fd: STD
 319fe: Grp4 (1A)
 320ff: Grp5 (1A)
 321EndTable
 322
 323Table: 2-byte opcode (0x0f)
 324Referrer: 2-byte escape
 325AVXcode: 1
 326# 0x0f 0x00-0x0f
 32700: Grp6 (1A)
 32801: Grp7 (1A)
 32902: LAR Gv,Ew
 33003: LSL Gv,Ew
 33104:
 33205: SYSCALL (o64)
 33306: CLTS
 33407: SYSRET (o64)
 33508: INVD
 33609: WBINVD
 3370a:
 3380b: UD2 (1B)
 3390c:
 340# AMD's prefetch group. Intel supports prefetchw(/1) only.
 3410d: GrpP
 3420e: FEMMS
 343# 3DNow! uses the last imm byte as opcode extension.
 3440f: 3DNow! Pq,Qq,Ib
 345# 0x0f 0x10-0x1f
 346# NOTE: According to Intel SDM opcode map, vmovups and vmovupd has no operands
 347# but it actually has operands. And also, vmovss and vmovsd only accept 128bit.
 348# MOVSS/MOVSD has too many forms(3) on SDM. This map just shows a typical form.
 349# Many AVX instructions lack v1 superscript, according to Intel AVX-Prgramming
 350# Reference A.1
 35110: vmovups Vps,Wps | vmovupd Vpd,Wpd (66) | vmovss Vx,Hx,Wss (F3),(v1) | vmovsd Vx,Hx,Wsd (F2),(v1)
 35211: vmovups Wps,Vps | vmovupd Wpd,Vpd (66) | vmovss Wss,Hx,Vss (F3),(v1) | vmovsd Wsd,Hx,Vsd (F2),(v1)
 35312: vmovlps Vq,Hq,Mq (v1) | vmovhlps Vq,Hq,Uq (v1) | vmovlpd Vq,Hq,Mq (66),(v1) | vmovsldup Vx,Wx (F3) | vmovddup Vx,Wx (F2)
 35413: vmovlps Mq,Vq (v1) | vmovlpd Mq,Vq (66),(v1)
 35514: vunpcklps Vx,Hx,Wx | vunpcklpd Vx,Hx,Wx (66)
 35615: vunpckhps Vx,Hx,Wx | vunpckhpd Vx,Hx,Wx (66)
 35716: vmovhps Vdq,Hq,Mq (v1) | vmovlhps Vdq,Hq,Uq (v1) | vmovhpd Vdq,Hq,Mq (66),(v1) | vmovshdup Vx,Wx (F3)
 35817: vmovhps Mq,Vq (v1) | vmovhpd Mq,Vq (66),(v1)
 35918: Grp16 (1A)
 36019:
 361# Intel SDM opcode map does not list MPX instructions. For now using Gv for
 362# bnd registers and Ev for everything else is OK because the instruction
 363# decoder does not use the information except as an indication that there is
 364# a ModR/M byte.
 3651a: BNDCL Gv,Ev (F3) | BNDCU Gv,Ev (F2) | BNDMOV Gv,Ev (66) | BNDLDX Gv,Ev
 3661b: BNDCN Gv,Ev (F2) | BNDMOV Ev,Gv (66) | BNDMK Gv,Ev (F3) | BNDSTX Ev,Gv
 3671c:
 3681d:
 3691e:
 3701f: NOP Ev
 371# 0x0f 0x20-0x2f
 37220: MOV Rd,Cd
 37321: MOV Rd,Dd
 37422: MOV Cd,Rd
 37523: MOV Dd,Rd
 37624:
 37725:
 37826:
 37927:
 38028: vmovaps Vps,Wps | vmovapd Vpd,Wpd (66)
 38129: vmovaps Wps,Vps | vmovapd Wpd,Vpd (66)
 3822a: cvtpi2ps Vps,Qpi | cvtpi2pd Vpd,Qpi (66) | vcvtsi2ss Vss,Hss,Ey (F3),(v1) | vcvtsi2sd Vsd,Hsd,Ey (F2),(v1)
 3832b: vmovntps Mps,Vps | vmovntpd Mpd,Vpd (66)
 3842c: cvttps2pi Ppi,Wps | cvttpd2pi Ppi,Wpd (66) | vcvttss2si Gy,Wss (F3),(v1) | vcvttsd2si Gy,Wsd (F2),(v1)
 3852d: cvtps2pi Ppi,Wps | cvtpd2pi Qpi,Wpd (66) | vcvtss2si Gy,Wss (F3),(v1) | vcvtsd2si Gy,Wsd (F2),(v1)
 3862e: vucomiss Vss,Wss (v1) | vucomisd  Vsd,Wsd (66),(v1)
 3872f: vcomiss Vss,Wss (v1) | vcomisd  Vsd,Wsd (66),(v1)
 388# 0x0f 0x30-0x3f
 38930: WRMSR
 39031: RDTSC
 39132: RDMSR
 39233: RDPMC
 39334: SYSENTER
 39435: SYSEXIT
 39536:
 39637: GETSEC
 39738: escape # 3-byte escape 1
 39839:
 3993a: escape # 3-byte escape 2
 4003b:
 4013c:
 4023d:
 4033e:
 4043f:
 405# 0x0f 0x40-0x4f
 40640: CMOVO Gv,Ev
 40741: CMOVNO Gv,Ev | kandw/q Vk,Hk,Uk | kandb/d Vk,Hk,Uk (66)
 40842: CMOVB/C/NAE Gv,Ev | kandnw/q Vk,Hk,Uk | kandnb/d Vk,Hk,Uk (66)
 40943: CMOVAE/NB/NC Gv,Ev
 41044: CMOVE/Z Gv,Ev | knotw/q Vk,Uk | knotb/d Vk,Uk (66)
 41145: CMOVNE/NZ Gv,Ev | korw/q Vk,Hk,Uk | korb/d Vk,Hk,Uk (66)
 41246: CMOVBE/NA Gv,Ev | kxnorw/q Vk,Hk,Uk | kxnorb/d Vk,Hk,Uk (66)
 41347: CMOVA/NBE Gv,Ev | kxorw/q Vk,Hk,Uk | kxorb/d Vk,Hk,Uk (66)
 41448: CMOVS Gv,Ev
 41549: CMOVNS Gv,Ev
 4164a: CMOVP/PE Gv,Ev | kaddw/q Vk,Hk,Uk | kaddb/d Vk,Hk,Uk (66)
 4174b: CMOVNP/PO Gv,Ev | kunpckbw Vk,Hk,Uk (66) | kunpckwd/dq Vk,Hk,Uk
 4184c: CMOVL/NGE Gv,Ev
 4194d: CMOVNL/GE Gv,Ev
 4204e: CMOVLE/NG Gv,Ev
 4214f: CMOVNLE/G Gv,Ev
 422# 0x0f 0x50-0x5f
 42350: vmovmskps Gy,Ups | vmovmskpd Gy,Upd (66)
 42451: vsqrtps Vps,Wps | vsqrtpd Vpd,Wpd (66) | vsqrtss Vss,Hss,Wss (F3),(v1) | vsqrtsd Vsd,Hsd,Wsd (F2),(v1)
 42552: vrsqrtps Vps,Wps | vrsqrtss Vss,Hss,Wss (F3),(v1)
 42653: vrcpps Vps,Wps | vrcpss Vss,Hss,Wss (F3),(v1)
 42754: vandps Vps,Hps,Wps | vandpd Vpd,Hpd,Wpd (66)
 42855: vandnps Vps,Hps,Wps | vandnpd Vpd,Hpd,Wpd (66)
 42956: vorps Vps,Hps,Wps | vorpd Vpd,Hpd,Wpd (66)
 43057: vxorps Vps,Hps,Wps | vxorpd Vpd,Hpd,Wpd (66)
 43158: vaddps Vps,Hps,Wps | vaddpd Vpd,Hpd,Wpd (66) | vaddss Vss,Hss,Wss (F3),(v1) | vaddsd Vsd,Hsd,Wsd (F2),(v1)
 43259: vmulps Vps,Hps,Wps | vmulpd Vpd,Hpd,Wpd (66) | vmulss Vss,Hss,Wss (F3),(v1) | vmulsd Vsd,Hsd,Wsd (F2),(v1)
 4335a: vcvtps2pd Vpd,Wps | vcvtpd2ps Vps,Wpd (66) | vcvtss2sd Vsd,Hx,Wss (F3),(v1) | vcvtsd2ss Vss,Hx,Wsd (F2),(v1)
 4345b: vcvtdq2ps Vps,Wdq | vcvtqq2ps Vps,Wqq (evo) | vcvtps2dq Vdq,Wps (66) | vcvttps2dq Vdq,Wps (F3)
 4355c: vsubps Vps,Hps,Wps | vsubpd Vpd,Hpd,Wpd (66) | vsubss Vss,Hss,Wss (F3),(v1) | vsubsd Vsd,Hsd,Wsd (F2),(v1)
 4365d: vminps Vps,Hps,Wps | vminpd Vpd,Hpd,Wpd (66) | vminss Vss,Hss,Wss (F3),(v1) | vminsd Vsd,Hsd,Wsd (F2),(v1)
 4375e: vdivps Vps,Hps,Wps | vdivpd Vpd,Hpd,Wpd (66) | vdivss Vss,Hss,Wss (F3),(v1) | vdivsd Vsd,Hsd,Wsd (F2),(v1)
 4385f: vmaxps Vps,Hps,Wps | vmaxpd Vpd,Hpd,Wpd (66) | vmaxss Vss,Hss,Wss (F3),(v1) | vmaxsd Vsd,Hsd,Wsd (F2),(v1)
 439# 0x0f 0x60-0x6f
 44060: punpcklbw Pq,Qd | vpunpcklbw Vx,Hx,Wx (66),(v1)
 44161: punpcklwd Pq,Qd | vpunpcklwd Vx,Hx,Wx (66),(v1)
 44262: punpckldq Pq,Qd | vpunpckldq Vx,Hx,Wx (66),(v1)
 44363: packsswb Pq,Qq | vpacksswb Vx,Hx,Wx (66),(v1)
 44464: pcmpgtb Pq,Qq | vpcmpgtb Vx,Hx,Wx (66),(v1)
 44565: pcmpgtw Pq,Qq | vpcmpgtw Vx,Hx,Wx (66),(v1)
 44666: pcmpgtd Pq,Qq | vpcmpgtd Vx,Hx,Wx (66),(v1)
 44767: packuswb Pq,Qq | vpackuswb Vx,Hx,Wx (66),(v1)
 44868: punpckhbw Pq,Qd | vpunpckhbw Vx,Hx,Wx (66),(v1)
 44969: punpckhwd Pq,Qd | vpunpckhwd Vx,Hx,Wx (66),(v1)
 4506a: punpckhdq Pq,Qd | vpunpckhdq Vx,Hx,Wx (66),(v1)
 4516b: packssdw Pq,Qd | vpackssdw Vx,Hx,Wx (66),(v1)
 4526c: vpunpcklqdq Vx,Hx,Wx (66),(v1)
 4536d: vpunpckhqdq Vx,Hx,Wx (66),(v1)
 4546e: movd/q Pd,Ey | vmovd/q Vy,Ey (66),(v1)
 4556f: movq Pq,Qq | vmovdqa Vx,Wx (66) | vmovdqa32/64 Vx,Wx (66),(evo) | vmovdqu Vx,Wx (F3) | vmovdqu32/64 Vx,Wx (F3),(evo) | vmovdqu8/16 Vx,Wx (F2),(ev)
 456# 0x0f 0x70-0x7f
 45770: pshufw Pq,Qq,Ib | vpshufd Vx,Wx,Ib (66),(v1) | vpshufhw Vx,Wx,Ib (F3),(v1) | vpshuflw Vx,Wx,Ib (F2),(v1)
 45871: Grp12 (1A)
 45972: Grp13 (1A)
 46073: Grp14 (1A)
 46174: pcmpeqb Pq,Qq | vpcmpeqb Vx,Hx,Wx (66),(v1)
 46275: pcmpeqw Pq,Qq | vpcmpeqw Vx,Hx,Wx (66),(v1)
 46376: pcmpeqd Pq,Qq | vpcmpeqd Vx,Hx,Wx (66),(v1)
 464# Note: Remove (v), because vzeroall and vzeroupper becomes emms without VEX.
 46577: emms | vzeroupper | vzeroall
 46678: VMREAD Ey,Gy | vcvttps2udq/pd2udq Vx,Wpd (evo) | vcvttsd2usi Gv,Wx (F2),(ev) | vcvttss2usi Gv,Wx (F3),(ev) | vcvttps2uqq/pd2uqq Vx,Wx (66),(ev)
 46779: VMWRITE Gy,Ey | vcvtps2udq/pd2udq Vx,Wpd (evo) | vcvtsd2usi Gv,Wx (F2),(ev) | vcvtss2usi Gv,Wx (F3),(ev) | vcvtps2uqq/pd2uqq Vx,Wx (66),(ev)
 4687a: vcvtudq2pd/uqq2pd Vpd,Wx (F3),(ev) | vcvtudq2ps/uqq2ps Vpd,Wx (F2),(ev) | vcvttps2qq/pd2qq Vx,Wx (66),(ev)
 4697b: vcvtusi2sd Vpd,Hpd,Ev (F2),(ev) | vcvtusi2ss Vps,Hps,Ev (F3),(ev) | vcvtps2qq/pd2qq Vx,Wx (66),(ev)
 4707c: vhaddpd Vpd,Hpd,Wpd (66) | vhaddps Vps,Hps,Wps (F2)
 4717d: vhsubpd Vpd,Hpd,Wpd (66) | vhsubps Vps,Hps,Wps (F2)
 4727e: movd/q Ey,Pd | vmovd/q Ey,Vy (66),(v1) | vmovq Vq,Wq (F3),(v1)
 4737f: movq Qq,Pq | vmovdqa Wx,Vx (66) | vmovdqa32/64 Wx,Vx (66),(evo) | vmovdqu Wx,Vx (F3) | vmovdqu32/64 Wx,Vx (F3),(evo) | vmovdqu8/16 Wx,Vx (F2),(ev)
 474# 0x0f 0x80-0x8f
 475# Note: "forced64" is Intel CPU behavior (see comment about CALL insn).
 47680: JO Jz (f64)
 47781: JNO Jz (f64)
 47882: JB/JC/JNAE Jz (f64)
 47983: JAE/JNB/JNC Jz (f64)
 48084: JE/JZ Jz (f64)
 48185: JNE/JNZ Jz (f64)
 48286: JBE/JNA Jz (f64)
 48387: JA/JNBE Jz (f64)
 48488: JS Jz (f64)
 48589: JNS Jz (f64)
 4868a: JP/JPE Jz (f64)
 4878b: JNP/JPO Jz (f64)
 4888c: JL/JNGE Jz (f64)
 4898d: JNL/JGE Jz (f64)
 4908e: JLE/JNG Jz (f64)
 4918f: JNLE/JG Jz (f64)
 492# 0x0f 0x90-0x9f
 49390: SETO Eb | kmovw/q Vk,Wk | kmovb/d Vk,Wk (66)
 49491: SETNO Eb | kmovw/q Mv,Vk | kmovb/d Mv,Vk (66)
 49592: SETB/C/NAE Eb | kmovw Vk,Rv | kmovb Vk,Rv (66) | kmovq/d Vk,Rv (F2)
 49693: SETAE/NB/NC Eb | kmovw Gv,Uk | kmovb Gv,Uk (66) | kmovq/d Gv,Uk (F2)
 49794: SETE/Z Eb
 49895: SETNE/NZ Eb
 49996: SETBE/NA Eb
 50097: SETA/NBE Eb
 50198: SETS Eb | kortestw/q Vk,Uk | kortestb/d Vk,Uk (66)
 50299: SETNS Eb | ktestw/q Vk,Uk | ktestb/d Vk,Uk (66)
 5039a: SETP/PE Eb
 5049b: SETNP/PO Eb
 5059c: SETL/NGE Eb
 5069d: SETNL/GE Eb
 5079e: SETLE/NG Eb
 5089f: SETNLE/G Eb
 509# 0x0f 0xa0-0xaf
 510a0: PUSH FS (d64)
 511a1: POP FS (d64)
 512a2: CPUID
 513a3: BT Ev,Gv
 514a4: SHLD Ev,Gv,Ib
 515a5: SHLD Ev,Gv,CL
 516a6: GrpPDLK
 517a7: GrpRNG
 518a8: PUSH GS (d64)
 519a9: POP GS (d64)
 520aa: RSM
 521ab: BTS Ev,Gv
 522ac: SHRD Ev,Gv,Ib
 523ad: SHRD Ev,Gv,CL
 524ae: Grp15 (1A),(1C)
 525af: IMUL Gv,Ev
 526# 0x0f 0xb0-0xbf
 527b0: CMPXCHG Eb,Gb
 528b1: CMPXCHG Ev,Gv
 529b2: LSS Gv,Mp
 530b3: BTR Ev,Gv
 531b4: LFS Gv,Mp
 532b5: LGS Gv,Mp
 533b6: MOVZX Gv,Eb
 534b7: MOVZX Gv,Ew
 535b8: JMPE (!F3) | POPCNT Gv,Ev (F3)
 536b9: Grp10 (1A)
 537ba: Grp8 Ev,Ib (1A)
 538bb: BTC Ev,Gv
 539bc: BSF Gv,Ev (!F3) | TZCNT Gv,Ev (F3)
 540bd: BSR Gv,Ev (!F3) | LZCNT Gv,Ev (F3)
 541be: MOVSX Gv,Eb
 542bf: MOVSX Gv,Ew
 543# 0x0f 0xc0-0xcf
 544c0: XADD Eb,Gb
 545c1: XADD Ev,Gv
 546c2: 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)
 547c3: movnti My,Gy
 548c4: pinsrw Pq,Ry/Mw,Ib | vpinsrw Vdq,Hdq,Ry/Mw,Ib (66),(v1)
 549c5: pextrw Gd,Nq,Ib | vpextrw Gd,Udq,Ib (66),(v1)
 550c6: vshufps Vps,Hps,Wps,Ib | vshufpd Vpd,Hpd,Wpd,Ib (66)
 551c7: Grp9 (1A)
 552c8: BSWAP RAX/EAX/R8/R8D
 553c9: BSWAP RCX/ECX/R9/R9D
 554ca: BSWAP RDX/EDX/R10/R10D
 555cb: BSWAP RBX/EBX/R11/R11D
 556cc: BSWAP RSP/ESP/R12/R12D
 557cd: BSWAP RBP/EBP/R13/R13D
 558ce: BSWAP RSI/ESI/R14/R14D
 559cf: BSWAP RDI/EDI/R15/R15D
 560# 0x0f 0xd0-0xdf
 561d0: vaddsubpd Vpd,Hpd,Wpd (66) | vaddsubps Vps,Hps,Wps (F2)
 562d1: psrlw Pq,Qq | vpsrlw Vx,Hx,Wx (66),(v1)
 563d2: psrld Pq,Qq | vpsrld Vx,Hx,Wx (66),(v1)
 564d3: psrlq Pq,Qq | vpsrlq Vx,Hx,Wx (66),(v1)
 565d4: paddq Pq,Qq | vpaddq Vx,Hx,Wx (66),(v1)
 566d5: pmullw Pq,Qq | vpmullw Vx,Hx,Wx (66),(v1)
 567d6: vmovq Wq,Vq (66),(v1) | movq2dq Vdq,Nq (F3) | movdq2q Pq,Uq (F2)
 568d7: pmovmskb Gd,Nq | vpmovmskb Gd,Ux (66),(v1)
 569d8: psubusb Pq,Qq | vpsubusb Vx,Hx,Wx (66),(v1)
 570d9: psubusw Pq,Qq | vpsubusw Vx,Hx,Wx (66),(v1)
 571da: pminub Pq,Qq | vpminub Vx,Hx,Wx (66),(v1)
 572db: pand Pq,Qq | vpand Vx,Hx,Wx (66),(v1) | vpandd/q Vx,Hx,Wx (66),(evo)
 573dc: paddusb Pq,Qq | vpaddusb Vx,Hx,Wx (66),(v1)
 574dd: paddusw Pq,Qq | vpaddusw Vx,Hx,Wx (66),(v1)
 575de: pmaxub Pq,Qq | vpmaxub Vx,Hx,Wx (66),(v1)
 576df: pandn Pq,Qq | vpandn Vx,Hx,Wx (66),(v1) | vpandnd/q Vx,Hx,Wx (66),(evo)
 577# 0x0f 0xe0-0xef
 578e0: pavgb Pq,Qq | vpavgb Vx,Hx,Wx (66),(v1)
 579e1: psraw Pq,Qq | vpsraw Vx,Hx,Wx (66),(v1)
 580e2: psrad Pq,Qq | vpsrad Vx,Hx,Wx (66),(v1)
 581e3: pavgw Pq,Qq | vpavgw Vx,Hx,Wx (66),(v1)
 582e4: pmulhuw Pq,Qq | vpmulhuw Vx,Hx,Wx (66),(v1)
 583e5: pmulhw Pq,Qq | vpmulhw Vx,Hx,Wx (66),(v1)
 584e6: vcvttpd2dq Vx,Wpd (66) | vcvtdq2pd Vx,Wdq (F3) | vcvtdq2pd/qq2pd Vx,Wdq (F3),(evo) | vcvtpd2dq Vx,Wpd (F2)
 585e7: movntq Mq,Pq | vmovntdq Mx,Vx (66)
 586e8: psubsb Pq,Qq | vpsubsb Vx,Hx,Wx (66),(v1)
 587e9: psubsw Pq,Qq | vpsubsw Vx,Hx,Wx (66),(v1)
 588ea: pminsw Pq,Qq | vpminsw Vx,Hx,Wx (66),(v1)
 589eb: por Pq,Qq | vpor Vx,Hx,Wx (66),(v1) | vpord/q Vx,Hx,Wx (66),(evo)
 590ec: paddsb Pq,Qq | vpaddsb Vx,Hx,Wx (66),(v1)
 591ed: paddsw Pq,Qq | vpaddsw Vx,Hx,Wx (66),(v1)
 592ee: pmaxsw Pq,Qq | vpmaxsw Vx,Hx,Wx (66),(v1)
 593ef: pxor Pq,Qq | vpxor Vx,Hx,Wx (66),(v1) | vpxord/q Vx,Hx,Wx (66),(evo)
 594# 0x0f 0xf0-0xff
 595f0: vlddqu Vx,Mx (F2)
 596f1: psllw Pq,Qq | vpsllw Vx,Hx,Wx (66),(v1)
 597f2: pslld Pq,Qq | vpslld Vx,Hx,Wx (66),(v1)
 598f3: psllq Pq,Qq | vpsllq Vx,Hx,Wx (66),(v1)
 599f4: pmuludq Pq,Qq | vpmuludq Vx,Hx,Wx (66),(v1)
 600f5: pmaddwd Pq,Qq | vpmaddwd Vx,Hx,Wx (66),(v1)
 601f6: psadbw Pq,Qq | vpsadbw Vx,Hx,Wx (66),(v1)
 602f7: maskmovq Pq,Nq | vmaskmovdqu Vx,Ux (66),(v1)
 603f8: psubb Pq,Qq | vpsubb Vx,Hx,Wx (66),(v1)
 604f9: psubw Pq,Qq | vpsubw Vx,Hx,Wx (66),(v1)
 605fa: psubd Pq,Qq | vpsubd Vx,Hx,Wx (66),(v1)
 606fb: psubq Pq,Qq | vpsubq Vx,Hx,Wx (66),(v1)
 607fc: paddb Pq,Qq | vpaddb Vx,Hx,Wx (66),(v1)
 608fd: paddw Pq,Qq | vpaddw Vx,Hx,Wx (66),(v1)
 609fe: paddd Pq,Qq | vpaddd Vx,Hx,Wx (66),(v1)
 610ff: UD0
 611EndTable
 612
 613Table: 3-byte opcode 1 (0x0f 0x38)
 614Referrer: 3-byte escape 1
 615AVXcode: 2
 616# 0x0f 0x38 0x00-0x0f
 61700: pshufb Pq,Qq | vpshufb Vx,Hx,Wx (66),(v1)
 61801: phaddw Pq,Qq | vphaddw Vx,Hx,Wx (66),(v1)
 61902: phaddd Pq,Qq | vphaddd Vx,Hx,Wx (66),(v1)
 62003: phaddsw Pq,Qq | vphaddsw Vx,Hx,Wx (66),(v1)
 62104: pmaddubsw Pq,Qq | vpmaddubsw Vx,Hx,Wx (66),(v1)
 62205: phsubw Pq,Qq | vphsubw Vx,Hx,Wx (66),(v1)
 62306: phsubd Pq,Qq | vphsubd Vx,Hx,Wx (66),(v1)
 62407: phsubsw Pq,Qq | vphsubsw Vx,Hx,Wx (66),(v1)
 62508: psignb Pq,Qq | vpsignb Vx,Hx,Wx (66),(v1)
 62609: psignw Pq,Qq | vpsignw Vx,Hx,Wx (66),(v1)
 6270a: psignd Pq,Qq | vpsignd Vx,Hx,Wx (66),(v1)
 6280b: pmulhrsw Pq,Qq | vpmulhrsw Vx,Hx,Wx (66),(v1)
 6290c: vpermilps Vx,Hx,Wx (66),(v)
 6300d: vpermilpd Vx,Hx,Wx (66),(v)
 6310e: vtestps Vx,Wx (66),(v)
 6320f: vtestpd Vx,Wx (66),(v)
 633# 0x0f 0x38 0x10-0x1f
 63410: pblendvb Vdq,Wdq (66) | vpsrlvw Vx,Hx,Wx (66),(evo) | vpmovuswb Wx,Vx (F3),(ev)
 63511: vpmovusdb Wx,Vd (F3),(ev) | vpsravw Vx,Hx,Wx (66),(ev)
 63612: vpmovusqb Wx,Vq (F3),(ev) | vpsllvw Vx,Hx,Wx (66),(ev)
 63713: vcvtph2ps Vx,Wx (66),(v) | vpmovusdw Wx,Vd (F3),(ev)
 63814: blendvps Vdq,Wdq (66) | vpmovusqw Wx,Vq (F3),(ev) | vprorvd/q Vx,Hx,Wx (66),(evo)
 63915: blendvpd Vdq,Wdq (66) | vpmovusqd Wx,Vq (F3),(ev) | vprolvd/q Vx,Hx,Wx (66),(evo)
 64016: vpermps Vqq,Hqq,Wqq (66),(v) | vpermps/d Vqq,Hqq,Wqq (66),(evo)
 64117: vptest Vx,Wx (66)
 64218: vbroadcastss Vx,Wd (66),(v)
 64319: vbroadcastsd Vqq,Wq (66),(v) | vbroadcastf32x2 Vqq,Wq (66),(evo)
 6441a: vbroadcastf128 Vqq,Mdq (66),(v) | vbroadcastf32x4/64x2 Vqq,Wq (66),(evo)
 6451b: vbroadcastf32x8/64x4 Vqq,Mdq (66),(ev)
 6461c: pabsb Pq,Qq | vpabsb Vx,Wx (66),(v1)
 6471d: pabsw Pq,Qq | vpabsw Vx,Wx (66),(v1)
 6481e: pabsd Pq,Qq | vpabsd Vx,Wx (66),(v1)
 6491f: vpabsq Vx,Wx (66),(ev)
 650# 0x0f 0x38 0x20-0x2f
 65120: vpmovsxbw Vx,Ux/Mq (66),(v1) | vpmovswb Wx,Vx (F3),(ev)
 65221: vpmovsxbd Vx,Ux/Md (66),(v1) | vpmovsdb Wx,Vd (F3),(ev)
 65322: vpmovsxbq Vx,Ux/Mw (66),(v1) | vpmovsqb Wx,Vq (F3),(ev)
 65423: vpmovsxwd Vx,Ux/Mq (66),(v1) | vpmovsdw Wx,Vd (F3),(ev)
 65524: vpmovsxwq Vx,Ux/Md (66),(v1) | vpmovsqw Wx,Vq (F3),(ev)
 65625: vpmovsxdq Vx,Ux/Mq (66),(v1) | vpmovsqd Wx,Vq (F3),(ev)
 65726: vptestmb/w Vk,Hx,Wx (66),(ev) | vptestnmb/w Vk,Hx,Wx (F3),(ev)
 65827: vptestmd/q Vk,Hx,Wx (66),(ev) | vptestnmd/q Vk,Hx,Wx (F3),(ev)
 65928: vpmuldq Vx,Hx,Wx (66),(v1) | vpmovm2b/w Vx,Uk (F3),(ev)
 66029: vpcmpeqq Vx,Hx,Wx (66),(v1) | vpmovb2m/w2m Vk,Ux (F3),(ev)
 6612a: vmovntdqa Vx,Mx (66),(v1) | vpbroadcastmb2q Vx,Uk (F3),(ev)
 6622b: vpackusdw Vx,Hx,Wx (66),(v1)
 6632c: vmaskmovps Vx,Hx,Mx (66),(v) | vscalefps/d Vx,Hx,Wx (66),(evo)
 6642d: vmaskmovpd Vx,Hx,Mx (66),(v) | vscalefss/d Vx,Hx,Wx (66),(evo)
 6652e: vmaskmovps Mx,Hx,Vx (66),(v)
 6662f: vmaskmovpd Mx,Hx,Vx (66),(v)
 667# 0x0f 0x38 0x30-0x3f
 66830: vpmovzxbw Vx,Ux/Mq (66),(v1) | vpmovwb Wx,Vx (F3),(ev)
 66931: vpmovzxbd Vx,Ux/Md (66),(v1) | vpmovdb Wx,Vd (F3),(ev)
 67032: vpmovzxbq Vx,Ux/Mw (66),(v1) | vpmovqb Wx,Vq (F3),(ev)
 67133: vpmovzxwd Vx,Ux/Mq (66),(v1) | vpmovdw Wx,Vd (F3),(ev)
 67234: vpmovzxwq Vx,Ux/Md (66),(v1) | vpmovqw Wx,Vq (F3),(ev)
 67335: vpmovzxdq Vx,Ux/Mq (66),(v1) | vpmovqd Wx,Vq (F3),(ev)
 67436: vpermd Vqq,Hqq,Wqq (66),(v) | vpermd/q Vqq,Hqq,Wqq (66),(evo)
 67537: vpcmpgtq Vx,Hx,Wx (66),(v1)
 67638: vpminsb Vx,Hx,Wx (66),(v1) | vpmovm2d/q Vx,Uk (F3),(ev)
 67739: vpminsd Vx,Hx,Wx (66),(v1) | vpminsd/q Vx,Hx,Wx (66),(evo) | vpmovd2m/q2m Vk,Ux (F3),(ev)
 6783a: vpminuw Vx,Hx,Wx (66),(v1) | vpbroadcastmw2d Vx,Uk (F3),(ev)
 6793b: vpminud Vx,Hx,Wx (66),(v1) | vpminud/q Vx,Hx,Wx (66),(evo)
 6803c: vpmaxsb Vx,Hx,Wx (66),(v1)
 6813d: vpmaxsd Vx,Hx,Wx (66),(v1) | vpmaxsd/q Vx,Hx,Wx (66),(evo)
 6823e: vpmaxuw Vx,Hx,Wx (66),(v1)
 6833f: vpmaxud Vx,Hx,Wx (66),(v1) | vpmaxud/q Vx,Hx,Wx (66),(evo)
 684# 0x0f 0x38 0x40-0x8f
 68540: vpmulld Vx,Hx,Wx (66),(v1) | vpmulld/q Vx,Hx,Wx (66),(evo)
 68641: vphminposuw Vdq,Wdq (66),(v1)
 68742: vgetexpps/d Vx,Wx (66),(ev)
 68843: vgetexpss/d Vx,Hx,Wx (66),(ev)
 68944: vplzcntd/q Vx,Wx (66),(ev)
 69045: vpsrlvd/q Vx,Hx,Wx (66),(v)
 69146: vpsravd Vx,Hx,Wx (66),(v) | vpsravd/q Vx,Hx,Wx (66),(evo)
 69247: vpsllvd/q Vx,Hx,Wx (66),(v)
 693# Skip 0x48-0x4b
 6944c: vrcp14ps/d Vpd,Wpd (66),(ev)
 6954d: vrcp14ss/d Vsd,Hpd,Wsd (66),(ev)
 6964e: vrsqrt14ps/d Vpd,Wpd (66),(ev)
 6974f: vrsqrt14ss/d Vsd,Hsd,Wsd (66),(ev)
 698# Skip 0x50-0x57
 69958: vpbroadcastd Vx,Wx (66),(v)
 70059: vpbroadcastq Vx,Wx (66),(v) | vbroadcasti32x2 Vx,Wx (66),(evo)
 7015a: vbroadcasti128 Vqq,Mdq (66),(v) | vbroadcasti32x4/64x2 Vx,Wx (66),(evo)
 7025b: vbroadcasti32x8/64x4 Vqq,Mdq (66),(ev)
 703# Skip 0x5c-0x63
 70464: vpblendmd/q Vx,Hx,Wx (66),(ev)
 70565: vblendmps/d Vx,Hx,Wx (66),(ev)
 70666: vpblendmb/w Vx,Hx,Wx (66),(ev)
 707# Skip 0x67-0x74
 70875: vpermi2b/w Vx,Hx,Wx (66),(ev)
 70976: vpermi2d/q Vx,Hx,Wx (66),(ev)
 71077: vpermi2ps/d Vx,Hx,Wx (66),(ev)
 71178: vpbroadcastb Vx,Wx (66),(v)
 71279: vpbroadcastw Vx,Wx (66),(v)
 7137a: vpbroadcastb Vx,Rv (66),(ev)
 7147b: vpbroadcastw Vx,Rv (66),(ev)
 7157c: vpbroadcastd/q Vx,Rv (66),(ev)
 7167d: vpermt2b/w Vx,Hx,Wx (66),(ev)
 7177e: vpermt2d/q Vx,Hx,Wx (66),(ev)
 7187f: vpermt2ps/d Vx,Hx,Wx (66),(ev)
 71980: INVEPT Gy,Mdq (66)
 72081: INVVPID Gy,Mdq (66)
 72182: INVPCID Gy,Mdq (66)
 72283: vpmultishiftqb Vx,Hx,Wx (66),(ev)
 72388: vexpandps/d Vpd,Wpd (66),(ev)
 72489: vpexpandd/q Vx,Wx (66),(ev)
 7258a: vcompressps/d Wx,Vx (66),(ev)
 7268b: vpcompressd/q Wx,Vx (66),(ev)
 7278c: vpmaskmovd/q Vx,Hx,Mx (66),(v)
 7288d: vpermb/w Vx,Hx,Wx (66),(ev)
 7298e: vpmaskmovd/q Mx,Vx,Hx (66),(v)
 730# 0x0f 0x38 0x90-0xbf (FMA)
 73190: vgatherdd/q Vx,Hx,Wx (66),(v) | vpgatherdd/q Vx,Wx (66),(evo)
 73291: vgatherqd/q Vx,Hx,Wx (66),(v) | vpgatherqd/q Vx,Wx (66),(evo)
 73392: vgatherdps/d Vx,Hx,Wx (66),(v)
 73493: vgatherqps/d Vx,Hx,Wx (66),(v)
 73594:
 73695:
 73796: vfmaddsub132ps/d Vx,Hx,Wx (66),(v)
 73897: vfmsubadd132ps/d Vx,Hx,Wx (66),(v)
 73998: vfmadd132ps/d Vx,Hx,Wx (66),(v)
 74099: vfmadd132ss/d Vx,Hx,Wx (66),(v),(v1)
 7419a: vfmsub132ps/d Vx,Hx,Wx (66),(v)
 7429b: vfmsub132ss/d Vx,Hx,Wx (66),(v),(v1)
 7439c: vfnmadd132ps/d Vx,Hx,Wx (66),(v)
 7449d: vfnmadd132ss/d Vx,Hx,Wx (66),(v),(v1)
 7459e: vfnmsub132ps/d Vx,Hx,Wx (66),(v)
 7469f: vfnmsub132ss/d Vx,Hx,Wx (66),(v),(v1)
 747a0: vpscatterdd/q Wx,Vx (66),(ev)
 748a1: vpscatterqd/q Wx,Vx (66),(ev)
 749a2: vscatterdps/d Wx,Vx (66),(ev)
 750a3: vscatterqps/d Wx,Vx (66),(ev)
 751a6: vfmaddsub213ps/d Vx,Hx,Wx (66),(v)
 752a7: vfmsubadd213ps/d Vx,Hx,Wx (66),(v)
 753a8: vfmadd213ps/d Vx,Hx,Wx (66),(v)
 754a9: vfmadd213ss/d Vx,Hx,Wx (66),(v),(v1)
 755aa: vfmsub213ps/d Vx,Hx,Wx (66),(v)
 756ab: vfmsub213ss/d Vx,Hx,Wx (66),(v),(v1)
 757ac: vfnmadd213ps/d Vx,Hx,Wx (66),(v)
 758ad: vfnmadd213ss/d Vx,Hx,Wx (66),(v),(v1)
 759ae: vfnmsub213ps/d Vx,Hx,Wx (66),(v)
 760af: vfnmsub213ss/d Vx,Hx,Wx (66),(v),(v1)
 761b4: vpmadd52luq Vx,Hx,Wx (66),(ev)
 762b5: vpmadd52huq Vx,Hx,Wx (66),(ev)
 763b6: vfmaddsub231ps/d Vx,Hx,Wx (66),(v)
 764b7: vfmsubadd231ps/d Vx,Hx,Wx (66),(v)
 765b8: vfmadd231ps/d Vx,Hx,Wx (66),(v)
 766b9: vfmadd231ss/d Vx,Hx,Wx (66),(v),(v1)
 767ba: vfmsub231ps/d Vx,Hx,Wx (66),(v)
 768bb: vfmsub231ss/d Vx,Hx,Wx (66),(v),(v1)
 769bc: vfnmadd231ps/d Vx,Hx,Wx (66),(v)
 770bd: vfnmadd231ss/d Vx,Hx,Wx (66),(v),(v1)
 771be: vfnmsub231ps/d Vx,Hx,Wx (66),(v)
 772bf: vfnmsub231ss/d Vx,Hx,Wx (66),(v),(v1)
 773# 0x0f 0x38 0xc0-0xff
 774c4: vpconflictd/q Vx,Wx (66),(ev)
 775c6: Grp18 (1A)
 776c7: Grp19 (1A)
 777c8: sha1nexte Vdq,Wdq | vexp2ps/d Vx,Wx (66),(ev)
 778c9: sha1msg1 Vdq,Wdq
 779ca: sha1msg2 Vdq,Wdq | vrcp28ps/d Vx,Wx (66),(ev)
 780cb: sha256rnds2 Vdq,Wdq | vrcp28ss/d Vx,Hx,Wx (66),(ev)
 781cc: sha256msg1 Vdq,Wdq | vrsqrt28ps/d Vx,Wx (66),(ev)
 782cd: sha256msg2 Vdq,Wdq | vrsqrt28ss/d Vx,Hx,Wx (66),(ev)
 783db: VAESIMC Vdq,Wdq (66),(v1)
 784dc: VAESENC Vdq,Hdq,Wdq (66),(v1)
 785dd: VAESENCLAST Vdq,Hdq,Wdq (66),(v1)
 786de: VAESDEC Vdq,Hdq,Wdq (66),(v1)
 787df: VAESDECLAST Vdq,Hdq,Wdq (66),(v1)
 788f0: MOVBE Gy,My | MOVBE Gw,Mw (66) | CRC32 Gd,Eb (F2) | CRC32 Gd,Eb (66&F2)
 789f1: MOVBE My,Gy | MOVBE Mw,Gw (66) | CRC32 Gd,Ey (F2) | CRC32 Gd,Ew (66&F2)
 790f2: ANDN Gy,By,Ey (v)
 791f3: Grp17 (1A)
 792f5: BZHI Gy,Ey,By (v) | PEXT Gy,By,Ey (F3),(v) | PDEP Gy,By,Ey (F2),(v)
 793f6: ADCX Gy,Ey (66) | ADOX Gy,Ey (F3) | MULX By,Gy,rDX,Ey (F2),(v)
 794f7: BEXTR Gy,Ey,By (v) | SHLX Gy,Ey,By (66),(v) | SARX Gy,Ey,By (F3),(v) | SHRX Gy,Ey,By (F2),(v)
 795EndTable
 796
 797Table: 3-byte opcode 2 (0x0f 0x3a)
 798Referrer: 3-byte escape 2
 799AVXcode: 3
 800# 0x0f 0x3a 0x00-0xff
 80100: vpermq Vqq,Wqq,Ib (66),(v)
 80201: vpermpd Vqq,Wqq,Ib (66),(v)
 80302: vpblendd Vx,Hx,Wx,Ib (66),(v)
 80403: valignd/q Vx,Hx,Wx,Ib (66),(ev)
 80504: vpermilps Vx,Wx,Ib (66),(v)
 80605: vpermilpd Vx,Wx,Ib (66),(v)
 80706: vperm2f128 Vqq,Hqq,Wqq,Ib (66),(v)
 80807:
 80908: vroundps Vx,Wx,Ib (66) | vrndscaleps Vx,Wx,Ib (66),(evo)
 81009: vroundpd Vx,Wx,Ib (66) | vrndscalepd Vx,Wx,Ib (66),(evo)
 8110a: vroundss Vss,Wss,Ib (66),(v1) | vrndscaless Vx,Hx,Wx,Ib (66),(evo)
 8120b: vroundsd Vsd,Wsd,Ib (66),(v1) | vrndscalesd Vx,Hx,Wx,Ib (66),(evo)
 8130c: vblendps Vx,Hx,Wx,Ib (66)
 8140d: vblendpd Vx,Hx,Wx,Ib (66)
 8150e: vpblendw Vx,Hx,Wx,Ib (66),(v1)
 8160f: palignr Pq,Qq,Ib | vpalignr Vx,Hx,Wx,Ib (66),(v1)
 81714: vpextrb Rd/Mb,Vdq,Ib (66),(v1)
 81815: vpextrw Rd/Mw,Vdq,Ib (66),(v1)
 81916: vpextrd/q Ey,Vdq,Ib (66),(v1)
 82017: vextractps Ed,Vdq,Ib (66),(v1)
 82118: vinsertf128 Vqq,Hqq,Wqq,Ib (66),(v) | vinsertf32x4/64x2 Vqq,Hqq,Wqq,Ib (66),(evo)
 82219: vextractf128 Wdq,Vqq,Ib (66),(v) | vextractf32x4/64x2 Wdq,Vqq,Ib (66),(evo)
 8231a: vinsertf32x8/64x4 Vqq,Hqq,Wqq,Ib (66),(ev)
 8241b: vextractf32x8/64x4 Wdq,Vqq,Ib (66),(ev)
 8251d: vcvtps2ph Wx,Vx,Ib (66),(v)
 8261e: vpcmpud/q Vk,Hd,Wd,Ib (66),(ev)
 8271f: vpcmpd/q Vk,Hd,Wd,Ib (66),(ev)
 82820: vpinsrb Vdq,Hdq,Ry/Mb,Ib (66),(v1)
 82921: vinsertps Vdq,Hdq,Udq/Md,Ib (66),(v1)
 83022: vpinsrd/q Vdq,Hdq,Ey,Ib (66),(v1)
 83123: vshuff32x4/64x2 Vx,Hx,Wx,Ib (66),(ev)
 83225: vpternlogd/q Vx,Hx,Wx,Ib (66),(ev)
 83326: vgetmantps/d Vx,Wx,Ib (66),(ev)
 83427: vgetmantss/d Vx,Hx,Wx,Ib (66),(ev)
 83530: kshiftrb/w Vk,Uk,Ib (66),(v)
 83631: kshiftrd/q Vk,Uk,Ib (66),(v)
 83732: kshiftlb/w Vk,Uk,Ib (66),(v)
 83833: kshiftld/q Vk,Uk,Ib (66),(v)
 83938: vinserti128 Vqq,Hqq,Wqq,Ib (66),(v) | vinserti32x4/64x2 Vqq,Hqq,Wqq,Ib (66),(evo)
 84039: vextracti128 Wdq,Vqq,Ib (66),(v) | vextracti32x4/64x2 Wdq,Vqq,Ib (66),(evo)
 8413a: vinserti32x8/64x4 Vqq,Hqq,Wqq,Ib (66),(ev)
 8423b: vextracti32x8/64x4 Wdq,Vqq,Ib (66),(ev)
 8433e: vpcmpub/w Vk,Hk,Wx,Ib (66),(ev)
 8443f: vpcmpb/w Vk,Hk,Wx,Ib (66),(ev)
 84540: vdpps Vx,Hx,Wx,Ib (66)
 84641: vdppd Vdq,Hdq,Wdq,Ib (66),(v1)
 84742: vmpsadbw Vx,Hx,Wx,Ib (66),(v1) | vdbpsadbw Vx,Hx,Wx,Ib (66),(evo)
 84843: vshufi32x4/64x2 Vx,Hx,Wx,Ib (66),(ev)
 84944: vpclmulqdq Vdq,Hdq,Wdq,Ib (66),(v1)
 85046: vperm2i128 Vqq,Hqq,Wqq,Ib (66),(v)
 8514a: vblendvps Vx,Hx,Wx,Lx (66),(v)
 8524b: vblendvpd Vx,Hx,Wx,Lx (66),(v)
 8534c: vpblendvb Vx,Hx,Wx,Lx (66),(v1)
 85450: vrangeps/d Vx,Hx,Wx,Ib (66),(ev)
 85551: vrangess/d Vx,Hx,Wx,Ib (66),(ev)
 85654: vfixupimmps/d Vx,Hx,Wx,Ib (66),(ev)
 85755: vfixupimmss/d Vx,Hx,Wx,Ib (66),(ev)
 85856: vreduceps/d Vx,Wx,Ib (66),(ev)
 85957: vreducess/d Vx,Hx,Wx,Ib (66),(ev)
 86060: vpcmpestrm Vdq,Wdq,Ib (66),(v1)
 86161: vpcmpestri Vdq,Wdq,Ib (66),(v1)
 86262: vpcmpistrm Vdq,Wdq,Ib (66),(v1)
 86363: vpcmpistri Vdq,Wdq,Ib (66),(v1)
 86466: vfpclassps/d Vk,Wx,Ib (66),(ev)
 86567: vfpclassss/d Vk,Wx,Ib (66),(ev)
 866cc: sha1rnds4 Vdq,Wdq,Ib
 867df: VAESKEYGEN Vdq,Wdq,Ib (66),(v1)
 868f0: RORX Gy,Ey,Ib (F2),(v)
 869EndTable
 870
 871GrpTable: Grp1
 8720: ADD
 8731: OR
 8742: ADC
 8753: SBB
 8764: AND
 8775: SUB
 8786: XOR
 8797: CMP
 880EndTable
 881
 882GrpTable: Grp1A
 8830: POP
 884EndTable
 885
 886GrpTable: Grp2
 8870: ROL
 8881: ROR
 8892: RCL
 8903: RCR
 8914: SHL/SAL
 8925: SHR
 8936:
 8947: SAR
 895EndTable
 896
 897GrpTable: Grp3_1
 8980: TEST Eb,Ib
 8991: TEST Eb,Ib
 9002: NOT Eb
 9013: NEG Eb
 9024: MUL AL,Eb
 9035: IMUL AL,Eb
 9046: DIV AL,Eb
 9057: IDIV AL,Eb
 906EndTable
 907
 908GrpTable: Grp3_2
 9090: TEST Ev,Iz
 9101:
 9112: NOT Ev
 9123: NEG Ev
 9134: MUL rAX,Ev
 9145: IMUL rAX,Ev
 9156: DIV rAX,Ev
 9167: IDIV rAX,Ev
 917EndTable
 918
 919GrpTable: Grp4
 9200: INC Eb
 9211: DEC Eb
 922EndTable
 923
 924GrpTable: Grp5
 9250: INC Ev
 9261: DEC Ev
 927# Note: "forced64" is Intel CPU behavior (see comment about CALL insn).
 9282: CALLN Ev (f64)
 9293: CALLF Ep
 9304: JMPN Ev (f64)
 9315: JMPF Mp
 9326: PUSH Ev (d64)
 9337:
 934EndTable
 935
 936GrpTable: Grp6
 9370: SLDT Rv/Mw
 9381: STR Rv/Mw
 9392: LLDT Ew
 9403: LTR Ew
 9414: VERR Ew
 9425: VERW Ew
 943EndTable
 944
 945GrpTable: Grp7
 9460: SGDT Ms | VMCALL (001),(11B) | VMLAUNCH (010),(11B) | VMRESUME (011),(11B) | VMXOFF (100),(11B)
 9471: SIDT Ms | MONITOR (000),(11B) | MWAIT (001),(11B) | CLAC (010),(11B) | STAC (011),(11B)
 9482: LGDT Ms | XGETBV (000),(11B) | XSETBV (001),(11B) | VMFUNC (100),(11B) | XEND (101)(11B) | XTEST (110)(11B)
 9493: LIDT Ms
 9504: SMSW Mw/Rv
 9515: rdpkru (110),(11B) | wrpkru (111),(11B)
 9526: LMSW Ew
 9537: INVLPG Mb | SWAPGS (o64),(000),(11B) | RDTSCP (001),(11B)
 954EndTable
 955
 956GrpTable: Grp8
 9574: BT
 9585: BTS
 9596: BTR
 9607: BTC
 961EndTable
 962
 963GrpTable: Grp9
 9641: CMPXCHG8B/16B Mq/Mdq
 9653: xrstors
 9664: xsavec
 9675: xsaves
 9686: VMPTRLD Mq | VMCLEAR Mq (66) | VMXON Mq (F3) | RDRAND Rv (11B)
 9697: VMPTRST Mq | VMPTRST Mq (F3) | RDSEED Rv (11B)
 970EndTable
 971
 972GrpTable: Grp10
 973# all are UD1
 9740: UD1
 9751: UD1
 9762: UD1
 9773: UD1
 9784: UD1
 9795: UD1
 9806: UD1
 9817: UD1
 982EndTable
 983
 984# Grp11A and Grp11B are expressed as Grp11 in Intel SDM
 985GrpTable: Grp11A
 9860: MOV Eb,Ib
 9877: XABORT Ib (000),(11B)
 988EndTable
 989
 990GrpTable: Grp11B
 9910: MOV Eb,Iz
 9927: XBEGIN Jz (000),(11B)
 993EndTable
 994
 995GrpTable: Grp12
 9962: psrlw Nq,Ib (11B) | vpsrlw Hx,Ux,Ib (66),(11B),(v1)
 9974: psraw Nq,Ib (11B) | vpsraw Hx,Ux,Ib (66),(11B),(v1)
 9986: psllw Nq,Ib (11B) | vpsllw Hx,Ux,Ib (66),(11B),(v1)
 999EndTable
1000
1001GrpTable: Grp13
10020: vprord/q Hx,Wx,Ib (66),(ev)
10031: vprold/q Hx,Wx,Ib (66),(ev)
10042: psrld Nq,Ib (11B) | vpsrld Hx,Ux,Ib (66),(11B),(v1)
10054: psrad Nq,Ib (11B) | vpsrad Hx,Ux,Ib (66),(11B),(v1) | vpsrad/q Hx,Ux,Ib (66),(evo)
10066: pslld Nq,Ib (11B) | vpslld Hx,Ux,Ib (66),(11B),(v1)
1007EndTable
1008
1009GrpTable: Grp14
10102: psrlq Nq,Ib (11B) | vpsrlq Hx,Ux,Ib (66),(11B),(v1)
10113: vpsrldq Hx,Ux,Ib (66),(11B),(v1)
10126: psllq Nq,Ib (11B) | vpsllq Hx,Ux,Ib (66),(11B),(v1)
10137: vpslldq Hx,Ux,Ib (66),(11B),(v1)
1014EndTable
1015
1016GrpTable: Grp15
10170: fxsave | RDFSBASE Ry (F3),(11B)
10181: fxstor | RDGSBASE Ry (F3),(11B)
10192: vldmxcsr Md (v1) | WRFSBASE Ry (F3),(11B)
10203: vstmxcsr Md (v1) | WRGSBASE Ry (F3),(11B)
10214: XSAVE | ptwrite Ey (F3),(11B)
10225: XRSTOR | lfence (11B)
10236: XSAVEOPT | clwb (66) | mfence (11B)
10247: clflush | clflushopt (66) | sfence (11B)
1025EndTable
1026
1027GrpTable: Grp16
10280: prefetch NTA
10291: prefetch T0
10302: prefetch T1
10313: prefetch T2
1032EndTable
1033
1034GrpTable: Grp17
10351: BLSR By,Ey (v)
10362: BLSMSK By,Ey (v)
10373: BLSI By,Ey (v)
1038EndTable
1039
1040GrpTable: Grp18
10411: vgatherpf0dps/d Wx (66),(ev)
10422: vgatherpf1dps/d Wx (66),(ev)
10435: vscatterpf0dps/d Wx (66),(ev)
10446: vscatterpf1dps/d Wx (66),(ev)
1045EndTable
1046
1047GrpTable: Grp19
10481: vgatherpf0qps/d Wx (66),(ev)
10492: vgatherpf1qps/d Wx (66),(ev)
10505: vscatterpf0qps/d Wx (66),(ev)
10516: vscatterpf1qps/d Wx (66),(ev)
1052EndTable
1053
1054# AMD's Prefetch Group
1055GrpTable: GrpP
10560: PREFETCH
10571: PREFETCHW
1058EndTable
1059
1060GrpTable: GrpPDLK
10610: MONTMUL
10621: XSHA1
10632: XSHA2
1064EndTable
1065
1066GrpTable: GrpRNG
10670: xstore-rng
10681: xcrypt-ecb
10692: xcrypt-cbc
10704: xcrypt-cfb
10715: xcrypt-ofb
1072EndTable
1073