1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-10-31 20:39:14 +00:00
bddisasm/isagenerator/instructions/table_0F_3A.dat
BITDEFENDER\vlutas 9ba1e6a2f9 Added support for new Intel instructions, per Intel ISA extensions document #319433-046 (September 2022): PREFETCHITI, RAO-INT, CMPCCXADD, WRMSRNS, MSRLIST, AMX-FP16, AVX-IFMA, AVX-NE-CONVERT, AVX-VNNI-INT8.
Multiple minor fixes to existing instructions.
Moved x86 decoding tests in a separate directory & improved the test script.
2022-10-04 12:22:59 +03:00

72 lines
5.4 KiB
Plaintext

# Mnemonic Explicit Operands Implicit Encoding Flags, Prefixes, Set, Category, Class, RW map, Additional ops
#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# 0x00 - 0x0F
ROUNDPS Vx,Wx,Ib nil [ 0x66 0x0F 0x3A 0x08 /r ib] s:SSE4, t:SSE, w:W|R|R, e:2
ROUNDPD Vx,Wx,Ib nil [ 0x66 0x0F 0x3A 0x09 /r ib] s:SSE4, t:SSE, w:W|R|R, e:2
ROUNDSS Vss,Wss,Ib nil [ 0x66 0x0F 0x3A 0x0A /r ib] s:SSE4, t:SSE, w:W|R|R, e:3
ROUNDSD Vsd,Wsd,Ib nil [ 0x66 0x0F 0x3A 0x0B /r ib] s:SSE4, t:SSE, w:W|R|R, e:3
BLENDPS Vx,Wx,Ib nil [ 0x66 0x0F 0x3A 0x0C /r ib] s:SSE4, t:SSE, w:RW|R|R, e:4
BLENDPD Vx,Wx,Ib nil [ 0x66 0x0F 0x3A 0x0D /r ib] s:SSE4, t:SSE, w:RW|R|R, e:4
PBLENDW Vx,Wx,Ib nil [ 0x66 0x0F 0x3A 0x0E /r ib] s:SSE4, t:SSE, w:RW|R|R, e:4
PALIGNR Pq,Qq,Ib nil [ NP 0x0F 0x3A 0x0F /r ib] s:SSSE3, t:MMX, w:RW|R|R
PALIGNR Vx,Wx,Ib nil [ 0x66 0x0F 0x3A 0x0F /r ib] s:SSSE3, t:SSE, w:RW|R|R, e:4
# 0x10 - 0x1F
# TODO: for PEXTRx, a smaller size is accessed, in fact.
PEXTRB Mb,Vdq,Ib nil [ 0x66 0x0F 0x3A 0x14 /r:mem ib] s:SSE4, t:SSE, w:W|R|R, e:5
PEXTRB Ry,Vdq,Ib nil [ 0x66 0x0F 0x3A 0x14 /r:reg ib] s:SSE4, t:SSE, w:W|R|R, e:5, a:D64
PEXTRW Mw,Vdq,Ib nil [ 0x66 0x0F 0x3A 0x15 /r:mem ib] s:SSE4, t:SSE, w:W|R|R, e:5
PEXTRW Ry,Vdq,Ib nil [ 0x66 0x0F 0x3A 0x15 /r:reg ib] s:SSE4, t:SSE, w:W|R|R, e:5, a:D64
PEXTRD Md,Vdq,Ib nil [ 0x66 0x0F 0x3A 0x16 /r:mem ib] s:SSE4, t:SSE, w:W|R|R, e:5
PEXTRD Ry,Vdq,Ib nil [ 0x66 0x0F 0x3A 0x16 /r:reg ib] s:SSE4, t:SSE, w:W|R|R, e:5, a:D64
PEXTRQ Mq,Vdq,Ib nil [ rexw 0x66 0x0F 0x3A 0x16 /r:mem ib] s:SSE4, t:SSE, w:W|R|R, e:5
PEXTRQ Ry,Vdq,Ib nil [ rexw 0x66 0x0F 0x3A 0x16 /r:reg ib] s:SSE4, t:SSE, w:W|R|R, e:5
EXTRACTPS Ed,Vdq,Ib nil [ 0x66 0x0F 0x3A 0x17 /r ib] s:SSE4, t:SSE, w:W|R|R, e:5
# 0x20 - 0x2F
PINSRB Vdq,Mb,Ib nil [ 0x66 0x0F 0x3A 0x20 /r:mem ib] s:SSE4, t:SSE, w:RW|R|R, e:5
PINSRB Vdq,Ry,Ib nil [ 0x66 0x0F 0x3A 0x20 /r:reg ib] s:SSE4, t:SSE, w:RW|R|R, e:5
INSERTPS Vdq,Md,Ib nil [ 0x66 0x0F 0x3A 0x21 /r:mem ib] s:SSE4, t:SSE, w:RW|R|R, e:5
INSERTPS Vdq,Udq,Ib nil [ 0x66 0x0F 0x3A 0x21 /r:reg ib] s:S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