xref: /linux/tools/arch/x86/lib/x86-opcode-map.txt (revision 36ec807b627b4c0a0a382f0ae48eac7187d14b2b)
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#  (es): this opcode requires EVEX prefix and is SCALABALE.
27#  (evo): this opcode is changed by EVEX prefix (EVEX opcode)
28#  (v): this opcode requires VEX prefix.
29#  (v1): this opcode only supports 128bit VEX.
30#
31# Last Prefix Superscripts
32#  - (66): the last prefix is 0x66
33#  - (F3): the last prefix is 0xF3
34#  - (F2): the last prefix is 0xF2
35#  - (!F3) : the last prefix is not 0xF3 (including non-last prefix case)
36#  - (66&F2): Both 0x66 and 0xF2 prefixes are specified.
37#
38# REX2 Prefix
39#  - (!REX2): REX2 is not allowed
40#  - (REX2): REX2 variant e.g. JMPABS
41
42Table: one byte opcode
43Referrer:
44AVXcode:
45# 0x00 - 0x0f
4600: ADD Eb,Gb
4701: ADD Ev,Gv
4802: ADD Gb,Eb
4903: ADD Gv,Ev
5004: ADD AL,Ib
5105: ADD rAX,Iz
5206: PUSH ES (i64)
5307: POP ES (i64)
5408: OR Eb,Gb
5509: OR Ev,Gv
560a: OR Gb,Eb
570b: OR Gv,Ev
580c: OR AL,Ib
590d: OR rAX,Iz
600e: PUSH CS (i64)
610f: escape # 2-byte escape
62# 0x10 - 0x1f
6310: ADC Eb,Gb
6411: ADC Ev,Gv
6512: ADC Gb,Eb
6613: ADC Gv,Ev
6714: ADC AL,Ib
6815: ADC rAX,Iz
6916: PUSH SS (i64)
7017: POP SS (i64)
7118: SBB Eb,Gb
7219: SBB Ev,Gv
731a: SBB Gb,Eb
741b: SBB Gv,Ev
751c: SBB AL,Ib
761d: SBB rAX,Iz
771e: PUSH DS (i64)
781f: POP DS (i64)
79# 0x20 - 0x2f
8020: AND Eb,Gb
8121: AND Ev,Gv
8222: AND Gb,Eb
8323: AND Gv,Ev
8424: AND AL,Ib
8525: AND rAx,Iz
8626: SEG=ES (Prefix)
8727: DAA (i64)
8828: SUB Eb,Gb
8929: SUB Ev,Gv
902a: SUB Gb,Eb
912b: SUB Gv,Ev
922c: SUB AL,Ib
932d: SUB rAX,Iz
942e: SEG=CS (Prefix)
952f: DAS (i64)
96# 0x30 - 0x3f
9730: XOR Eb,Gb
9831: XOR Ev,Gv
9932: XOR Gb,Eb
10033: XOR Gv,Ev
10134: XOR AL,Ib
10235: XOR rAX,Iz
10336: SEG=SS (Prefix)
10437: AAA (i64)
10538: CMP Eb,Gb
10639: CMP Ev,Gv
1073a: CMP Gb,Eb
1083b: CMP Gv,Ev
1093c: CMP AL,Ib
1103d: CMP rAX,Iz
1113e: SEG=DS (Prefix)
1123f: AAS (i64)
113# 0x40 - 0x4f
11440: INC eAX (i64) | REX (o64)
11541: INC eCX (i64) | REX.B (o64)
11642: INC eDX (i64) | REX.X (o64)
11743: INC eBX (i64) | REX.XB (o64)
11844: INC eSP (i64) | REX.R (o64)
11945: INC eBP (i64) | REX.RB (o64)
12046: INC eSI (i64) | REX.RX (o64)
12147: INC eDI (i64) | REX.RXB (o64)
12248: DEC eAX (i64) | REX.W (o64)
12349: DEC eCX (i64) | REX.WB (o64)
1244a: DEC eDX (i64) | REX.WX (o64)
1254b: DEC eBX (i64) | REX.WXB (o64)
1264c: DEC eSP (i64) | REX.WR (o64)
1274d: DEC eBP (i64) | REX.WRB (o64)
1284e: DEC eSI (i64) | REX.WRX (o64)
1294f: DEC eDI (i64) | REX.WRXB (o64)
130# 0x50 - 0x5f
13150: PUSH rAX/r8 (d64)
13251: PUSH rCX/r9 (d64)
13352: PUSH rDX/r10 (d64)
13453: PUSH rBX/r11 (d64)
13554: PUSH rSP/r12 (d64)
13655: PUSH rBP/r13 (d64)
13756: PUSH rSI/r14 (d64)
13857: PUSH rDI/r15 (d64)
13958: POP rAX/r8 (d64)
14059: POP rCX/r9 (d64)
1415a: POP rDX/r10 (d64)
1425b: POP rBX/r11 (d64)
1435c: POP rSP/r12 (d64)
1445d: POP rBP/r13 (d64)
1455e: POP rSI/r14 (d64)
1465f: POP rDI/r15 (d64)
147# 0x60 - 0x6f
14860: PUSHA/PUSHAD (i64)
14961: POPA/POPAD (i64)
15062: BOUND Gv,Ma (i64) | EVEX (Prefix)
15163: ARPL Ew,Gw (i64) | MOVSXD Gv,Ev (o64)
15264: SEG=FS (Prefix)
15365: SEG=GS (Prefix)
15466: Operand-Size (Prefix)
15567: Address-Size (Prefix)
15668: PUSH Iz
15769: IMUL Gv,Ev,Iz
1586a: PUSH Ib (d64)
1596b: IMUL Gv,Ev,Ib
1606c: INS/INSB Yb,DX
1616d: INS/INSW/INSD Yz,DX
1626e: OUTS/OUTSB DX,Xb
1636f: OUTS/OUTSW/OUTSD DX,Xz
164# 0x70 - 0x7f
16570: JO Jb (!REX2)
16671: JNO Jb (!REX2)
16772: JB/JNAE/JC Jb (!REX2)
16873: JNB/JAE/JNC Jb (!REX2)
16974: JZ/JE Jb (!REX2)
17075: JNZ/JNE Jb (!REX2)
17176: JBE/JNA Jb (!REX2)
17277: JNBE/JA Jb (!REX2)
17378: JS Jb (!REX2)
17479: JNS Jb (!REX2)
1757a: JP/JPE Jb (!REX2)
1767b: JNP/JPO Jb (!REX2)
1777c: JL/JNGE Jb (!REX2)
1787d: JNL/JGE Jb (!REX2)
1797e: JLE/JNG Jb (!REX2)
1807f: JNLE/JG Jb (!REX2)
181# 0x80 - 0x8f
18280: Grp1 Eb,Ib (1A)
18381: Grp1 Ev,Iz (1A)
18482: Grp1 Eb,Ib (1A),(i64)
18583: Grp1 Ev,Ib (1A)
18684: TEST Eb,Gb
18785: TEST Ev,Gv
18886: XCHG Eb,Gb
18987: XCHG Ev,Gv
19088: MOV Eb,Gb
19189: MOV Ev,Gv
1928a: MOV Gb,Eb
1938b: MOV Gv,Ev
1948c: MOV Ev,Sw
1958d: LEA Gv,M
1968e: MOV Sw,Ew
1978f: Grp1A (1A) | POP Ev (d64)
198# 0x90 - 0x9f
19990: NOP | PAUSE (F3) | XCHG r8,rAX
20091: XCHG rCX/r9,rAX
20192: XCHG rDX/r10,rAX
20293: XCHG rBX/r11,rAX
20394: XCHG rSP/r12,rAX
20495: XCHG rBP/r13,rAX
20596: XCHG rSI/r14,rAX
20697: XCHG rDI/r15,rAX
20798: CBW/CWDE/CDQE
20899: CWD/CDQ/CQO
2099a: CALLF Ap (i64)
2109b: FWAIT/WAIT
2119c: PUSHF/D/Q Fv (d64)
2129d: POPF/D/Q Fv (d64)
2139e: SAHF
2149f: LAHF
215# 0xa0 - 0xaf
216a0: MOV AL,Ob (!REX2)
217a1: MOV rAX,Ov (!REX2) | JMPABS O (REX2),(o64)
218a2: MOV Ob,AL (!REX2)
219a3: MOV Ov,rAX (!REX2)
220a4: MOVS/B Yb,Xb (!REX2)
221a5: MOVS/W/D/Q Yv,Xv (!REX2)
222a6: CMPS/B Xb,Yb (!REX2)
223a7: CMPS/W/D Xv,Yv (!REX2)
224a8: TEST AL,Ib (!REX2)
225a9: TEST rAX,Iz (!REX2)
226aa: STOS/B Yb,AL (!REX2)
227ab: STOS/W/D/Q Yv,rAX (!REX2)
228ac: LODS/B AL,Xb (!REX2)
229ad: LODS/W/D/Q rAX,Xv (!REX2)
230ae: SCAS/B AL,Yb (!REX2)
231# Note: The May 2011 Intel manual shows Xv for the second parameter of the
232# next instruction but Yv is correct
233af: SCAS/W/D/Q rAX,Yv (!REX2)
234# 0xb0 - 0xbf
235b0: MOV AL/R8L,Ib
236b1: MOV CL/R9L,Ib
237b2: MOV DL/R10L,Ib
238b3: MOV BL/R11L,Ib
239b4: MOV AH/R12L,Ib
240b5: MOV CH/R13L,Ib
241b6: MOV DH/R14L,Ib
242b7: MOV BH/R15L,Ib
243b8: MOV rAX/r8,Iv
244b9: MOV rCX/r9,Iv
245ba: MOV rDX/r10,Iv
246bb: MOV rBX/r11,Iv
247bc: MOV rSP/r12,Iv
248bd: MOV rBP/r13,Iv
249be: MOV rSI/r14,Iv
250bf: MOV rDI/r15,Iv
251# 0xc0 - 0xcf
252c0: Grp2 Eb,Ib (1A)
253c1: Grp2 Ev,Ib (1A)
254c2: RETN Iw (f64)
255c3: RETN
256c4: LES Gz,Mp (i64) | VEX+2byte (Prefix)
257c5: LDS Gz,Mp (i64) | VEX+1byte (Prefix)
258c6: Grp11A Eb,Ib (1A)
259c7: Grp11B Ev,Iz (1A)
260c8: ENTER Iw,Ib
261c9: LEAVE (d64)
262ca: RETF Iw
263cb: RETF
264cc: INT3
265cd: INT Ib
266ce: INTO (i64)
267cf: IRET/D/Q
268# 0xd0 - 0xdf
269d0: Grp2 Eb,1 (1A)
270d1: Grp2 Ev,1 (1A)
271d2: Grp2 Eb,CL (1A)
272d3: Grp2 Ev,CL (1A)
273d4: AAM Ib (i64)
274d5: AAD Ib (i64) | REX2 (Prefix),(o64)
275d6:
276d7: XLAT/XLATB
277d8: ESC
278d9: ESC
279da: ESC
280db: ESC
281dc: ESC
282dd: ESC
283de: ESC
284df: ESC
285# 0xe0 - 0xef
286# Note: "forced64" is Intel CPU behavior: they ignore 0x66 prefix
287# in 64-bit mode. AMD CPUs accept 0x66 prefix, it causes RIP truncation
288# to 16 bits. In 32-bit mode, 0x66 is accepted by both Intel and AMD.
289e0: LOOPNE/LOOPNZ Jb (f64) (!REX2)
290e1: LOOPE/LOOPZ Jb (f64) (!REX2)
291e2: LOOP Jb (f64) (!REX2)
292e3: JrCXZ Jb (f64) (!REX2)
293e4: IN AL,Ib (!REX2)
294e5: IN eAX,Ib (!REX2)
295e6: OUT Ib,AL (!REX2)
296e7: OUT Ib,eAX (!REX2)
297# With 0x66 prefix in 64-bit mode, for AMD CPUs immediate offset
298# in "near" jumps and calls is 16-bit. For CALL,
299# push of return address is 16-bit wide, RSP is decremented by 2
300# but is not truncated to 16 bits, unlike RIP.
301e8: CALL Jz (f64) (!REX2)
302e9: JMP-near Jz (f64) (!REX2)
303ea: JMP-far Ap (i64) (!REX2)
304eb: JMP-short Jb (f64) (!REX2)
305ec: IN AL,DX (!REX2)
306ed: IN eAX,DX (!REX2)
307ee: OUT DX,AL (!REX2)
308ef: OUT DX,eAX (!REX2)
309# 0xf0 - 0xff
310f0: LOCK (Prefix)
311f1:
312f2: REPNE (Prefix) | XACQUIRE (Prefix)
313f3: REP/REPE (Prefix) | XRELEASE (Prefix)
314f4: HLT
315f5: CMC
316f6: Grp3_1 Eb (1A)
317f7: Grp3_2 Ev (1A)
318f8: CLC
319f9: STC
320fa: CLI
321fb: STI
322fc: CLD
323fd: STD
324fe: Grp4 (1A)
325ff: Grp5 (1A)
326EndTable
327
328Table: 2-byte opcode (0x0f)
329Referrer: 2-byte escape
330AVXcode: 1
331# 0x0f 0x00-0x0f
33200: Grp6 (1A)
33301: Grp7 (1A)
33402: LAR Gv,Ew
33503: LSL Gv,Ew
33604:
33705: SYSCALL (o64)
33806: CLTS
33907: SYSRET (o64)
34008: INVD
34109: WBINVD | WBNOINVD (F3)
3420a:
3430b: UD2 (1B)
3440c:
345# AMD's prefetch group. Intel supports prefetchw(/1) only.
3460d: GrpP
3470e: FEMMS
348# 3DNow! uses the last imm byte as opcode extension.
3490f: 3DNow! Pq,Qq,Ib
350# 0x0f 0x10-0x1f
351# NOTE: According to Intel SDM opcode map, vmovups and vmovupd has no operands
352# but it actually has operands. And also, vmovss and vmovsd only accept 128bit.
353# MOVSS/MOVSD has too many forms(3) on SDM. This map just shows a typical form.
354# Many AVX instructions lack v1 superscript, according to Intel AVX-Prgramming
355# Reference A.1
35610: vmovups Vps,Wps | vmovupd Vpd,Wpd (66) | vmovss Vx,Hx,Wss (F3),(v1) | vmovsd Vx,Hx,Wsd (F2),(v1)
35711: vmovups Wps,Vps | vmovupd Wpd,Vpd (66) | vmovss Wss,Hx,Vss (F3),(v1) | vmovsd Wsd,Hx,Vsd (F2),(v1)
35812: vmovlps Vq,Hq,Mq (v1) | vmovhlps Vq,Hq,Uq (v1) | vmovlpd Vq,Hq,Mq (66),(v1) | vmovsldup Vx,Wx (F3) | vmovddup Vx,Wx (F2)
35913: vmovlps Mq,Vq (v1) | vmovlpd Mq,Vq (66),(v1)
36014: vunpcklps Vx,Hx,Wx | vunpcklpd Vx,Hx,Wx (66)
36115: vunpckhps Vx,Hx,Wx | vunpckhpd Vx,Hx,Wx (66)
36216: vmovhps Vdq,Hq,Mq (v1) | vmovlhps Vdq,Hq,Uq (v1) | vmovhpd Vdq,Hq,Mq (66),(v1) | vmovshdup Vx,Wx (F3)
36317: vmovhps Mq,Vq (v1) | vmovhpd Mq,Vq (66),(v1)
36418: Grp16 (1A)
36519:
366# Intel SDM opcode map does not list MPX instructions. For now using Gv for
367# bnd registers and Ev for everything else is OK because the instruction
368# decoder does not use the information except as an indication that there is
369# a ModR/M byte.
3701a: BNDCL Gv,Ev (F3) | BNDCU Gv,Ev (F2) | BNDMOV Gv,Ev (66) | BNDLDX Gv,Ev
3711b: BNDCN Gv,Ev (F2) | BNDMOV Ev,Gv (66) | BNDMK Gv,Ev (F3) | BNDSTX Ev,Gv
3721c: Grp20 (1A),(1C)
3731d:
3741e: Grp21 (1A)
3751f: NOP Ev
376# 0x0f 0x20-0x2f
37720: MOV Rd,Cd
37821: MOV Rd,Dd
37922: MOV Cd,Rd
38023: MOV Dd,Rd
38124:
38225:
38326:
38427:
38528: vmovaps Vps,Wps | vmovapd Vpd,Wpd (66)
38629: vmovaps Wps,Vps | vmovapd Wpd,Vpd (66)
3872a: cvtpi2ps Vps,Qpi | cvtpi2pd Vpd,Qpi (66) | vcvtsi2ss Vss,Hss,Ey (F3),(v1) | vcvtsi2sd Vsd,Hsd,Ey (F2),(v1)
3882b: vmovntps Mps,Vps | vmovntpd Mpd,Vpd (66)
3892c: cvttps2pi Ppi,Wps | cvttpd2pi Ppi,Wpd (66) | vcvttss2si Gy,Wss (F3),(v1) | vcvttsd2si Gy,Wsd (F2),(v1)
3902d: cvtps2pi Ppi,Wps | cvtpd2pi Qpi,Wpd (66) | vcvtss2si Gy,Wss (F3),(v1) | vcvtsd2si Gy,Wsd (F2),(v1)
3912e: vucomiss Vss,Wss (v1) | vucomisd  Vsd,Wsd (66),(v1)
3922f: vcomiss Vss,Wss (v1) | vcomisd  Vsd,Wsd (66),(v1)
393# 0x0f 0x30-0x3f
39430: WRMSR (!REX2)
39531: RDTSC (!REX2)
39632: RDMSR (!REX2)
39733: RDPMC (!REX2)
39834: SYSENTER (!REX2)
39935: SYSEXIT (!REX2)
40036:
40137: GETSEC (!REX2)
40238: escape # 3-byte escape 1
40339:
4043a: escape # 3-byte escape 2
4053b:
4063c:
4073d:
4083e:
4093f:
410# 0x0f 0x40-0x4f
41140: CMOVO Gv,Ev
41241: CMOVNO Gv,Ev | kandw/q Vk,Hk,Uk | kandb/d Vk,Hk,Uk (66)
41342: CMOVB/C/NAE Gv,Ev | kandnw/q Vk,Hk,Uk | kandnb/d Vk,Hk,Uk (66)
41443: CMOVAE/NB/NC Gv,Ev
41544: CMOVE/Z Gv,Ev | knotw/q Vk,Uk | knotb/d Vk,Uk (66)
41645: CMOVNE/NZ Gv,Ev | korw/q Vk,Hk,Uk | korb/d Vk,Hk,Uk (66)
41746: CMOVBE/NA Gv,Ev | kxnorw/q Vk,Hk,Uk | kxnorb/d Vk,Hk,Uk (66)
41847: CMOVA/NBE Gv,Ev | kxorw/q Vk,Hk,Uk | kxorb/d Vk,Hk,Uk (66)
41948: CMOVS Gv,Ev
42049: CMOVNS Gv,Ev
4214a: CMOVP/PE Gv,Ev | kaddw/q Vk,Hk,Uk | kaddb/d Vk,Hk,Uk (66)
4224b: CMOVNP/PO Gv,Ev | kunpckbw Vk,Hk,Uk (66) | kunpckwd/dq Vk,Hk,Uk
4234c: CMOVL/NGE Gv,Ev
4244d: CMOVNL/GE Gv,Ev
4254e: CMOVLE/NG Gv,Ev
4264f: CMOVNLE/G Gv,Ev
427# 0x0f 0x50-0x5f
42850: vmovmskps Gy,Ups | vmovmskpd Gy,Upd (66)
42951: vsqrtps Vps,Wps | vsqrtpd Vpd,Wpd (66) | vsqrtss Vss,Hss,Wss (F3),(v1) | vsqrtsd Vsd,Hsd,Wsd (F2),(v1)
43052: vrsqrtps Vps,Wps | vrsqrtss Vss,Hss,Wss (F3),(v1)
43153: vrcpps Vps,Wps | vrcpss Vss,Hss,Wss (F3),(v1)
43254: vandps Vps,Hps,Wps | vandpd Vpd,Hpd,Wpd (66)
43355: vandnps Vps,Hps,Wps | vandnpd Vpd,Hpd,Wpd (66)
43456: vorps Vps,Hps,Wps | vorpd Vpd,Hpd,Wpd (66)
43557: vxorps Vps,Hps,Wps | vxorpd Vpd,Hpd,Wpd (66)
43658: vaddps Vps,Hps,Wps | vaddpd Vpd,Hpd,Wpd (66) | vaddss Vss,Hss,Wss (F3),(v1) | vaddsd Vsd,Hsd,Wsd (F2),(v1)
43759: vmulps Vps,Hps,Wps | vmulpd Vpd,Hpd,Wpd (66) | vmulss Vss,Hss,Wss (F3),(v1) | vmulsd Vsd,Hsd,Wsd (F2),(v1)
4385a: vcvtps2pd Vpd,Wps | vcvtpd2ps Vps,Wpd (66) | vcvtss2sd Vsd,Hx,Wss (F3),(v1) | vcvtsd2ss Vss,Hx,Wsd (F2),(v1)
4395b: vcvtdq2ps Vps,Wdq | vcvtqq2ps Vps,Wqq (evo) | vcvtps2dq Vdq,Wps (66) | vcvttps2dq Vdq,Wps (F3)
4405c: vsubps Vps,Hps,Wps | vsubpd Vpd,Hpd,Wpd (66) | vsubss Vss,Hss,Wss (F3),(v1) | vsubsd Vsd,Hsd,Wsd (F2),(v1)
4415d: vminps Vps,Hps,Wps | vminpd Vpd,Hpd,Wpd (66) | vminss Vss,Hss,Wss (F3),(v1) | vminsd Vsd,Hsd,Wsd (F2),(v1)
4425e: vdivps Vps,Hps,Wps | vdivpd Vpd,Hpd,Wpd (66) | vdivss Vss,Hss,Wss (F3),(v1) | vdivsd Vsd,Hsd,Wsd (F2),(v1)
4435f: vmaxps Vps,Hps,Wps | vmaxpd Vpd,Hpd,Wpd (66) | vmaxss Vss,Hss,Wss (F3),(v1) | vmaxsd Vsd,Hsd,Wsd (F2),(v1)
444# 0x0f 0x60-0x6f
44560: punpcklbw Pq,Qd | vpunpcklbw Vx,Hx,Wx (66),(v1)
44661: punpcklwd Pq,Qd | vpunpcklwd Vx,Hx,Wx (66),(v1)
44762: punpckldq Pq,Qd | vpunpckldq Vx,Hx,Wx (66),(v1)
44863: packsswb Pq,Qq | vpacksswb Vx,Hx,Wx (66),(v1)
44964: pcmpgtb Pq,Qq | vpcmpgtb Vx,Hx,Wx (66),(v1)
45065: pcmpgtw Pq,Qq | vpcmpgtw Vx,Hx,Wx (66),(v1)
45166: pcmpgtd Pq,Qq | vpcmpgtd Vx,Hx,Wx (66),(v1)
45267: packuswb Pq,Qq | vpackuswb Vx,Hx,Wx (66),(v1)
45368: punpckhbw Pq,Qd | vpunpckhbw Vx,Hx,Wx (66),(v1)
45469: punpckhwd Pq,Qd | vpunpckhwd Vx,Hx,Wx (66),(v1)
4556a: punpckhdq Pq,Qd | vpunpckhdq Vx,Hx,Wx (66),(v1)
4566b: packssdw Pq,Qd | vpackssdw Vx,Hx,Wx (66),(v1)
4576c: vpunpcklqdq Vx,Hx,Wx (66),(v1)
4586d: vpunpckhqdq Vx,Hx,Wx (66),(v1)
4596e: movd/q Pd,Ey | vmovd/q Vy,Ey (66),(v1)
4606f: 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)
461# 0x0f 0x70-0x7f
46270: pshufw Pq,Qq,Ib | vpshufd Vx,Wx,Ib (66),(v1) | vpshufhw Vx,Wx,Ib (F3),(v1) | vpshuflw Vx,Wx,Ib (F2),(v1)
46371: Grp12 (1A)
46472: Grp13 (1A)
46573: Grp14 (1A)
46674: pcmpeqb Pq,Qq | vpcmpeqb Vx,Hx,Wx (66),(v1)
46775: pcmpeqw Pq,Qq | vpcmpeqw Vx,Hx,Wx (66),(v1)
46876: pcmpeqd Pq,Qq | vpcmpeqd Vx,Hx,Wx (66),(v1)
469# Note: Remove (v), because vzeroall and vzeroupper becomes emms without VEX.
47077: emms | vzeroupper | vzeroall
47178: VMREAD Ey,Gy | vcvttps2udq/pd2udq Vx,Wpd (evo) | vcvttsd2usi Gv,Wx (F2),(ev) | vcvttss2usi Gv,Wx (F3),(ev) | vcvttps2uqq/pd2uqq Vx,Wx (66),(ev)
47279: VMWRITE Gy,Ey | vcvtps2udq/pd2udq Vx,Wpd (evo) | vcvtsd2usi Gv,Wx (F2),(ev) | vcvtss2usi Gv,Wx (F3),(ev) | vcvtps2uqq/pd2uqq Vx,Wx (66),(ev)
4737a: vcvtudq2pd/uqq2pd Vpd,Wx (F3),(ev) | vcvtudq2ps/uqq2ps Vpd,Wx (F2),(ev) | vcvttps2qq/pd2qq Vx,Wx (66),(ev)
4747b: vcvtusi2sd Vpd,Hpd,Ev (F2),(ev) | vcvtusi2ss Vps,Hps,Ev (F3),(ev) | vcvtps2qq/pd2qq Vx,Wx (66),(ev)
4757c: vhaddpd Vpd,Hpd,Wpd (66) | vhaddps Vps,Hps,Wps (F2)
4767d: vhsubpd Vpd,Hpd,Wpd (66) | vhsubps Vps,Hps,Wps (F2)
4777e: movd/q Ey,Pd | vmovd/q Ey,Vy (66),(v1) | vmovq Vq,Wq (F3),(v1)
4787f: 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)
479# 0x0f 0x80-0x8f
480# Note: "forced64" is Intel CPU behavior (see comment about CALL insn).
48180: JO Jz (f64) (!REX2)
48281: JNO Jz (f64) (!REX2)
48382: JB/JC/JNAE Jz (f64) (!REX2)
48483: JAE/JNB/JNC Jz (f64) (!REX2)
48584: JE/JZ Jz (f64) (!REX2)
48685: JNE/JNZ Jz (f64) (!REX2)
48786: JBE/JNA Jz (f64) (!REX2)
48887: JA/JNBE Jz (f64) (!REX2)
48988: JS Jz (f64) (!REX2)
49089: JNS Jz (f64) (!REX2)
4918a: JP/JPE Jz (f64) (!REX2)
4928b: JNP/JPO Jz (f64) (!REX2)
4938c: JL/JNGE Jz (f64) (!REX2)
4948d: JNL/JGE Jz (f64) (!REX2)
4958e: JLE/JNG Jz (f64) (!REX2)
4968f: JNLE/JG Jz (f64) (!REX2)
497# 0x0f 0x90-0x9f
49890: SETO Eb | kmovw/q Vk,Wk | kmovb/d Vk,Wk (66)
49991: SETNO Eb | kmovw/q Mv,Vk | kmovb/d Mv,Vk (66)
50092: SETB/C/NAE Eb | kmovw Vk,Rv | kmovb Vk,Rv (66) | kmovq/d Vk,Rv (F2)
50193: SETAE/NB/NC Eb | kmovw Gv,Uk | kmovb Gv,Uk (66) | kmovq/d Gv,Uk (F2)
50294: SETE/Z Eb
50395: SETNE/NZ Eb
50496: SETBE/NA Eb
50597: SETA/NBE Eb
50698: SETS Eb | kortestw/q Vk,Uk | kortestb/d Vk,Uk (66)
50799: SETNS Eb | ktestw/q Vk,Uk | ktestb/d Vk,Uk (66)
5089a: SETP/PE Eb
5099b: SETNP/PO Eb
5109c: SETL/NGE Eb
5119d: SETNL/GE Eb
5129e: SETLE/NG Eb
5139f: SETNLE/G Eb
514# 0x0f 0xa0-0xaf
515a0: PUSH FS (d64)
516a1: POP FS (d64)
517a2: CPUID
518a3: BT Ev,Gv
519a4: SHLD Ev,Gv,Ib
520a5: SHLD Ev,Gv,CL
521a6: GrpPDLK
522a7: GrpRNG
523a8: PUSH GS (d64)
524a9: POP GS (d64)
525aa: RSM
526ab: BTS Ev,Gv
527ac: SHRD Ev,Gv,Ib
528ad: SHRD Ev,Gv,CL
529ae: Grp15 (1A),(1C)
530af: IMUL Gv,Ev
531# 0x0f 0xb0-0xbf
532b0: CMPXCHG Eb,Gb
533b1: CMPXCHG Ev,Gv
534b2: LSS Gv,Mp
535b3: BTR Ev,Gv
536b4: LFS Gv,Mp
537b5: LGS Gv,Mp
538b6: MOVZX Gv,Eb
539b7: MOVZX Gv,Ew
540b8: JMPE (!F3) | POPCNT Gv,Ev (F3)
541b9: Grp10 (1A)
542ba: Grp8 Ev,Ib (1A)
543bb: BTC Ev,Gv
544bc: BSF Gv,Ev (!F3) | TZCNT Gv,Ev (F3)
545bd: BSR Gv,Ev (!F3) | LZCNT Gv,Ev (F3)
546be: MOVSX Gv,Eb
547bf: MOVSX Gv,Ew
548# 0x0f 0xc0-0xcf
549c0: XADD Eb,Gb
550c1: XADD Ev,Gv
551c2: 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)
552c3: movnti My,Gy
553c4: pinsrw Pq,Ry/Mw,Ib | vpinsrw Vdq,Hdq,Ry/Mw,Ib (66),(v1)
554c5: pextrw Gd,Nq,Ib | vpextrw Gd,Udq,Ib (66),(v1)
555c6: vshufps Vps,Hps,Wps,Ib | vshufpd Vpd,Hpd,Wpd,Ib (66)
556c7: Grp9 (1A)
557c8: BSWAP RAX/EAX/R8/R8D
558c9: BSWAP RCX/ECX/R9/R9D
559ca: BSWAP RDX/EDX/R10/R10D
560cb: BSWAP RBX/EBX/R11/R11D
561cc: BSWAP RSP/ESP/R12/R12D
562cd: BSWAP RBP/EBP/R13/R13D
563ce: BSWAP RSI/ESI/R14/R14D
564cf: BSWAP RDI/EDI/R15/R15D
565# 0x0f 0xd0-0xdf
566d0: vaddsubpd Vpd,Hpd,Wpd (66) | vaddsubps Vps,Hps,Wps (F2)
567d1: psrlw Pq,Qq | vpsrlw Vx,Hx,Wx (66),(v1)
568d2: psrld Pq,Qq | vpsrld Vx,Hx,Wx (66),(v1)
569d3: psrlq Pq,Qq | vpsrlq Vx,Hx,Wx (66),(v1)
570d4: paddq Pq,Qq | vpaddq Vx,Hx,Wx (66),(v1)
571d5: pmullw Pq,Qq | vpmullw Vx,Hx,Wx (66),(v1)
572d6: vmovq Wq,Vq (66),(v1) | movq2dq Vdq,Nq (F3) | movdq2q Pq,Uq (F2)
573d7: pmovmskb Gd,Nq | vpmovmskb Gd,Ux (66),(v1)
574d8: psubusb Pq,Qq | vpsubusb Vx,Hx,Wx (66),(v1)
575d9: psubusw Pq,Qq | vpsubusw Vx,Hx,Wx (66),(v1)
576da: pminub Pq,Qq | vpminub Vx,Hx,Wx (66),(v1)
577db: pand Pq,Qq | vpand Vx,Hx,Wx (66),(v1) | vpandd/q Vx,Hx,Wx (66),(evo)
578dc: paddusb Pq,Qq | vpaddusb Vx,Hx,Wx (66),(v1)
579dd: paddusw Pq,Qq | vpaddusw Vx,Hx,Wx (66),(v1)
580de: pmaxub Pq,Qq | vpmaxub Vx,Hx,Wx (66),(v1)
581df: pandn Pq,Qq | vpandn Vx,Hx,Wx (66),(v1) | vpandnd/q Vx,Hx,Wx (66),(evo)
582# 0x0f 0xe0-0xef
583e0: pavgb Pq,Qq | vpavgb Vx,Hx,Wx (66),(v1)
584e1: psraw Pq,Qq | vpsraw Vx,Hx,Wx (66),(v1)
585e2: psrad Pq,Qq | vpsrad Vx,Hx,Wx (66),(v1)
586e3: pavgw Pq,Qq | vpavgw Vx,Hx,Wx (66),(v1)
587e4: pmulhuw Pq,Qq | vpmulhuw Vx,Hx,Wx (66),(v1)
588e5: pmulhw Pq,Qq | vpmulhw Vx,Hx,Wx (66),(v1)
589e6: vcvttpd2dq Vx,Wpd (66) | vcvtdq2pd Vx,Wdq (F3) | vcvtdq2pd/qq2pd Vx,Wdq (F3),(evo) | vcvtpd2dq Vx,Wpd (F2)
590e7: movntq Mq,Pq | vmovntdq Mx,Vx (66)
591e8: psubsb Pq,Qq | vpsubsb Vx,Hx,Wx (66),(v1)
592e9: psubsw Pq,Qq | vpsubsw Vx,Hx,Wx (66),(v1)
593ea: pminsw Pq,Qq | vpminsw Vx,Hx,Wx (66),(v1)
594eb: por Pq,Qq | vpor Vx,Hx,Wx (66),(v1) | vpord/q Vx,Hx,Wx (66),(evo)
595ec: paddsb Pq,Qq | vpaddsb Vx,Hx,Wx (66),(v1)
596ed: paddsw Pq,Qq | vpaddsw Vx,Hx,Wx (66),(v1)
597ee: pmaxsw Pq,Qq | vpmaxsw Vx,Hx,Wx (66),(v1)
598ef: pxor Pq,Qq | vpxor Vx,Hx,Wx (66),(v1) | vpxord/q Vx,Hx,Wx (66),(evo)
599# 0x0f 0xf0-0xff
600f0: vlddqu Vx,Mx (F2)
601f1: psllw Pq,Qq | vpsllw Vx,Hx,Wx (66),(v1)
602f2: pslld Pq,Qq | vpslld Vx,Hx,Wx (66),(v1)
603f3: psllq Pq,Qq | vpsllq Vx,Hx,Wx (66),(v1)
604f4: pmuludq Pq,Qq | vpmuludq Vx,Hx,Wx (66),(v1)
605f5: pmaddwd Pq,Qq | vpmaddwd Vx,Hx,Wx (66),(v1)
606f6: psadbw Pq,Qq | vpsadbw Vx,Hx,Wx (66),(v1)
607f7: maskmovq Pq,Nq | vmaskmovdqu Vx,Ux (66),(v1)
608f8: psubb Pq,Qq | vpsubb Vx,Hx,Wx (66),(v1)
609f9: psubw Pq,Qq | vpsubw Vx,Hx,Wx (66),(v1)
610fa: psubd Pq,Qq | vpsubd Vx,Hx,Wx (66),(v1)
611fb: psubq Pq,Qq | vpsubq Vx,Hx,Wx (66),(v1)
612fc: paddb Pq,Qq | vpaddb Vx,Hx,Wx (66),(v1)
613fd: paddw Pq,Qq | vpaddw Vx,Hx,Wx (66),(v1)
614fe: paddd Pq,Qq | vpaddd Vx,Hx,Wx (66),(v1)
615ff: UD0
616EndTable
617
618Table: 3-byte opcode 1 (0x0f 0x38)
619Referrer: 3-byte escape 1
620AVXcode: 2
621# 0x0f 0x38 0x00-0x0f
62200: pshufb Pq,Qq | vpshufb Vx,Hx,Wx (66),(v1)
62301: phaddw Pq,Qq | vphaddw Vx,Hx,Wx (66),(v1)
62402: phaddd Pq,Qq | vphaddd Vx,Hx,Wx (66),(v1)
62503: phaddsw Pq,Qq | vphaddsw Vx,Hx,Wx (66),(v1)
62604: pmaddubsw Pq,Qq | vpmaddubsw Vx,Hx,Wx (66),(v1)
62705: phsubw Pq,Qq | vphsubw Vx,Hx,Wx (66),(v1)
62806: phsubd Pq,Qq | vphsubd Vx,Hx,Wx (66),(v1)
62907: phsubsw Pq,Qq | vphsubsw Vx,Hx,Wx (66),(v1)
63008: psignb Pq,Qq | vpsignb Vx,Hx,Wx (66),(v1)
63109: psignw Pq,Qq | vpsignw Vx,Hx,Wx (66),(v1)
6320a: psignd Pq,Qq | vpsignd Vx,Hx,Wx (66),(v1)
6330b: pmulhrsw Pq,Qq | vpmulhrsw Vx,Hx,Wx (66),(v1)
6340c: vpermilps Vx,Hx,Wx (66),(v)
6350d: vpermilpd Vx,Hx,Wx (66),(v)
6360e: vtestps Vx,Wx (66),(v)
6370f: vtestpd Vx,Wx (66),(v)
638# 0x0f 0x38 0x10-0x1f
63910: pblendvb Vdq,Wdq (66) | vpsrlvw Vx,Hx,Wx (66),(evo) | vpmovuswb Wx,Vx (F3),(ev)
64011: vpmovusdb Wx,Vd (F3),(ev) | vpsravw Vx,Hx,Wx (66),(ev)
64112: vpmovusqb Wx,Vq (F3),(ev) | vpsllvw Vx,Hx,Wx (66),(ev)
64213: vcvtph2ps Vx,Wx (66),(v) | vpmovusdw Wx,Vd (F3),(ev)
64314: blendvps Vdq,Wdq (66) | vpmovusqw Wx,Vq (F3),(ev) | vprorvd/q Vx,Hx,Wx (66),(evo)
64415: blendvpd Vdq,Wdq (66) | vpmovusqd Wx,Vq (F3),(ev) | vprolvd/q Vx,Hx,Wx (66),(evo)
64516: vpermps Vqq,Hqq,Wqq (66),(v) | vpermps/d Vqq,Hqq,Wqq (66),(evo)
64617: vptest Vx,Wx (66)
64718: vbroadcastss Vx,Wd (66),(v)
64819: vbroadcastsd Vqq,Wq (66),(v) | vbroadcastf32x2 Vqq,Wq (66),(evo)
6491a: vbroadcastf128 Vqq,Mdq (66),(v) | vbroadcastf32x4/64x2 Vqq,Wq (66),(evo)
6501b: vbroadcastf32x8/64x4 Vqq,Mdq (66),(ev)
6511c: pabsb Pq,Qq | vpabsb Vx,Wx (66),(v1)
6521d: pabsw Pq,Qq | vpabsw Vx,Wx (66),(v1)
6531e: pabsd Pq,Qq | vpabsd Vx,Wx (66),(v1)
6541f: vpabsq Vx,Wx (66),(ev)
655# 0x0f 0x38 0x20-0x2f
65620: vpmovsxbw Vx,Ux/Mq (66),(v1) | vpmovswb Wx,Vx (F3),(ev)
65721: vpmovsxbd Vx,Ux/Md (66),(v1) | vpmovsdb Wx,Vd (F3),(ev)
65822: vpmovsxbq Vx,Ux/Mw (66),(v1) | vpmovsqb Wx,Vq (F3),(ev)
65923: vpmovsxwd Vx,Ux/Mq (66),(v1) | vpmovsdw Wx,Vd (F3),(ev)
66024: vpmovsxwq Vx,Ux/Md (66),(v1) | vpmovsqw Wx,Vq (F3),(ev)
66125: vpmovsxdq Vx,Ux/Mq (66),(v1) | vpmovsqd Wx,Vq (F3),(ev)
66226: vptestmb/w Vk,Hx,Wx (66),(ev) | vptestnmb/w Vk,Hx,Wx (F3),(ev)
66327: vptestmd/q Vk,Hx,Wx (66),(ev) | vptestnmd/q Vk,Hx,Wx (F3),(ev)
66428: vpmuldq Vx,Hx,Wx (66),(v1) | vpmovm2b/w Vx,Uk (F3),(ev)
66529: vpcmpeqq Vx,Hx,Wx (66),(v1) | vpmovb2m/w2m Vk,Ux (F3),(ev)
6662a: vmovntdqa Vx,Mx (66),(v1) | vpbroadcastmb2q Vx,Uk (F3),(ev)
6672b: vpackusdw Vx,Hx,Wx (66),(v1)
6682c: vmaskmovps Vx,Hx,Mx (66),(v) | vscalefps/d Vx,Hx,Wx (66),(evo)
6692d: vmaskmovpd Vx,Hx,Mx (66),(v) | vscalefss/d Vx,Hx,Wx (66),(evo)
6702e: vmaskmovps Mx,Hx,Vx (66),(v)
6712f: vmaskmovpd Mx,Hx,Vx (66),(v)
672# 0x0f 0x38 0x30-0x3f
67330: vpmovzxbw Vx,Ux/Mq (66),(v1) | vpmovwb Wx,Vx (F3),(ev)
67431: vpmovzxbd Vx,Ux/Md (66),(v1) | vpmovdb Wx,Vd (F3),(ev)
67532: vpmovzxbq Vx,Ux/Mw (66),(v1) | vpmovqb Wx,Vq (F3),(ev)
67633: vpmovzxwd Vx,Ux/Mq (66),(v1) | vpmovdw Wx,Vd (F3),(ev)
67734: vpmovzxwq Vx,Ux/Md (66),(v1) | vpmovqw Wx,Vq (F3),(ev)
67835: vpmovzxdq Vx,Ux/Mq (66),(v1) | vpmovqd Wx,Vq (F3),(ev)
67936: vpermd Vqq,Hqq,Wqq (66),(v) | vpermd/q Vqq,Hqq,Wqq (66),(evo)
68037: vpcmpgtq Vx,Hx,Wx (66),(v1)
68138: vpminsb Vx,Hx,Wx (66),(v1) | vpmovm2d/q Vx,Uk (F3),(ev)
68239: vpminsd Vx,Hx,Wx (66),(v1) | vpminsd/q Vx,Hx,Wx (66),(evo) | vpmovd2m/q2m Vk,Ux (F3),(ev)
6833a: vpminuw Vx,Hx,Wx (66),(v1) | vpbroadcastmw2d Vx,Uk (F3),(ev)
6843b: vpminud Vx,Hx,Wx (66),(v1) | vpminud/q Vx,Hx,Wx (66),(evo)
6853c: vpmaxsb Vx,Hx,Wx (66),(v1)
6863d: vpmaxsd Vx,Hx,Wx (66),(v1) | vpmaxsd/q Vx,Hx,Wx (66),(evo)
6873e: vpmaxuw Vx,Hx,Wx (66),(v1)
6883f: vpmaxud Vx,Hx,Wx (66),(v1) | vpmaxud/q Vx,Hx,Wx (66),(evo)
689# 0x0f 0x38 0x40-0x8f
69040: vpmulld Vx,Hx,Wx (66),(v1) | vpmulld/q Vx,Hx,Wx (66),(evo)
69141: vphminposuw Vdq,Wdq (66),(v1)
69242: vgetexpps/d Vx,Wx (66),(ev)
69343: vgetexpss/d Vx,Hx,Wx (66),(ev)
69444: vplzcntd/q Vx,Wx (66),(ev)
69545: vpsrlvd/q Vx,Hx,Wx (66),(v)
69646: vpsravd Vx,Hx,Wx (66),(v) | vpsravd/q Vx,Hx,Wx (66),(evo)
69747: vpsllvd/q Vx,Hx,Wx (66),(v)
698# Skip 0x48
69949: TILERELEASE (v1),(000),(11B) | LDTILECFG Mtc (v1)(000) | STTILECFG Mtc (66),(v1),(000) | TILEZERO Vt (F2),(v1),(11B)
700# Skip 0x4a
7014b: TILELOADD Vt,Wsm (F2),(v1) | TILELOADDT1 Vt,Wsm (66),(v1) | TILESTORED Wsm,Vt (F3),(v)
7024c: vrcp14ps/d Vpd,Wpd (66),(ev)
7034d: vrcp14ss/d Vsd,Hpd,Wsd (66),(ev)
7044e: vrsqrt14ps/d Vpd,Wpd (66),(ev)
7054f: vrsqrt14ss/d Vsd,Hsd,Wsd (66),(ev)
70650: vpdpbusd Vx,Hx,Wx (66) | vpdpbssd Vx,Hx,Wx (F2),(v) | vpdpbsud Vx,Hx,Wx (F3),(v) | vpdpbuud Vx,Hx,Wx (v)
70751: vpdpbusds Vx,Hx,Wx (66) | vpdpbssds Vx,Hx,Wx (F2),(v) | vpdpbsuds Vx,Hx,Wx (F3),(v) | vpdpbuuds Vx,Hx,Wx (v)
70852: vdpbf16ps Vx,Hx,Wx (F3),(ev) | vpdpwssd Vx,Hx,Wx (66) | vp4dpwssd Vdqq,Hdqq,Wdq (F2),(ev)
70953: vpdpwssds Vx,Hx,Wx (66) | vp4dpwssds Vdqq,Hdqq,Wdq (F2),(ev)
71054: vpopcntb/w Vx,Wx (66),(ev)
71155: vpopcntd/q Vx,Wx (66),(ev)
71258: vpbroadcastd Vx,Wx (66),(v)
71359: vpbroadcastq Vx,Wx (66),(v) | vbroadcasti32x2 Vx,Wx (66),(evo)
7145a: vbroadcasti128 Vqq,Mdq (66),(v) | vbroadcasti32x4/64x2 Vx,Wx (66),(evo)
7155b: vbroadcasti32x8/64x4 Vqq,Mdq (66),(ev)
7165c: TDPBF16PS Vt,Wt,Ht (F3),(v1) | TDPFP16PS Vt,Wt,Ht (F2),(v1),(o64)
717# Skip 0x5d
7185e: TDPBSSD Vt,Wt,Ht (F2),(v1) | TDPBSUD Vt,Wt,Ht (F3),(v1) | TDPBUSD Vt,Wt,Ht (66),(v1) | TDPBUUD Vt,Wt,Ht (v1)
719# Skip 0x5f-0x61
72062: vpexpandb/w Vx,Wx (66),(ev)
72163: vpcompressb/w Wx,Vx (66),(ev)
72264: vpblendmd/q Vx,Hx,Wx (66),(ev)
72365: vblendmps/d Vx,Hx,Wx (66),(ev)
72466: vpblendmb/w Vx,Hx,Wx (66),(ev)
72568: vp2intersectd/q Kx,Hx,Wx (F2),(ev)
726# Skip 0x69-0x6b
7276c: TCMMIMFP16PS Vt,Wt,Ht (66),(v1),(o64) | TCMMRLFP16PS Vt,Wt,Ht (v1),(o64)
728# Skip 0x6d-0x6f
72970: vpshldvw Vx,Hx,Wx (66),(ev)
73071: vpshldvd/q Vx,Hx,Wx (66),(ev)
73172: vcvtne2ps2bf16 Vx,Hx,Wx (F2),(ev) | vcvtneps2bf16 Vx,Wx (F3) | vpshrdvw Vx,Hx,Wx (66),(ev)
73273: vpshrdvd/q Vx,Hx,Wx (66),(ev)
73375: vpermi2b/w Vx,Hx,Wx (66),(ev)
73476: vpermi2d/q Vx,Hx,Wx (66),(ev)
73577: vpermi2ps/d Vx,Hx,Wx (66),(ev)
73678: vpbroadcastb Vx,Wx (66),(v)
73779: vpbroadcastw Vx,Wx (66),(v)
7387a: vpbroadcastb Vx,Rv (66),(ev)
7397b: vpbroadcastw Vx,Rv (66),(ev)
7407c: vpbroadcastd/q Vx,Rv (66),(ev)
7417d: vpermt2b/w Vx,Hx,Wx (66),(ev)
7427e: vpermt2d/q Vx,Hx,Wx (66),(ev)
7437f: vpermt2ps/d Vx,Hx,Wx (66),(ev)
74480: INVEPT Gy,Mdq (66)
74581: INVVPID Gy,Mdq (66)
74682: INVPCID Gy,Mdq (66)
74783: vpmultishiftqb Vx,Hx,Wx (66),(ev)
74888: vexpandps/d Vpd,Wpd (66),(ev)
74989: vpexpandd/q Vx,Wx (66),(ev)
7508a: vcompressps/d Wx,Vx (66),(ev)
7518b: vpcompressd/q Wx,Vx (66),(ev)
7528c: vpmaskmovd/q Vx,Hx,Mx (66),(v)
7538d: vpermb/w Vx,Hx,Wx (66),(ev)
7548e: vpmaskmovd/q Mx,Vx,Hx (66),(v)
7558f: vpshufbitqmb Kx,Hx,Wx (66),(ev)
756# 0x0f 0x38 0x90-0xbf (FMA)
75790: vgatherdd/q Vx,Hx,Wx (66),(v) | vpgatherdd/q Vx,Wx (66),(evo)
75891: vgatherqd/q Vx,Hx,Wx (66),(v) | vpgatherqd/q Vx,Wx (66),(evo)
75992: vgatherdps/d Vx,Hx,Wx (66),(v)
76093: vgatherqps/d Vx,Hx,Wx (66),(v)
76194:
76295:
76396: vfmaddsub132ps/d Vx,Hx,Wx (66),(v)
76497: vfmsubadd132ps/d Vx,Hx,Wx (66),(v)
76598: vfmadd132ps/d Vx,Hx,Wx (66),(v)
76699: vfmadd132ss/d Vx,Hx,Wx (66),(v),(v1)
7679a: vfmsub132ps/d Vx,Hx,Wx (66),(v) | v4fmaddps Vdqq,Hdqq,Wdq (F2),(ev)
7689b: vfmsub132ss/d Vx,Hx,Wx (66),(v),(v1) | v4fmaddss Vdq,Hdq,Wdq (F2),(ev)
7699c: vfnmadd132ps/d Vx,Hx,Wx (66),(v)
7709d: vfnmadd132ss/d Vx,Hx,Wx (66),(v),(v1)
7719e: vfnmsub132ps/d Vx,Hx,Wx (66),(v)
7729f: vfnmsub132ss/d Vx,Hx,Wx (66),(v),(v1)
773a0: vpscatterdd/q Wx,Vx (66),(ev)
774a1: vpscatterqd/q Wx,Vx (66),(ev)
775a2: vscatterdps/d Wx,Vx (66),(ev)
776a3: vscatterqps/d Wx,Vx (66),(ev)
777a6: vfmaddsub213ps/d Vx,Hx,Wx (66),(v)
778a7: vfmsubadd213ps/d Vx,Hx,Wx (66),(v)
779a8: vfmadd213ps/d Vx,Hx,Wx (66),(v)
780a9: vfmadd213ss/d Vx,Hx,Wx (66),(v),(v1)
781aa: vfmsub213ps/d Vx,Hx,Wx (66),(v) | v4fnmaddps Vdqq,Hdqq,Wdq (F2),(ev)
782ab: vfmsub213ss/d Vx,Hx,Wx (66),(v),(v1) | v4fnmaddss Vdq,Hdq,Wdq (F2),(ev)
783ac: vfnmadd213ps/d Vx,Hx,Wx (66),(v)
784ad: vfnmadd213ss/d Vx,Hx,Wx (66),(v),(v1)
785ae: vfnmsub213ps/d Vx,Hx,Wx (66),(v)
786af: vfnmsub213ss/d Vx,Hx,Wx (66),(v),(v1)
787b0: vcvtneebf162ps Vx,Mx (F3),(!11B),(v) | vcvtneeph2ps Vx,Mx (66),(!11B),(v) | vcvtneobf162ps Vx,Mx (F2),(!11B),(v) | vcvtneoph2ps Vx,Mx (!11B),(v)
788b1: vbcstnebf162ps Vx,Mw (F3),(!11B),(v) | vbcstnesh2ps Vx,Mw (66),(!11B),(v)
789b4: vpmadd52luq Vx,Hx,Wx (66)
790b5: vpmadd52huq Vx,Hx,Wx (66)
791b6: vfmaddsub231ps/d Vx,Hx,Wx (66),(v)
792b7: vfmsubadd231ps/d Vx,Hx,Wx (66),(v)
793b8: vfmadd231ps/d Vx,Hx,Wx (66),(v)
794b9: vfmadd231ss/d Vx,Hx,Wx (66),(v),(v1)
795ba: vfmsub231ps/d Vx,Hx,Wx (66),(v)
796bb: vfmsub231ss/d Vx,Hx,Wx (66),(v),(v1)
797bc: vfnmadd231ps/d Vx,Hx,Wx (66),(v)
798bd: vfnmadd231ss/d Vx,Hx,Wx (66),(v),(v1)
799be: vfnmsub231ps/d Vx,Hx,Wx (66),(v)
800bf: vfnmsub231ss/d Vx,Hx,Wx (66),(v),(v1)
801# 0x0f 0x38 0xc0-0xff
802c4: vpconflictd/q Vx,Wx (66),(ev)
803c6: Grp18 (1A)
804c7: Grp19 (1A)
805c8: sha1nexte Vdq,Wdq | vexp2ps/d Vx,Wx (66),(ev)
806c9: sha1msg1 Vdq,Wdq
807ca: sha1msg2 Vdq,Wdq | vrcp28ps/d Vx,Wx (66),(ev)
808cb: sha256rnds2 Vdq,Wdq | vrcp28ss/d Vx,Hx,Wx (66),(ev) | vsha512rnds2 Vqq,Hqq,Udq (F2),(11B),(v)
809cc: sha256msg1 Vdq,Wdq | vrsqrt28ps/d Vx,Wx (66),(ev) | vsha512msg1 Vqq,Udq (F2),(11B),(v)
810cd: sha256msg2 Vdq,Wdq | vrsqrt28ss/d Vx,Hx,Wx (66),(ev) | vsha512msg2 Vqq,Uqq (F2),(11B),(v)
811cf: vgf2p8mulb Vx,Wx (66)
812d2: vpdpwsud Vx,Hx,Wx (F3),(v) | vpdpwusd Vx,Hx,Wx (66),(v) | vpdpwuud Vx,Hx,Wx (v)
813d3: vpdpwsuds Vx,Hx,Wx (F3),(v) | vpdpwusds Vx,Hx,Wx (66),(v) | vpdpwuuds Vx,Hx,Wx (v)
814d8: AESENCWIDE128KL Qpi (F3),(000),(00B) | AESENCWIDE256KL Qpi (F3),(000),(10B) | AESDECWIDE128KL Qpi (F3),(000),(01B) | AESDECWIDE256KL Qpi (F3),(000),(11B)
815da: vsm3msg1 Vdq,Hdq,Udq (v1) | vsm3msg2 Vdq,Hdq,Udq (66),(v1) | vsm4key4 Vx,Hx,Wx (F3),(v) | vsm4rnds4 Vx,Hx,Wx (F2),(v)
816db: VAESIMC Vdq,Wdq (66),(v1)
817dc: vaesenc Vx,Hx,Wx (66) | LOADIWKEY Vx,Hx (F3) | AESENC128KL Vpd,Qpi (F3)
818dd: vaesenclast Vx,Hx,Wx (66) | AESDEC128KL Vpd,Qpi (F3)
819de: vaesdec Vx,Hx,Wx (66) | AESENC256KL Vpd,Qpi (F3)
820df: vaesdeclast Vx,Hx,Wx (66) | AESDEC256KL Vpd,Qpi (F3)
821e0: CMPOXADD   My,Gy,By (66),(v1),(o64)
822e1: CMPNOXADD  My,Gy,By (66),(v1),(o64)
823e2: CMPBXADD   My,Gy,By (66),(v1),(o64)
824e3: CMPNBXADD  My,Gy,By (66),(v1),(o64)
825e4: CMPZXADD   My,Gy,By (66),(v1),(o64)
826e5: CMPNZXADD  My,Gy,By (66),(v1),(o64)
827e6: CMPBEXADD  My,Gy,By (66),(v1),(o64)
828e7: CMPNBEXADD My,Gy,By (66),(v1),(o64)
829e8: CMPSXADD   My,Gy,By (66),(v1),(o64)
830e9: CMPNSXADD  My,Gy,By (66),(v1),(o64)
831ea: CMPPXADD   My,Gy,By (66),(v1),(o64)
832eb: CMPNPXADD  My,Gy,By (66),(v1),(o64)
833ec: CMPLXADD   My,Gy,By (66),(v1),(o64)
834ed: CMPNLXADD  My,Gy,By (66),(v1),(o64)
835ee: CMPLEXADD  My,Gy,By (66),(v1),(o64)
836ef: CMPNLEXADD My,Gy,By (66),(v1),(o64)
837f0: MOVBE Gy,My | MOVBE Gw,Mw (66) | CRC32 Gd,Eb (F2) | CRC32 Gd,Eb (66&F2)
838f1: MOVBE My,Gy | MOVBE Mw,Gw (66) | CRC32 Gd,Ey (F2) | CRC32 Gd,Ew (66&F2)
839f2: ANDN Gy,By,Ey (v)
840f3: Grp17 (1A)
841f5: BZHI Gy,Ey,By (v) | PEXT Gy,By,Ey (F3),(v) | PDEP Gy,By,Ey (F2),(v) | WRUSSD/Q My,Gy (66)
842f6: ADCX Gy,Ey (66) | ADOX Gy,Ey (F3) | MULX By,Gy,rDX,Ey (F2),(v) | WRSSD/Q My,Gy
843f7: BEXTR Gy,Ey,By (v) | SHLX Gy,Ey,By (66),(v) | SARX Gy,Ey,By (F3),(v) | SHRX Gy,Ey,By (F2),(v)
844f8: MOVDIR64B Gv,Mdqq (66) | ENQCMD Gv,Mdqq (F2) | ENQCMDS Gv,Mdqq (F3) | URDMSR Rq,Gq (F2),(11B) | UWRMSR Gq,Rq (F3),(11B)
845f9: MOVDIRI My,Gy
846fa: ENCODEKEY128 Ew,Ew (F3)
847fb: ENCODEKEY256 Ew,Ew (F3)
848fc: AADD My,Gy | AAND My,Gy (66) | AOR My,Gy (F2) | AXOR My,Gy (F3)
849EndTable
850
851Table: 3-byte opcode 2 (0x0f 0x3a)
852Referrer: 3-byte escape 2
853AVXcode: 3
854# 0x0f 0x3a 0x00-0xff
85500: vpermq Vqq,Wqq,Ib (66),(v)
85601: vpermpd Vqq,Wqq,Ib (66),(v)
85702: vpblendd Vx,Hx,Wx,Ib (66),(v)
85803: valignd/q Vx,Hx,Wx,Ib (66),(ev)
85904: vpermilps Vx,Wx,Ib (66),(v)
86005: vpermilpd Vx,Wx,Ib (66),(v)
86106: vperm2f128 Vqq,Hqq,Wqq,Ib (66),(v)
86207:
86308: vroundps Vx,Wx,Ib (66) | vrndscaleps Vx,Wx,Ib (66),(evo) | vrndscaleph Vx,Wx,Ib (evo)
86409: vroundpd Vx,Wx,Ib (66) | vrndscalepd Vx,Wx,Ib (66),(evo)
8650a: vroundss Vss,Wss,Ib (66),(v1) | vrndscaless Vx,Hx,Wx,Ib (66),(evo) | vrndscalesh Vx,Hx,Wx,Ib (evo)
8660b: vroundsd Vsd,Wsd,Ib (66),(v1) | vrndscalesd Vx,Hx,Wx,Ib (66),(evo)
8670c: vblendps Vx,Hx,Wx,Ib (66)
8680d: vblendpd Vx,Hx,Wx,Ib (66)
8690e: vpblendw Vx,Hx,Wx,Ib (66),(v1)
8700f: palignr Pq,Qq,Ib | vpalignr Vx,Hx,Wx,Ib (66),(v1)
87114: vpextrb Rd/Mb,Vdq,Ib (66),(v1)
87215: vpextrw Rd/Mw,Vdq,Ib (66),(v1)
87316: vpextrd/q Ey,Vdq,Ib (66),(v1)
87417: vextractps Ed,Vdq,Ib (66),(v1)
87518: vinsertf128 Vqq,Hqq,Wqq,Ib (66),(v) | vinsertf32x4/64x2 Vqq,Hqq,Wqq,Ib (66),(evo)
87619: vextractf128 Wdq,Vqq,Ib (66),(v) | vextractf32x4/64x2 Wdq,Vqq,Ib (66),(evo)
8771a: vinsertf32x8/64x4 Vqq,Hqq,Wqq,Ib (66),(ev)
8781b: vextractf32x8/64x4 Wdq,Vqq,Ib (66),(ev)
8791d: vcvtps2ph Wx,Vx,Ib (66),(v)
8801e: vpcmpud/q Vk,Hd,Wd,Ib (66),(ev)
8811f: vpcmpd/q Vk,Hd,Wd,Ib (66),(ev)
88220: vpinsrb Vdq,Hdq,Ry/Mb,Ib (66),(v1)
88321: vinsertps Vdq,Hdq,Udq/Md,Ib (66),(v1)
88422: vpinsrd/q Vdq,Hdq,Ey,Ib (66),(v1)
88523: vshuff32x4/64x2 Vx,Hx,Wx,Ib (66),(ev)
88625: vpternlogd/q Vx,Hx,Wx,Ib (66),(ev)
88726: vgetmantps/d Vx,Wx,Ib (66),(ev) | vgetmantph Vx,Wx,Ib (ev)
88827: vgetmantss/d Vx,Hx,Wx,Ib (66),(ev) | vgetmantsh Vx,Hx,Wx,Ib (ev)
88930: kshiftrb/w Vk,Uk,Ib (66),(v)
89031: kshiftrd/q Vk,Uk,Ib (66),(v)
89132: kshiftlb/w Vk,Uk,Ib (66),(v)
89233: kshiftld/q Vk,Uk,Ib (66),(v)
89338: vinserti128 Vqq,Hqq,Wqq,Ib (66),(v) | vinserti32x4/64x2 Vqq,Hqq,Wqq,Ib (66),(evo)
89439: vextracti128 Wdq,Vqq,Ib (66),(v) | vextracti32x4/64x2 Wdq,Vqq,Ib (66),(evo)
8953a: vinserti32x8/64x4 Vqq,Hqq,Wqq,Ib (66),(ev)
8963b: vextracti32x8/64x4 Wdq,Vqq,Ib (66),(ev)
8973e: vpcmpub/w Vk,Hk,Wx,Ib (66),(ev)
8983f: vpcmpb/w Vk,Hk,Wx,Ib (66),(ev)
89940: vdpps Vx,Hx,Wx,Ib (66)
90041: vdppd Vdq,Hdq,Wdq,Ib (66),(v1)
90142: vmpsadbw Vx,Hx,Wx,Ib (66),(v1) | vdbpsadbw Vx,Hx,Wx,Ib (66),(evo)
90243: vshufi32x4/64x2 Vx,Hx,Wx,Ib (66),(ev)
90344: vpclmulqdq Vx,Hx,Wx,Ib (66)
90446: vperm2i128 Vqq,Hqq,Wqq,Ib (66),(v)
9054a: vblendvps Vx,Hx,Wx,Lx (66),(v)
9064b: vblendvpd Vx,Hx,Wx,Lx (66),(v)
9074c: vpblendvb Vx,Hx,Wx,Lx (66),(v1)
90850: vrangeps/d Vx,Hx,Wx,Ib (66),(ev)
90951: vrangess/d Vx,Hx,Wx,Ib (66),(ev)
91054: vfixupimmps/d Vx,Hx,Wx,Ib (66),(ev)
91155: vfixupimmss/d Vx,Hx,Wx,Ib (66),(ev)
91256: vreduceps/d Vx,Wx,Ib (66),(ev) | vreduceph Vx,Wx,Ib (ev)
91357: vreducess/d Vx,Hx,Wx,Ib (66),(ev) | vreducesh Vx,Hx,Wx,Ib (ev)
91460: vpcmpestrm Vdq,Wdq,Ib (66),(v1)
91561: vpcmpestri Vdq,Wdq,Ib (66),(v1)
91662: vpcmpistrm Vdq,Wdq,Ib (66),(v1)
91763: vpcmpistri Vdq,Wdq,Ib (66),(v1)
91866: vfpclassps/d Vk,Wx,Ib (66),(ev) | vfpclassph Vx,Wx,Ib (ev)
91967: vfpclassss/d Vk,Wx,Ib (66),(ev) | vfpclasssh Vx,Wx,Ib (ev)
92070: vpshldw Vx,Hx,Wx,Ib (66),(ev)
92171: vpshldd/q Vx,Hx,Wx,Ib (66),(ev)
92272: vpshrdw Vx,Hx,Wx,Ib (66),(ev)
92373: vpshrdd/q Vx,Hx,Wx,Ib (66),(ev)
924c2: vcmpph Vx,Hx,Wx,Ib (ev) | vcmpsh Vx,Hx,Wx,Ib (F3),(ev)
925cc: sha1rnds4 Vdq,Wdq,Ib
926ce: vgf2p8affineqb Vx,Wx,Ib (66)
927cf: vgf2p8affineinvqb Vx,Wx,Ib (66)
928de: vsm3rnds2 Vdq,Hdq,Wdq,Ib (66),(v1)
929df: VAESKEYGEN Vdq,Wdq,Ib (66),(v1)
930f0: RORX Gy,Ey,Ib (F2),(v) | HRESET Gv,Ib (F3),(000),(11B)
931EndTable
932
933Table: EVEX map 4
934Referrer:
935AVXcode: 4
93600: ADD Eb,Gb (ev)
93701: ADD Ev,Gv (es) | ADD Ev,Gv (66),(es)
93802: ADD Gb,Eb (ev)
93903: ADD Gv,Ev (es) | ADD Gv,Ev (66),(es)
94008: OR Eb,Gb (ev)
94109: OR Ev,Gv (es) | OR Ev,Gv (66),(es)
9420a: OR Gb,Eb (ev)
9430b: OR Gv,Ev (es) | OR Gv,Ev (66),(es)
94410: ADC Eb,Gb (ev)
94511: ADC Ev,Gv (es) | ADC Ev,Gv (66),(es)
94612: ADC Gb,Eb (ev)
94713: ADC Gv,Ev (es) | ADC Gv,Ev (66),(es)
94818: SBB Eb,Gb (ev)
94919: SBB Ev,Gv (es) | SBB Ev,Gv (66),(es)
9501a: SBB Gb,Eb (ev)
9511b: SBB Gv,Ev (es) | SBB Gv,Ev (66),(es)
95220: AND Eb,Gb (ev)
95321: AND Ev,Gv (es) | AND Ev,Gv (66),(es)
95422: AND Gb,Eb (ev)
95523: AND Gv,Ev (es) | AND Gv,Ev (66),(es)
95624: SHLD Ev,Gv,Ib (es) | SHLD Ev,Gv,Ib (66),(es)
95728: SUB Eb,Gb (ev)
95829: SUB Ev,Gv (es) | SUB Ev,Gv (66),(es)
9592a: SUB Gb,Eb (ev)
9602b: SUB Gv,Ev (es) | SUB Gv,Ev (66),(es)
9612c: SHRD Ev,Gv,Ib (es) | SHRD Ev,Gv,Ib (66),(es)
96230: XOR Eb,Gb (ev)
96331: XOR Ev,Gv (es) | XOR Ev,Gv (66),(es)
96432: XOR Gb,Eb (ev)
96533: XOR Gv,Ev (es) | XOR Gv,Ev (66),(es)
966# CCMPSCC instructions are: CCOMB, CCOMBE, CCOMF, CCOML, CCOMLE, CCOMNB, CCOMNBE, CCOMNL, CCOMNLE,
967#			    CCOMNO, CCOMNS, CCOMNZ, CCOMO, CCOMS, CCOMT, CCOMZ
96838: CCMPSCC Eb,Gb (ev)
96939: CCMPSCC Ev,Gv (es) | CCMPSCC Ev,Gv (66),(es)
9703a: CCMPSCC Gv,Ev (ev)
9713b: CCMPSCC Gv,Ev (es) | CCMPSCC Gv,Ev (66),(es)
97240: CMOVO   Gv,Ev (es) | CMOVO   Gv,Ev (66),(es) | CFCMOVO   Ev,Ev (es) | CFCMOVO   Ev,Ev (66),(es) | SETO   Eb (F2),(ev)
97341: CMOVNO  Gv,Ev (es) | CMOVNO  Gv,Ev (66),(es) | CFCMOVNO  Ev,Ev (es) | CFCMOVNO  Ev,Ev (66),(es) | SETNO  Eb (F2),(ev)
97442: CMOVB   Gv,Ev (es) | CMOVB   Gv,Ev (66),(es) | CFCMOVB   Ev,Ev (es) | CFCMOVB   Ev,Ev (66),(es) | SETB   Eb (F2),(ev)
97543: CMOVNB  Gv,Ev (es) | CMOVNB  Gv,Ev (66),(es) | CFCMOVNB  Ev,Ev (es) | CFCMOVNB  Ev,Ev (66),(es) | SETNB  Eb (F2),(ev)
97644: CMOVZ   Gv,Ev (es) | CMOVZ   Gv,Ev (66),(es) | CFCMOVZ   Ev,Ev (es) | CFCMOVZ   Ev,Ev (66),(es) | SETZ   Eb (F2),(ev)
97745: CMOVNZ  Gv,Ev (es) | CMOVNZ  Gv,Ev (66),(es) | CFCMOVNZ  Ev,Ev (es) | CFCMOVNZ  Ev,Ev (66),(es) | SETNZ  Eb (F2),(ev)
97846: CMOVBE  Gv,Ev (es) | CMOVBE  Gv,Ev (66),(es) | CFCMOVBE  Ev,Ev (es) | CFCMOVBE  Ev,Ev (66),(es) | SETBE  Eb (F2),(ev)
97947: CMOVNBE Gv,Ev (es) | CMOVNBE Gv,Ev (66),(es) | CFCMOVNBE Ev,Ev (es) | CFCMOVNBE Ev,Ev (66),(es) | SETNBE Eb (F2),(ev)
98048: CMOVS   Gv,Ev (es) | CMOVS   Gv,Ev (66),(es) | CFCMOVS   Ev,Ev (es) | CFCMOVS   Ev,Ev (66),(es) | SETS   Eb (F2),(ev)
98149: CMOVNS  Gv,Ev (es) | CMOVNS  Gv,Ev (66),(es) | CFCMOVNS  Ev,Ev (es) | CFCMOVNS  Ev,Ev (66),(es) | SETNS  Eb (F2),(ev)
9824a: CMOVP   Gv,Ev (es) | CMOVP   Gv,Ev (66),(es) | CFCMOVP   Ev,Ev (es) | CFCMOVP   Ev,Ev (66),(es) | SETP   Eb (F2),(ev)
9834b: CMOVNP  Gv,Ev (es) | CMOVNP  Gv,Ev (66),(es) | CFCMOVNP  Ev,Ev (es) | CFCMOVNP  Ev,Ev (66),(es) | SETNP  Eb (F2),(ev)
9844c: CMOVL   Gv,Ev (es) | CMOVL   Gv,Ev (66),(es) | CFCMOVL   Ev,Ev (es) | CFCMOVL   Ev,Ev (66),(es) | SETL   Eb (F2),(ev)
9854d: CMOVNL  Gv,Ev (es) | CMOVNL  Gv,Ev (66),(es) | CFCMOVNL  Ev,Ev (es) | CFCMOVNL  Ev,Ev (66),(es) | SETNL  Eb (F2),(ev)
9864e: CMOVLE  Gv,Ev (es) | CMOVLE  Gv,Ev (66),(es) | CFCMOVLE  Ev,Ev (es) | CFCMOVLE  Ev,Ev (66),(es) | SETLE  Eb (F2),(ev)
9874f: CMOVNLE Gv,Ev (es) | CMOVNLE Gv,Ev (66),(es) | CFCMOVNLE Ev,Ev (es) | CFCMOVNLE Ev,Ev (66),(es) | SETNLE Eb (F2),(ev)
98860: MOVBE Gv,Ev (es) | MOVBE Gv,Ev (66),(es)
98961: MOVBE Ev,Gv (es) | MOVBE Ev,Gv (66),(es)
99065: WRUSSD Md,Gd (66),(ev) | WRUSSQ Mq,Gq (66),(ev)
99166: ADCX Gy,Ey (66),(ev) | ADOX Gy,Ey (F3),(ev) | WRSSD Md,Gd (ev) | WRSSQ Mq,Gq (66),(ev)
99269: IMUL Gv,Ev,Iz (es) | IMUL Gv,Ev,Iz (66),(es)
9936b: IMUL Gv,Ev,Ib (es) | IMUL Gv,Ev,Ib (66),(es)
99480: Grp1 Eb,Ib (1A),(ev)
99581: Grp1 Ev,Iz (1A),(es)
99683: Grp1 Ev,Ib (1A),(es)
997# CTESTSCC instructions are: CTESTB, CTESTBE, CTESTF, CTESTL, CTESTLE, CTESTNB, CTESTNBE, CTESTNL,
998#			     CTESTNLE, CTESTNO, CTESTNS, CTESTNZ, CTESTO, CTESTS, CTESTT, CTESTZ
99984: CTESTSCC (ev)
100085: CTESTSCC (es) | CTESTSCC (66),(es)
100188: POPCNT Gv,Ev (es) | POPCNT Gv,Ev (66),(es)
10028f: POP2 Bq,Rq (000),(11B),(ev)
1003a5: SHLD Ev,Gv,CL (es) | SHLD Ev,Gv,CL (66),(es)
1004ad: SHRD Ev,Gv,CL (es) | SHRD Ev,Gv,CL (66),(es)
1005af: IMUL Gv,Ev (es) | IMUL Gv,Ev (66),(es)
1006c0: Grp2 Eb,Ib (1A),(ev)
1007c1: Grp2 Ev,Ib (1A),(es)
1008d0: Grp2 Eb,1 (1A),(ev)
1009d1: Grp2 Ev,1 (1A),(es)
1010d2: Grp2 Eb,CL (1A),(ev)
1011d3: Grp2 Ev,CL (1A),(es)
1012f0: CRC32 Gy,Eb (es) | INVEPT Gq,Mdq (F3),(ev)
1013f1: CRC32 Gy,Ey (es) | CRC32 Gy,Ey (66),(es) | INVVPID Gy,Mdq (F3),(ev)
1014f2: INVPCID Gy,Mdq (F3),(ev)
1015f4: TZCNT Gv,Ev (es) | TZCNT Gv,Ev (66),(es)
1016f5: LZCNT Gv,Ev (es) | LZCNT Gv,Ev (66),(es)
1017f6: Grp3_1 Eb (1A),(ev)
1018f7: Grp3_2 Ev (1A),(es)
1019f8: MOVDIR64B Gv,Mdqq (66),(ev) | ENQCMD Gv,Mdqq (F2),(ev) | ENQCMDS Gv,Mdqq (F3),(ev) | URDMSR Rq,Gq (F2),(11B),(ev) | UWRMSR Gq,Rq (F3),(11B),(ev)
1020f9: MOVDIRI My,Gy (ev)
1021fe: Grp4 (1A),(ev)
1022ff: Grp5 (1A),(es) | PUSH2 Bq,Rq (110),(11B),(ev)
1023EndTable
1024
1025Table: EVEX map 5
1026Referrer:
1027AVXcode: 5
102810: vmovsh Vx,Hx,Wx (F3),(ev) | vmovsh Vx,Wx (F3),(ev)
102911: vmovsh Wx,Hx,Vx (F3),(ev) | vmovsh Wx,Vx (F3),(ev)
10301d: vcvtps2phx Vx,Wx (66),(ev) | vcvtss2sh Vx,Hx,Wx (ev)
10312a: vcvtsi2sh Vx,Hx,Wx (F3),(ev)
10322c: vcvttsh2si Vx,Wx (F3),(ev)
10332d: vcvtsh2si Vx,Wx (F3),(ev)
10342e: vucomish Vx,Wx (ev)
10352f: vcomish Vx,Wx (ev)
103651: vsqrtph Vx,Wx (ev) | vsqrtsh Vx,Hx,Wx (F3),(ev)
103758: vaddph Vx,Hx,Wx (ev) | vaddsh Vx,Hx,Wx (F3),(ev)
103859: vmulph Vx,Hx,Wx (ev) | vmulsh Vx,Hx,Wx (F3),(ev)
10395a: vcvtpd2ph Vx,Wx (66),(ev) | vcvtph2pd Vx,Wx (ev) | vcvtsd2sh Vx,Hx,Wx (F2),(ev) | vcvtsh2sd Vx,Hx,Wx (F3),(ev)
10405b: vcvtdq2ph Vx,Wx (ev) | vcvtph2dq Vx,Wx (66),(ev) | vcvtqq2ph Vx,Wx (ev) | vcvttph2dq Vx,Wx (F3),(ev)
10415c: vsubph Vx,Hx,Wx (ev) | vsubsh Vx,Hx,Wx (F3),(ev)
10425d: vminph Vx,Hx,Wx (ev) | vminsh Vx,Hx,Wx (F3),(ev)
10435e: vdivph Vx,Hx,Wx (ev) | vdivsh Vx,Hx,Wx (F3),(ev)
10445f: vmaxph Vx,Hx,Wx (ev) | vmaxsh Vx,Hx,Wx (F3),(ev)
10456e: vmovw Vx,Wx (66),(ev)
104678: vcvttph2udq Vx,Wx (ev) | vcvttph2uqq Vx,Wx (66),(ev) | vcvttsh2usi Vx,Wx (F3),(ev)
104779: vcvtph2udq Vx,Wx (ev) | vcvtph2uqq Vx,Wx (66),(ev) | vcvtsh2usi Vx,Wx (F3),(ev)
10487a: vcvttph2qq Vx,Wx (66),(ev) | vcvtudq2ph Vx,Wx (F2),(ev) | vcvtuqq2ph Vx,Wx (F2),(ev)
10497b: vcvtph2qq Vx,Wx (66),(ev) | vcvtusi2sh Vx,Hx,Wx (F3),(ev)
10507c: vcvttph2uw Vx,Wx (ev) | vcvttph2w Vx,Wx (66),(ev)
10517d: vcvtph2uw Vx,Wx (ev) | vcvtph2w Vx,Wx (66),(ev) | vcvtuw2ph Vx,Wx (F2),(ev) | vcvtw2ph Vx,Wx (F3),(ev)
10527e: vmovw Wx,Vx (66),(ev)
1053EndTable
1054
1055Table: EVEX map 6
1056Referrer:
1057AVXcode: 6
105813: vcvtph2psx Vx,Wx (66),(ev) | vcvtsh2ss Vx,Hx,Wx (ev)
10592c: vscalefph Vx,Hx,Wx (66),(ev)
10602d: vscalefsh Vx,Hx,Wx (66),(ev)
106142: vgetexpph Vx,Wx (66),(ev)
106243: vgetexpsh Vx,Hx,Wx (66),(ev)
10634c: vrcpph Vx,Wx (66),(ev)
10644d: vrcpsh Vx,Hx,Wx (66),(ev)
10654e: vrsqrtph Vx,Wx (66),(ev)
10664f: vrsqrtsh Vx,Hx,Wx (66),(ev)
106756: vfcmaddcph Vx,Hx,Wx (F2),(ev) | vfmaddcph Vx,Hx,Wx (F3),(ev)
106857: vfcmaddcsh Vx,Hx,Wx (F2),(ev) | vfmaddcsh Vx,Hx,Wx (F3),(ev)
106996: vfmaddsub132ph Vx,Hx,Wx (66),(ev)
107097: vfmsubadd132ph Vx,Hx,Wx (66),(ev)
107198: vfmadd132ph Vx,Hx,Wx (66),(ev)
107299: vfmadd132sh Vx,Hx,Wx (66),(ev)
10739a: vfmsub132ph Vx,Hx,Wx (66),(ev)
10749b: vfmsub132sh Vx,Hx,Wx (66),(ev)
10759c: vfnmadd132ph Vx,Hx,Wx (66),(ev)
10769d: vfnmadd132sh Vx,Hx,Wx (66),(ev)
10779e: vfnmsub132ph Vx,Hx,Wx (66),(ev)
10789f: vfnmsub132sh Vx,Hx,Wx (66),(ev)
1079a6: vfmaddsub213ph Vx,Hx,Wx (66),(ev)
1080a7: vfmsubadd213ph Vx,Hx,Wx (66),(ev)
1081a8: vfmadd213ph Vx,Hx,Wx (66),(ev)
1082a9: vfmadd213sh Vx,Hx,Wx (66),(ev)
1083aa: vfmsub213ph Vx,Hx,Wx (66),(ev)
1084ab: vfmsub213sh Vx,Hx,Wx (66),(ev)
1085ac: vfnmadd213ph Vx,Hx,Wx (66),(ev)
1086ad: vfnmadd213sh Vx,Hx,Wx (66),(ev)
1087ae: vfnmsub213ph Vx,Hx,Wx (66),(ev)
1088af: vfnmsub213sh Vx,Hx,Wx (66),(ev)
1089b6: vfmaddsub231ph Vx,Hx,Wx (66),(ev)
1090b7: vfmsubadd231ph Vx,Hx,Wx (66),(ev)
1091b8: vfmadd231ph Vx,Hx,Wx (66),(ev)
1092b9: vfmadd231sh Vx,Hx,Wx (66),(ev)
1093ba: vfmsub231ph Vx,Hx,Wx (66),(ev)
1094bb: vfmsub231sh Vx,Hx,Wx (66),(ev)
1095bc: vfnmadd231ph Vx,Hx,Wx (66),(ev)
1096bd: vfnmadd231sh Vx,Hx,Wx (66),(ev)
1097be: vfnmsub231ph Vx,Hx,Wx (66),(ev)
1098bf: vfnmsub231sh Vx,Hx,Wx (66),(ev)
1099d6: vfcmulcph Vx,Hx,Wx (F2),(ev) | vfmulcph Vx,Hx,Wx (F3),(ev)
1100d7: vfcmulcsh Vx,Hx,Wx (F2),(ev) | vfmulcsh Vx,Hx,Wx (F3),(ev)
1101EndTable
1102
1103Table: VEX map 7
1104Referrer:
1105AVXcode: 7
1106f8: URDMSR Rq,Id (F2),(v1),(11B) | UWRMSR Id,Rq (F3),(v1),(11B)
1107EndTable
1108
1109GrpTable: Grp1
11100: ADD
11111: OR
11122: ADC
11133: SBB
11144: AND
11155: SUB
11166: XOR
11177: CMP
1118EndTable
1119
1120GrpTable: Grp1A
11210: POP
1122EndTable
1123
1124GrpTable: Grp2
11250: ROL
11261: ROR
11272: RCL
11283: RCR
11294: SHL/SAL
11305: SHR
11316:
11327: SAR
1133EndTable
1134
1135GrpTable: Grp3_1
11360: TEST Eb,Ib
11371: TEST Eb,Ib
11382: NOT Eb
11393: NEG Eb
11404: MUL AL,Eb
11415: IMUL AL,Eb
11426: DIV AL,Eb
11437: IDIV AL,Eb
1144EndTable
1145
1146GrpTable: Grp3_2
11470: TEST Ev,Iz
11481: TEST Ev,Iz
11492: NOT Ev
11503: NEG Ev
11514: MUL rAX,Ev
11525: IMUL rAX,Ev
11536: DIV rAX,Ev
11547: IDIV rAX,Ev
1155EndTable
1156
1157GrpTable: Grp4
11580: INC Eb
11591: DEC Eb
1160EndTable
1161
1162GrpTable: Grp5
11630: INC Ev
11641: DEC Ev
1165# Note: "forced64" is Intel CPU behavior (see comment about CALL insn).
11662: CALLN Ev (f64)
11673: CALLF Ep
11684: JMPN Ev (f64)
11695: JMPF Mp
11706: PUSH Ev (d64)
11717:
1172EndTable
1173
1174GrpTable: Grp6
11750: SLDT Rv/Mw
11761: STR Rv/Mw
11772: LLDT Ew
11783: LTR Ew
11794: VERR Ew
11805: VERW Ew
11816: LKGS Ew (F2)
1182EndTable
1183
1184GrpTable: Grp7
11850: SGDT Ms | VMCALL (001),(11B) | VMLAUNCH (010),(11B) | VMRESUME (011),(11B) | VMXOFF (100),(11B) | PCONFIG (101),(11B) | ENCLV (000),(11B) | WRMSRNS (110),(11B) | RDMSRLIST (F2),(110),(11B) | WRMSRLIST (F3),(110),(11B) | PBNDKB (111),(11B)
11861: SIDT Ms | MONITOR (000),(11B) | MWAIT (001),(11B) | CLAC (010),(11B) | STAC (011),(11B) | ENCLS (111),(11B) | ERETU (F3),(010),(11B) | ERETS (F2),(010),(11B)
11872: LGDT Ms | XGETBV (000),(11B) | XSETBV (001),(11B) | VMFUNC (100),(11B) | XEND (101)(11B) | XTEST (110)(11B) | ENCLU (111),(11B)
11883: LIDT Ms
11894: SMSW Mw/Rv
11905: rdpkru (110),(11B) | wrpkru (111),(11B) | SAVEPREVSSP (F3),(010),(11B) | RSTORSSP Mq (F3) | SETSSBSY (F3),(000),(11B) | CLUI (F3),(110),(11B) | SERIALIZE (000),(11B) | STUI (F3),(111),(11B) | TESTUI (F3)(101)(11B) | UIRET (F3),(100),(11B) | XRESLDTRK (F2),(000),(11B) | XSUSLDTRK (F2),(001),(11B)
11916: LMSW Ew
11927: INVLPG Mb | SWAPGS (o64),(000),(11B) | RDTSCP (001),(11B)
1193EndTable
1194
1195GrpTable: Grp8
11964: BT
11975: BTS
11986: BTR
11997: BTC
1200EndTable
1201
1202GrpTable: Grp9
12031: CMPXCHG8B/16B Mq/Mdq
12043: xrstors
12054: xsavec
12065: xsaves
12076: VMPTRLD Mq | VMCLEAR Mq (66) | VMXON Mq (F3) | RDRAND Rv (11B) | SENDUIPI Gq (F3)
12087: VMPTRST Mq | VMPTRST Mq (F3) | RDSEED Rv (11B)
1209EndTable
1210
1211GrpTable: Grp10
1212# all are UD1
12130: UD1
12141: UD1
12152: UD1
12163: UD1
12174: UD1
12185: UD1
12196: UD1
12207: UD1
1221EndTable
1222
1223# Grp11A and Grp11B are expressed as Grp11 in Intel SDM
1224GrpTable: Grp11A
12250: MOV Eb,Ib
12267: XABORT Ib (000),(11B)
1227EndTable
1228
1229GrpTable: Grp11B
12300: MOV Eb,Iz
12317: XBEGIN Jz (000),(11B)
1232EndTable
1233
1234GrpTable: Grp12
12352: psrlw Nq,Ib (11B) | vpsrlw Hx,Ux,Ib (66),(11B),(v1)
12364: psraw Nq,Ib (11B) | vpsraw Hx,Ux,Ib (66),(11B),(v1)
12376: psllw Nq,Ib (11B) | vpsllw Hx,Ux,Ib (66),(11B),(v1)
1238EndTable
1239
1240GrpTable: Grp13
12410: vprord/q Hx,Wx,Ib (66),(ev)
12421: vprold/q Hx,Wx,Ib (66),(ev)
12432: psrld Nq,Ib (11B) | vpsrld Hx,Ux,Ib (66),(11B),(v1)
12444: psrad Nq,Ib (11B) | vpsrad Hx,Ux,Ib (66),(11B),(v1) | vpsrad/q Hx,Ux,Ib (66),(evo)
12456: pslld Nq,Ib (11B) | vpslld Hx,Ux,Ib (66),(11B),(v1)
1246EndTable
1247
1248GrpTable: Grp14
12492: psrlq Nq,Ib (11B) | vpsrlq Hx,Ux,Ib (66),(11B),(v1)
12503: vpsrldq Hx,Ux,Ib (66),(11B),(v1)
12516: psllq Nq,Ib (11B) | vpsllq Hx,Ux,Ib (66),(11B),(v1)
12527: vpslldq Hx,Ux,Ib (66),(11B),(v1)
1253EndTable
1254
1255GrpTable: Grp15
12560: fxsave | RDFSBASE Ry (F3),(11B)
12571: fxstor | RDGSBASE Ry (F3),(11B)
12582: vldmxcsr Md (v1) | WRFSBASE Ry (F3),(11B)
12593: vstmxcsr Md (v1) | WRGSBASE Ry (F3),(11B)
12604: XSAVE | ptwrite Ey (F3),(11B)
12615: XRSTOR | lfence (11B) | INCSSPD/Q Ry (F3),(11B)
12626: XSAVEOPT | clwb (66) | mfence (11B) | TPAUSE Rd (66),(11B) | UMONITOR Rv (F3),(11B) | UMWAIT Rd (F2),(11B) | CLRSSBSY Mq (F3)
12637: clflush | clflushopt (66) | sfence (11B)
1264EndTable
1265
1266GrpTable: Grp16
12670: prefetch NTA
12681: prefetch T0
12692: prefetch T1
12703: prefetch T2
12716: prefetch IT1
12727: prefetch IT0
1273EndTable
1274
1275GrpTable: Grp17
12761: BLSR By,Ey (v)
12772: BLSMSK By,Ey (v)
12783: BLSI By,Ey (v)
1279EndTable
1280
1281GrpTable: Grp18
12821: vgatherpf0dps/d Wx (66),(ev)
12832: vgatherpf1dps/d Wx (66),(ev)
12845: vscatterpf0dps/d Wx (66),(ev)
12856: vscatterpf1dps/d Wx (66),(ev)
1286EndTable
1287
1288GrpTable: Grp19
12891: vgatherpf0qps/d Wx (66),(ev)
12902: vgatherpf1qps/d Wx (66),(ev)
12915: vscatterpf0qps/d Wx (66),(ev)
12926: vscatterpf1qps/d Wx (66),(ev)
1293EndTable
1294
1295GrpTable: Grp20
12960: cldemote Mb
1297EndTable
1298
1299GrpTable: Grp21
13001: RDSSPD/Q Ry (F3),(11B)
13017: ENDBR64 (F3),(010),(11B) | ENDBR32 (F3),(011),(11B)
1302EndTable
1303
1304# AMD's Prefetch Group
1305GrpTable: GrpP
13060: PREFETCH
13071: PREFETCHW
1308EndTable
1309
1310GrpTable: GrpPDLK
13110: MONTMUL
13121: XSHA1
13132: XSHA2
1314EndTable
1315
1316GrpTable: GrpRNG
13170: xstore-rng
13181: xcrypt-ecb
13192: xcrypt-cbc
13204: xcrypt-cfb
13215: xcrypt-ofb
1322EndTable
1323