math/x32: correct lrintl.s for 32-bit long
authorAlexander Monakov <amonakov@ispras.ru>
Sat, 18 Jan 2020 16:15:16 +0000 (19:15 +0300)
committerRich Felker <dalias@aerifal.cx>
Mon, 27 Jan 2020 18:02:19 +0000 (13:02 -0500)
src/math/x32/lrintl.s

index ee97d1cfec5a4506be982a3b7f659d584c1d0853..d4355c327c7a0db7daec41a04120d6147a654036 100644 (file)
@@ -2,6 +2,6 @@
 .type lrintl,@function
 lrintl:
        fldt 8(%esp)
 .type lrintl,@function
 lrintl:
        fldt 8(%esp)
-       fistpll 8(%esp)
-       mov 8(%esp),%rax
+       fistpl 8(%esp)
+       movl 8(%esp),%eax
        ret
        ret