summaryrefslogtreecommitdiff
path: root/src/math/x86_64/lrintf.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/x86_64/lrintf.s')
-rw-r--r--src/math/x86_64/lrintf.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/math/x86_64/lrintf.s b/src/math/x86_64/lrintf.s
new file mode 100644
index 00000000..951894b6
--- /dev/null
+++ b/src/math/x86_64/lrintf.s
@@ -0,0 +1,5 @@
+.global lrintf
+.type lrintf,@function
+lrintf:
+ cvtss2si @xmm0,%rax
+ ret