]> sourceware.org Git - glibc.git/commitdiff
Update.
authorAndreas Jaeger <aj@suse.de>
Sat, 31 Aug 2002 10:33:26 +0000 (10:33 +0000)
committerAndreas Jaeger <aj@suse.de>
Sat, 31 Aug 2002 10:33:26 +0000 (10:33 +0000)
2002-08-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/s_copysign.S: Fix algorithm.

* sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for double tests.

ChangeLog
sysdeps/x86_64/fpu/s_copysign.S

index 54676399b5591f9c4484019d453d8396c1bf4c80..44451b2d967140260c9d304c7e0129b7483f79a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-31  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/x86_64/fpu/s_copysign.S: Fix algorithm.
+
+       * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for double tests.
+
 2002-08-31  Ulrich Drepper  <drepper@redhat.com>
 
        * stdio-common/Makefile (generated): Add errlist-compat.c.
index acb4c3a16ecef806034e624437128fdd65493397..f1ebcf8bf19ab646dede1bdb54b1a6418fde2e1c 100644 (file)
 #endif
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(mask,@object)
-mask:
+       ASM_TYPE_DIRECTIVE(signmask,@object)
+signmask:
        .byte 0, 0, 0, 0, 0, 0, 0, 0x80
-       ASM_SIZE_DIRECTIVE(mask)
+       .byte 0, 0, 0, 0, 0, 0, 0, 0
+othermask:
+       .byte 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f
+       .byte 0, 0, 0, 0, 0, 0, 0, 0
+       ASM_SIZE_DIRECTIVE(othermask)
 
 #ifdef PIC
 #define MO(op) op##(%rip)
@@ -39,11 +43,10 @@ mask:
 #endif
 
 ENTRY(__copysign)
-       movlpd MO(mask),%xmm3
-       andps %xmm3,%xmm0
-       andnpd %xmm1,%xmm3
-       orpd %xmm3,%xmm0
-       retq
+       andpd MO(othermask),%xmm0
+       andpd MO(signmask),%xmm1
+       orpd %xmm1,%xmm0
+       ret
 END (__copysign)
 
 weak_alias (__copysign, copysign)
This page took 0.045345 seconds and 5 git commands to generate.