aboutsummaryrefslogtreecommitdiff
path: root/ia32/float
diff options
context:
space:
mode:
Diffstat (limited to 'ia32/float')
-rw-r--r--ia32/float/control.sts19
-rw-r--r--ia32/float/float.sts3
-rw-r--r--ia32/float/math.sts32
-rw-r--r--ia32/float/stack.sts25
4 files changed, 0 insertions, 79 deletions
diff --git a/ia32/float/control.sts b/ia32/float/control.sts
deleted file mode 100644
index 3863f5f..0000000
--- a/ia32/float/control.sts
+++ /dev/null
@@ -1,19 +0,0 @@
-defasm float_init
- # 9b ?' ; wait
- # db ?' # e3 ?' ; fninit
-next
-
-defasm float_cload
- # d9 ?' # 2c ?' # 24 ?' ; fldcw [esp]
- # 58 ?' ; pop eax
-next
-
-defasm float_sstore
- # 9b ?' # df ?' # e0 ?' ; fstsw ax
- # 50 ?' ; push eax
-next
-
-defasm float_cstore
- # 50 ?' ; push eax
- # d9 ?' # 3c ?' # 24 ?' ; fstcw [esp]
-next
diff --git a/ia32/float/float.sts b/ia32/float/float.sts
deleted file mode 100644
index d6907ca..0000000
--- a/ia32/float/float.sts
+++ /dev/null
@@ -1,3 +0,0 @@
-module ia32/float/control.sts
-module ia32/float/stack.sts
-module ia32/float/math.sts
diff --git a/ia32/float/math.sts b/ia32/float/math.sts
deleted file mode 100644
index d02b491..0000000
--- a/ia32/float/math.sts
+++ /dev/null
@@ -1,32 +0,0 @@
-defasm float_add
- # de ?' # c1 ?' ; faddp st1, st0
-next
-
-defasm float_sub
- # de ?' # e9 ?' ; fsubp st1, st0
-next
-
-defasm float_mul
- # de ?' # c9 ?' ; fmullp st1, st0
-next
-
-defasm float_div
- # de ?' # f9 ?' ; fdivp st1, st0
-next
-
-defasm float_sqrt
- # d9 ?' # fa ?' ; fsqrt
-next
-
-defasm float_more
- # de ?' # d9 ?' ; fcompp
- # 9b ?' # df ?' # e0 ?' ; fstsw ax
- # 25 ?' # 100 ?. ; and eax, 0x100
- # c1 ?' # e8 ?' # 8 ?' ; shr eax, 8
- # 50 ?' ; push eax
-next
-
-defword float_less
- float_more
- 0 =
-exit
diff --git a/ia32/float/stack.sts b/ia32/float/stack.sts
deleted file mode 100644
index 8c16fef..0000000
--- a/ia32/float/stack.sts
+++ /dev/null
@@ -1,25 +0,0 @@
-defasm float_fload
- # d9 ?' # 04 ?' # 24 ?' ; fld dword [esp]
- # 58 ?' ; pop eax
-next
-
-defasm float_iload
- # db ?' # 04 ?' # 24 ?' ; fild dword [esp]
- # 58 ?' ; pop eax
-next
-
-defasm float_dload
- # df ?' # 2c ?' # 24 ?' ; fild qword [esp]
- # 58 ?' ; pop eax
- # 58 ?' ; pop eax
-next
-
-defasm float_fstore
- # 50 ?' ; push eax
- # d9 ?' # 1c ?' # 24 ?' ; fstp dword [esp]
-next
-
-defasm float_istore
- # 50 ?' ; push eax
- # db ?' # 1c ?' # 24 ?' ; fistp dword [esp]
-next