about summary refs log tree commit diff
path: root/src/math/x32
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2020-01-18 19:15:16 +0300
committerRich Felker <dalias@aerifal.cx>2020-01-27 13:02:19 -0500
commitff5b8ad386d900e4a4c11ecdfb52dceadd9d0ee9 (patch)
tree082b0c02686867e32ae847fe69ec00eebbc5c1d7 /src/math/x32
parent614c9e7b1eecb71c5718c34f1724e8758cbe3c27 (diff)
downloadmusl-ff5b8ad386d900e4a4c11ecdfb52dceadd9d0ee9.tar.gz
musl-ff5b8ad386d900e4a4c11ecdfb52dceadd9d0ee9.tar.xz
musl-ff5b8ad386d900e4a4c11ecdfb52dceadd9d0ee9.zip
math/x32: correct lrintl.s for 32-bit long
Diffstat (limited to 'src/math/x32')
-rw-r--r--src/math/x32/lrintl.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/x32/lrintl.s b/src/math/x32/lrintl.s
index ee97d1cf..d4355c32 100644
--- a/src/math/x32/lrintl.s
+++ b/src/math/x32/lrintl.s
@@ -2,6 +2,6 @@
 .type lrintl,@function
 lrintl:
 	fldt 8(%esp)
-	fistpll 8(%esp)
-	mov 8(%esp),%rax
+	fistpl 8(%esp)
+	movl 8(%esp),%eax
 	ret