summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/movd.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/movd.asm b/test/movd.asm
new file mode 100644
index 00000000..42df0af9
--- /dev/null
+++ b/test/movd.asm
@@ -0,0 +1,12 @@
+;Testname=optimized; Arguments=-Ox -fbin -omovd.bin; Files=stdout stderr movd.bin
+[BITS 32]
+ movd mm0,eax
+ movd mm0,[eax]
+ movd [eax],mm0
+ movd eax,mm0
+
+ movd xmm0,eax
+ movd xmm0,[eax]
+
+ movd [eax],xmm0
+ movd eax,xmm0