From: Rich Felker Date: Mon, 7 May 2012 22:05:50 +0000 (-0400) Subject: some assemblers don't like fistpq; use the alt. mnemonic fistpll X-Git-Tag: v0.9.1~70 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0e195dfaa4902a73179f7ab296d47f01d3518ad3;p=oweals%2Fmusl.git some assemblers don't like fistpq; use the alt. mnemonic fistpll --- diff --git a/src/math/i386/llrint.s b/src/math/i386/llrint.s index eaa7f1fb..8e89cd91 100644 --- a/src/math/i386/llrint.s +++ b/src/math/i386/llrint.s @@ -2,7 +2,7 @@ .type llrint,@function llrint: fldl 4(%esp) - fistpq 4(%esp) + fistpll 4(%esp) mov 4(%esp),%eax mov 8(%esp),%edx ret diff --git a/src/math/i386/llrintf.s b/src/math/i386/llrintf.s index 1905cdcd..aa850c6c 100644 --- a/src/math/i386/llrintf.s +++ b/src/math/i386/llrintf.s @@ -3,7 +3,7 @@ llrintf: sub $8,%esp flds 12(%esp) - fistpq (%esp) + fistpll (%esp) pop %eax pop %edx ret diff --git a/src/math/i386/llrintl.s b/src/math/i386/llrintl.s index fd9a1cbd..1cfb56f1 100644 --- a/src/math/i386/llrintl.s +++ b/src/math/i386/llrintl.s @@ -2,7 +2,7 @@ .type llrintl,@function llrintl: fldt 4(%esp) - fistpq 4(%esp) + fistpll 4(%esp) mov 4(%esp),%eax mov 8(%esp),%edx ret