aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu')
-rw-r--r--sysdeps/i386/fpu/s_nearbyint.S2
-rw-r--r--sysdeps/i386/fpu/s_nearbyintf.S2
-rw-r--r--sysdeps/i386/fpu/s_nearbyintl.S2
3 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/fpu/s_nearbyint.S b/sysdeps/i386/fpu/s_nearbyint.S
index 65ce4f7..d8bb382 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
diff --git a/sysdeps/i386/fpu/s_nearbyintf.S b/sysdeps/i386/fpu/s_nearbyintf.S
index 090c631..2185865 100644
--- a/sysdeps/i386/fpu/s_nearbyintf.S
+++ b/sysdeps/i386/fpu/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/i386/fpu/s_nearbyintl.S b/sysdeps/i386/fpu/s_nearbyintl.S
index 2f60af8..d74dacb 100644
--- a/sysdeps/i386/fpu/s_nearbyintl.S
+++ b/sysdeps/i386/fpu/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