aboutsummaryrefslogtreecommitdiff
path: root/modules/arch/x86/tests/movdq32.asm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/arch/x86/tests/movdq32.asm')
-rw-r--r--modules/arch/x86/tests/movdq32.asm21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/arch/x86/tests/movdq32.asm b/modules/arch/x86/tests/movdq32.asm
new file mode 100644
index 0000000..c000e58
--- /dev/null
+++ b/modules/arch/x86/tests/movdq32.asm
@@ -0,0 +1,21 @@
+[bits 32]
+movd eax, mm0
+movd mm0, eax
+movd [0], mm0
+movd mm0, [0]
+
+movd eax, xmm0
+movd xmm0, eax
+movd [0], xmm0
+movd xmm0, [0]
+
+movq [0], xmm0
+movq xmm0, [0]
+movq xmm0, xmm1
+movq xmm1, xmm0
+
+movq [0], mm0
+movq mm0, [0]
+movq mm0, mm1
+movq mm1, mm0
+