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