summaryrefslogtreecommitdiff
path: root/src/math/i386/llrintl.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/llrintl.s')
-rw-r--r--src/math/i386/llrintl.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/i386/llrintl.s b/src/math/i386/llrintl.s
new file mode 100644
index 00000000..84e63867
--- /dev/null
+++ b/src/math/i386/llrintl.s
@@ -0,0 +1,8 @@
+.global llrintl
+.type llrintl,@function
+llrintl:
+ fldt 4(%esp)
+ fistpl 4(%esp)
+ mov 4(%esp),%eax
+ mov 8(%esp),%edx
+ ret