From d9c1d72cdc993f3f701f0eea74f370420582e5f6 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 19 Mar 2012 13:58:47 -0400 Subject: [PATCH] bug fix: wrong opcode for writing long long --- src/math/i386/llrint.s | 2 +- src/math/i386/llrintl.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math/i386/llrint.s b/src/math/i386/llrint.s index e961b35d..eaa7f1fb 100644 --- a/src/math/i386/llrint.s +++ b/src/math/i386/llrint.s @@ -2,7 +2,7 @@ .type llrint,@function llrint: fldl 4(%esp) - fistpl 4(%esp) + fistpq 4(%esp) mov 4(%esp),%eax mov 8(%esp),%edx ret diff --git a/src/math/i386/llrintl.s b/src/math/i386/llrintl.s index 84e63867..fd9a1cbd 100644 --- a/src/math/i386/llrintl.s +++ b/src/math/i386/llrintl.s @@ -2,7 +2,7 @@ .type llrintl,@function llrintl: fldt 4(%esp) - fistpl 4(%esp) + fistpq 4(%esp) mov 4(%esp),%eax mov 8(%esp),%edx ret -- 2.25.1