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