asm versions of some simple math functions for i386 and x86_64
[musl] / src / math / i386 / rint.s
diff --git a/src/math/i386/rint.s b/src/math/i386/rint.s
new file mode 100644 (file)
index 0000000..bb99a11
--- /dev/null
@@ -0,0 +1,6 @@
+.global rint
+.type rint,@function
+rint:
+       fldl 4(%esp)
+       frndint
+       ret