summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/sse3.scm
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/sassy/tests/sse3.scm')
-rw-r--r--test-suite/standalone/sassy/tests/sse3.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/sse3.scm b/test-suite/standalone/sassy/tests/sse3.scm
new file mode 100644
index 000000000..20529d7fc
--- /dev/null
+++ b/test-suite/standalone/sassy/tests/sse3.scm
@@ -0,0 +1,18 @@
+(
+(monitor)
+(mwait)
+(lddqu xmm0 (& edx))
+; (fisttp (dword (& edx))) nasm, ndisasm, and objdump all disagree about these
+; (fisttp (word (& edx))) but I've double checked, and they should be right
+; (fisttp (qword (& edx))) (unless the INTEL documentation is wrong)
+(movddup xmm0 xmm1)
+(addsubps xmm0 xmm1)
+(addsubpd xmm2 (& edx))
+(haddps xmm0 xmm1)
+(hsubps xmm2 (& edx))
+(haddpd xmm0 xmm1)
+(hsubpd xmm2 (& edx))
+(movshdup xmm0 xmm1)
+(movsldup xmm2 (& edx))
+(movddup xmm0 (& edx))
+)