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