instrs: Add MMX PSHUFW instruction

This commit is contained in:
Alexis Engelke
2021-01-10 14:02:39 +01:00
parent dd4263b169
commit c87264ace3
2 changed files with 3 additions and 0 deletions

View File

@@ -487,6 +487,7 @@ NP.0f6b RM MMX MMX - - MMX_PACKSSDW
NP.W0.0f6e RM MMX GP32 - - MMX_MOVD
NP.W1.0f6e RM MMX GP64 - - MMX_MOVQ
NP.0f6f RM MMX MMX - - MMX_MOVQ
NP.0f70 RMI MMX MMX IMM8 - MMX_PSHUFW
NP.0f71/2r MI MMX IMM8 - - MMX_PSRLW
NP.0f71/4r MI MMX IMM8 - - MMX_PSRAW
NP.0f71/6r MI MMX IMM8 - - MMX_PSLLW

View File

@@ -296,6 +296,8 @@ main(int argc, char** argv)
TEST64("\x0f\xae\xe8", "lfence");
TEST("\x0f\x70\xc0\x85", "pshufw mm0, mm0, 0x85");
TEST("\xf3\x0f\x2a\xc1", "cvtsi2ss xmm0, ecx");
TEST("\xf3\x66\x0f\x2a\xc1", "cvtsi2ss xmm0, ecx");
TEST("\x66\xf3\x0f\x2a\xc1", "cvtsi2ss xmm0, ecx");