summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2011-06-26 01:53:38 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2011-06-26 01:53:38 +0400
commit767a4e8313185326a00bc771b0086a3bb258c910 (patch)
treec52f928cad7849e0ac12a3118e20a6e6aac0482d
parented33be2519ec15770a1ff0ab39b9d485246f3334 (diff)
downloadnasm-767a4e8313185326a00bc771b0086a3bb258c910.tar.gz
nasm-767a4e8313185326a00bc771b0086a3bb258c910.tar.bz2
nasm-767a4e8313185326a00bc771b0086a3bb258c910.zip
test: Add movd.asm
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-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 0000000..42df0af
--- /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