From 8b4be9076aa26eaa282095f7f2303fa6cbb1398a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 15 Feb 2000 01:57:11 +0000 Subject: [PATCH] Disable raising exception, not enabling it. --- sysdeps/libm-i387/s_nearbyint.S | 2 +- sysdeps/libm-i387/s_nearbyintf.S | 2 +- sysdeps/libm-i387/s_nearbyintl.S | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/libm-i387/s_nearbyint.S b/sysdeps/libm-i387/s_nearbyint.S index 65ce4f76a15..d8bb382d9e6 100644 --- a/sysdeps/libm-i387/s_nearbyint.S +++ b/sysdeps/libm-i387/s_nearbyint.S @@ -12,7 +12,7 @@ ENTRY(__nearbyint) pushl %ecx fnstcw (%esp) movl (%esp), %eax - andl $~0x20, %eax + orl $0x20, %eax movl %eax, 4(%esp) fldcw 4(%esp) frndint diff --git a/sysdeps/libm-i387/s_nearbyintf.S b/sysdeps/libm-i387/s_nearbyintf.S index 090c6316075..21858650e2a 100644 --- a/sysdeps/libm-i387/s_nearbyintf.S +++ b/sysdeps/libm-i387/s_nearbyintf.S @@ -12,7 +12,7 @@ ENTRY(__nearbyintf) pushl %ecx fnstcw (%esp) movl (%esp), %eax - andl $~0x20, %eax + orl $0x20, %eax movl %eax, 4(%esp) fldcw 4(%esp) frndint diff --git a/sysdeps/libm-i387/s_nearbyintl.S b/sysdeps/libm-i387/s_nearbyintl.S index 2f60af8f182..d74dacb9907 100644 --- a/sysdeps/libm-i387/s_nearbyintl.S +++ b/sysdeps/libm-i387/s_nearbyintl.S @@ -12,7 +12,7 @@ ENTRY(__nearbyintl) pushl %ecx fnstcw (%esp) movl (%esp), %eax - andl $~0x20, %eax + orl $0x20, %eax movl %eax, 4(%esp) fldcw 4(%esp) frndint -- 2.47.2