diff options
Diffstat (limited to 'sysdeps/i386/fpu/s_nearbyintl.S')
-rw-r--r-- | sysdeps/i386/fpu/s_nearbyintl.S | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sysdeps/i386/fpu/s_nearbyintl.S b/sysdeps/i386/fpu/s_nearbyintl.S index b260ab5914..852e1f6524 100644 --- a/sysdeps/i386/fpu/s_nearbyintl.S +++ b/sysdeps/i386/fpu/s_nearbyintl.S @@ -4,6 +4,7 @@ */ /* Adapted for use as nearbyint by Ulrich Drepper <drepper@cygnus.com>. */ +#include <libm-alias-ldouble.h> #include <machine/asm.h> ENTRY(__nearbyintl) @@ -11,10 +12,6 @@ ENTRY(__nearbyintl) subl $32, %esp cfi_adjust_cfa_offset (32) fnstenv 4(%esp) - movl 4(%esp), %eax - orl $0x20, %eax - movl %eax, (%esp) - fldcw (%esp) frndint fnstsw andl $0x1, %eax @@ -24,4 +21,4 @@ ENTRY(__nearbyintl) cfi_adjust_cfa_offset (-32) ret END (__nearbyintl) -weak_alias (__nearbyintl, nearbyintl) +libm_alias_ldouble (__nearbyint, nearbyint) |