about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/s_nearbyint.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/s_nearbyint.S')
-rw-r--r--sysdeps/i386/fpu/s_nearbyint.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/fpu/s_nearbyint.S b/sysdeps/i386/fpu/s_nearbyint.S
index 65ce4f76a1..d8bb382d9e 100644
--- a/sysdeps/i386/fpu/s_nearbyint.S
+++ b/sysdeps/i386/fpu/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