summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/fp1.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/sassy/tests/fp1.asm')
-rw-r--r--test-suite/standalone/sassy/tests/fp1.asm21
1 files changed, 21 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/fp1.asm b/test-suite/standalone/sassy/tests/fp1.asm
new file mode 100644
index 000000000..384bb750c
--- /dev/null
+++ b/test-suite/standalone/sassy/tests/fp1.asm
@@ -0,0 +1,21 @@
+BITS 32
+section .text
+foo:
+fadd dword [eax]
+fsub qword [ebx]
+fsubr st0, st4
+fmul st7, st0
+fdiv dword [eax]
+fdivr qword [ebx]
+fdivrp st2, st0
+fdivp st2, st0
+fmulp st2, st0
+fsubp st3, st0
+fsubrp st2, st0
+faddp st4, st0
+fimul dword [eax]
+fiadd word [ebx]
+fidiv word [ebx]
+fidivr dword [eax]
+fisub word [ebx]
+fisubr dword [eax]