From 0e195dfaa4902a73179f7ab296d47f01d3518ad3 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 7 May 2012 18:05:50 -0400 Subject: some assemblers don't like fistpq; use the alt. mnemonic fistpll --- src/math/i386/llrint.s | 2 +- src/math/i386/llrintf.s | 2 +- src/math/i386/llrintl.s | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/math') 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 -- cgit v1.2.3-70-g09d2