Skip to content

Commit

Permalink
update QEMU tests with paddq and IMM psrlq/psllq
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMerrill committed May 31, 2020
1 parent 9f0835a commit 27f512d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions tests/e2e/qemu/expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4358,6 +4358,8 @@ pcmpeqb : a=dc515cff944a58ec456723c698694873 b=41f21efba9e3e1461f297ccd58bad7ab
pcmpeqb : a=231be9e8cde7438d007c62c2085427f8 b=c233e9e8c4c9439a0f76255a085427f8 r=0000ffff0000ff0000000000ffffffff
pcmpeqd : a=dc515cff944a58ec456723c698694873 b=41f21efba9e3e1461f297ccd58bad7ab r=00000000000000000000000000000000
pcmpeqd : a=231be9e8cde7438d007c62c2085427f8 b=c233e9e8c4c9439a0f76255a085427f8 r=000000000000000000000000ffffffff
paddq : a=dc515cff944a58ec456723c698694873 b=41f21efba9e3e1461f297ccd58bad7ab r=1e437bfb3e2e3a326490a093f124201e
paddq : a=231be9e8cde7438d007c62c2085427f8 b=c233e9e8c4c9439a0f76255a085427f8 r=e54fd3d192b087270ff2881c10a84ff0
pxor : a=dc515cff944a58ec456723c698694873 b=41f21efba9e3e1461f297ccd58bad7ab r=9da342043da9b9aa5a4e5f0bc0d39fd8
pxor : a=231be9e8cde7438d007c62c2085427f8 b=c233e9e8c4c9439a0f76255a085427f8 r=e1280000092e00170f0a479800000000
pextrw : r=0000944a
Expand All @@ -4366,6 +4368,14 @@ pshufd : a=dc515cff944a58ec456723c698694873 ib=78 r=456723c6dc515cff944a58ec98
pshufd : a=231be9e8cde7438d007c62c2085427f8 ib=78 r=007c62c2231be9e8cde7438d085427f8
pshuflw : a=dc515cff944a58ec456723c698694873 ib=78 r=dc515cff944a58ec9869456723c64873
pshuflw : a=231be9e8cde7438d007c62c2085427f8 ib=78 r=231be9e8cde7438d0854007c62c227f8
psrlq : a=dc515cff944a58ec456723c698694873 ib=10 r=0000dc515cff944a0000456723c69869
psrlq : a=231be9e8cde7438d007c62c2085427f8 ib=10 r=0000231be9e8cde70000007c62c20854
psrlq : a=dc515cff944a58ec456723c698694873 ib=07 r=01b8a2b9ff2894b1008ace478d30d290
psrlq : a=231be9e8cde7438d007c62c2085427f8 ib=07 r=004637d3d19bce870000f8c58410a84f
psllq : a=dc515cff944a58ec456723c698694873 ib=10 r=5cff944a58ec000023c6986948730000
psllq : a=231be9e8cde7438d007c62c2085427f8 ib=10 r=e9e8cde7438d000062c2085427f80000
psllq : a=dc515cff944a58ec456723c698694873 ib=07 r=28ae7fca252c7600b391e34c34a43980
psllq : a=231be9e8cde7438d007c62c2085427f8 ib=07 r=8df4f466f3a1c6803e3161042a13fc00
cvtsd2ss : a=231be9e8cde7438d007c62c2085427f8 r=231be9e8cde7438d007c62c200000000
cvttsd2si: a=231be9e8cde7438d007c62c2085427f8 r=00000000
cvtsi2sd : a=085427f8 r=231be9e8cde7438d41a0a84ff0000000
6 changes: 5 additions & 1 deletion tests/e2e/qemu/qemu-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,7 @@ void test_sse(void)
// MMX_OP2(pcmpeqw);
SSE_OP2(pcmpeqd);

// MMX_OP2(paddq);
SSE_OP2(paddq);
// MMX_OP2(pmullw);
// MMX_OP2(psubusb);
// MMX_OP2(psubusw);
Expand Down Expand Up @@ -2543,6 +2543,10 @@ void test_sse(void)
// SHIFT_IM(psrldq, 7);
// SHIFT_IM(pslldq, 16);
// SHIFT_IM(pslldq, 7);
SHIFT_IM(psrlq, 16);
SHIFT_IM(psrlq, 7);
SHIFT_IM(psllq, 16);
SHIFT_IM(psllq, 7);

// MOVMSK(movmskps);
// MOVMSK(movmskpd);
Expand Down

0 comments on commit 27f512d

Please sign in to comment.