x86 architecture
L1OM opcodes




note: KNF L1OM used VXCSR and V0...V31 instead of MXCSR and ZMM0...ZMM31, and KNC K1OM aka MVEX replaced it



62h
 
XBRW_oooo
 
x0h
 
x1h x2h x3h x4h x5h x6h x7h
 
1???_xh
 
BSFI
Gv,Rv
BSRI
Gv,Rv
BSFF
Gv,Rv
BSRF
Gv,Rv
BITINTERLEAVE11
Gv,Rv
BITINTERLEAVE21
Gv,Rv
INSERTFIELD
Gv,Rv,Iw,Ib,Ib
ROTATEFIELD
Gv,Rv,Iw,Ib,Ib
62h
 
XBRW_oooo
 
x8h
 
x9h xAh xBh xCh xDh xEh xFh
 
1???_xh
 
COUNTBITS
Gv,Rv
QUADMASK16
Gv,Rv
unused
   VPREFETCHn M = disp8*N
 VPREFETCH1 /n bits 0/1/2 = {EX}/{NT}/{MISS}
 VPREFETCH2 /n bits 0/1 = {EX}/{NT}
??00_Bh /n
??01_Bh /n

VPREFETCH1 M
VPREFETCH2 M
1100_Dh
 

VKAND
mKw,rKw
1100_Eh
 

VKOR
mKw,rKw
1?0?_Fh /0
1?0?_Fh /1

DELAY Rv
SPFLT Rv
??10_Bh /0...3
 

CLEVICT1 M
CLEVICT2 M
LDVXCSR Md
STVXCSR Md
1?01_Ch
 

VKMOV
Rz,rKw
1101_Dh
 

VKANDN
mKw,rKw
1101_Eh
 

VKORTEST
mKw,rKw
11?0_Ch
 

VKMOV
mKw,Gz
1110_Dh
 

VKANDNR
mKw,rKw
1110_Eh
 

VKXOR
mKw,rKw
1110_Fh
 

VKSWAPB
mKw,rKw
1111_Bh
 

VKMOVLHB
mKw,rKw
1111_Ch
 

VKMOV
mKw,rKw
1111_Dh
 

VKNOT
mKw,rKw
1111_Eh
 

VKXNOR
mKw,rKw
1111_Fh
 

unused
 



pre-
fix
D6
...
xxh
 
x0h
 
x1h x2h x3h x4h x5h x6h x7h
 
n/a
 
0xh DELAY
vvvvv
 
66h
 
 
n/a
 
1xh VLOADD
Vz {Kw},
Uld32(Mzt)
VLO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