summaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/s_copysignf.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_copysignf.S')
-rw-r--r--sysdeps/libm-i387/s_copysignf.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/libm-i387/s_copysignf.S b/sysdeps/libm-i387/s_copysignf.S
index a55cd37444..4844a2b879 100644
--- a/sysdeps/libm-i387/s_copysignf.S
+++ b/sysdeps/libm-i387/s_copysignf.S
@@ -9,11 +9,12 @@ RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $")
ENTRY(__copysignf)
movl 8(%esp),%edx
- andl $0x80000000,%edx
movl 4(%esp),%eax
+ andl $0x80000000,%edx
andl $0x7fffffff,%eax
orl %edx,%eax
movl %eax,4(%esp)
flds 4(%esp)
ret
+PSEUDO_END (__copysignf)
weak_alias (__copysignf, copysignf)