From 1e24cf6e6e8f6999e8fa188ece41e23f54330743 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 30 Nov 2010 14:57:57 -0500 Subject: [PATCH 1/2] Relax libm tests for x86-32. --- ChangeLog | 4 ++++ sysdeps/i386/fpu/libm-test-ulps | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c253bf19e9..86ba84ab30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-11-30 Ulrich Drepper + + * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations. + 2010-11-24 Andreas Schwab * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0 diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 5231789be1..4b1a9e7349 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -857,8 +857,8 @@ ifloat: 1 ildouble: 2 ldouble: 2 Test "yn (10, 0.75) == -2133501638.90573424452445412893839236": -float: 1 -ifloat: 1 +float: 2 +ifloat: 2 ildouble: 4 ldouble: 4 Test "yn (10, 1.0) == -121618014.278689189288130426667971145": From 3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 1 Dec 2010 22:18:31 -0500 Subject: [PATCH 2/2] Remove dead code from x86-32 SSSE3 strncmp. --- ChangeLog | 5 +++++ sysdeps/i386/i686/multiarch/strcmp-ssse3.S | 9 +-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 86ba84ab30..e19cc5bc0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-12-01 H.J. Lu + + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove + unused codes. + 2010-11-30 Ulrich Drepper * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations. diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S index a4de2259d2..607b69b6ff 100644 --- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S +++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S @@ -70,9 +70,7 @@ ENTRY (STRCMP) movl CNT(%esp), %ebp cmp $16, %ebp jb L(less16bytes_sncmp) - jmp L(more16bytes) -#endif - +#else movzbl (%eax), %ecx cmpb %cl, (%edx) jne L(neq) @@ -123,11 +121,6 @@ ENTRY (STRCMP) add $8, %edx add $8, %eax -#ifdef USE_AS_STRNCMP - cmp $8, %ebp - lea -8(%ebp), %ebp - je L(eq) -L(more16bytes): #endif movl %edx, %ecx and $0xfff, %ecx