asm for lrint family on i386
[musl] / src / math / i386 / lrint.s
diff --git a/src/math/i386/lrint.s b/src/math/i386/lrint.s
new file mode 100644 (file)
index 0000000..02b83d9
--- /dev/null
@@ -0,0 +1,7 @@
+.global lrint
+.type lrint,@function
+lrint:
+       fldl 4(%esp)
+       fistpl 4(%esp)
+       mov 4(%esp),%eax
+       ret