about summary refs log tree commit diff
path: root/src/math/i386/llrintf.s
diff options
context:
space:
mode:
authornsz <nsz@port70.net>2012-03-19 08:01:21 +0100
committernsz <nsz@port70.net>2012-03-19 08:01:21 +0100
commit0627e58af8514967372a8ff703e7a86c2571acc2 (patch)
treef37eb7417f107ee34277eb58be20d129dfe8b790 /src/math/i386/llrintf.s
parentdbdec9722ee604969dddf51e81f8c9e4a9ce064a (diff)
parent495a52ae7bb581aac2942d7cb095cca2ff53ca3c (diff)
downloadmusl-0627e58af8514967372a8ff703e7a86c2571acc2.tar.gz
musl-0627e58af8514967372a8ff703e7a86c2571acc2.tar.xz
musl-0627e58af8514967372a8ff703e7a86c2571acc2.zip
Merge branch 'master' of git://git.etalabs.net/musl
Diffstat (limited to 'src/math/i386/llrintf.s')
-rw-r--r--src/math/i386/llrintf.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/math/i386/llrintf.s b/src/math/i386/llrintf.s
new file mode 100644
index 00000000..1905cdcd
--- /dev/null
+++ b/src/math/i386/llrintf.s
@@ -0,0 +1,9 @@
+.global llrintf
+.type llrintf,@function
+llrintf:
+	sub $8,%esp
+	flds 12(%esp)
+	fistpq (%esp)
+	pop %eax
+	pop %edx
+	ret