[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r22766 - in /fsf/trunk/libc: benchtests/ sysdeps/powerpc/powerpc32/fpu/ sysdeps/powerpc/powerpc64/fpu/
- To: commits@xxxxxxxxxx
- Subject: [Commits] r22766 - in /fsf/trunk/libc: benchtests/ sysdeps/powerpc/powerpc32/fpu/ sysdeps/powerpc/powerpc64/fpu/
- From: eglibc@xxxxxxxxxx
- Date: Tue, 02 Apr 2013 00:02:02 -0000
Author: eglibc
Date: Tue Apr 2 00:02:01 2013
New Revision: 22766
Log:
Import glibc-mainline for 2013-04-02
Added:
fsf/trunk/libc/benchtests/rint-inputs
Modified:
fsf/trunk/libc/benchtests/Makefile
fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rint.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rintf.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rint.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rintf.S
Modified: fsf/trunk/libc/benchtests/Makefile
==============================================================================
--- fsf/trunk/libc/benchtests/Makefile (original)
+++ fsf/trunk/libc/benchtests/Makefile Tue Apr 2 00:02:01 2013
@@ -43,7 +43,7 @@
# See pow-inputs for an example.
subdir := benchtests
-bench := exp pow
+bench := exp pow rint
exp-ITER = 100000
exp-ARGLIST = double
@@ -55,5 +55,10 @@
pow-RET = double
LDFLAGS-bench-pow = -lm
+rint-ITER = 250000000
+rint-ARGLIST = double
+rint-RET = double
+LDFLAGS-bench-rint = -lm
+
include ../Makeconfig
include ../Rules
Added: fsf/trunk/libc/benchtests/rint-inputs
==============================================================================
--- fsf/trunk/libc/benchtests/rint-inputs (added)
+++ fsf/trunk/libc/benchtests/rint-inputs Tue Apr 2 00:02:01 2013
@@ -1,0 +1,4 @@
+78.5
+-78.5
+4503599627370497.0
+-4503599627370497.0
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rint.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rint.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rint.S Tue Apr 2 00:02:01 2013
@@ -45,14 +45,14 @@
fsub fp12,fp13,fp13 /* generate 0.0 */
fcmpu cr7,fp0,fp13 /* if (fabs(x) > TWO52) */
fcmpu cr6,fp1,fp12 /* if (x > 0.0) */
- bnllr- cr7
- bng- cr6,.L4
+ bnllr cr7
+ bng cr6,.L4
fadd fp1,fp1,fp13 /* x+= TWO52; */
fsub fp1,fp1,fp13 /* x-= TWO52; */
fabs fp1,fp1 /* if (x == 0.0) */
blr /* x = 0.0; */
.L4:
- bnllr- cr6 /* if (x < 0.0) */
+ bnllr cr6 /* if (x < 0.0) */
fsub fp1,fp1,fp13 /* x-= TWO52; */
fadd fp1,fp1,fp13 /* x+= TWO52; */
fnabs fp1,fp1 /* if (x == 0.0) */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rintf.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rintf.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rintf.S Tue Apr 2 00:02:01 2013
@@ -41,14 +41,14 @@
fsubs fp12,fp13,fp13 /* generate 0.0 */
fcmpu cr7,fp0,fp13 /* if (fabs(x) > TWO23) */
fcmpu cr6,fp1,fp12 /* if (x > 0.0) */
- bnllr- cr7
- bng- cr6,.L4
+ bnllr cr7
+ bng cr6,.L4
fadds fp1,fp1,fp13 /* x+= TWO23; */
fsubs fp1,fp1,fp13 /* x-= TWO23; */
fabs fp1,fp1 /* if (x == 0.0) */
blr /* x = 0.0; */
.L4:
- bnllr- cr6 /* if (x < 0.0) */
+ bnllr cr6 /* if (x < 0.0) */
fsubs fp1,fp1,fp13 /* x-= TWO23; */
fadds fp1,fp1,fp13 /* x+= TWO23; */
fnabs fp1,fp1 /* if (x == 0.0) */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rint.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rint.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rint.S Tue Apr 2 00:02:01 2013
@@ -34,14 +34,14 @@
fsub fp12,fp13,fp13 /* generate 0.0 */
fcmpu cr7,fp0,fp13 /* if (fabs(x) > TWO52) */
fcmpu cr6,fp1,fp12 /* if (x > 0.0) */
- bnllr- cr7
- bng- cr6,.L4
+ bnllr cr7
+ bng cr6,.L4
fadd fp1,fp1,fp13 /* x+= TWO52; */
fsub fp1,fp1,fp13 /* x-= TWO52; */
fabs fp1,fp1 /* if (x == 0.0) */
blr /* x = 0.0; */
.L4:
- bnllr- cr6 /* if (x < 0.0) */
+ bnllr cr6 /* if (x < 0.0) */
fsub fp1,fp1,fp13 /* x-= TWO52; */
fadd fp1,fp1,fp13 /* x+= TWO52; */
fnabs fp1,fp1 /* if (x == 0.0) */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rintf.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rintf.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rintf.S Tue Apr 2 00:02:01 2013
@@ -30,14 +30,14 @@
fsubs fp12,fp13,fp13 /* generate 0.0 */
fcmpu cr7,fp0,fp13 /* if (fabs(x) > TWO23) */
fcmpu cr6,fp1,fp12 /* if (x > 0.0) */
- bnllr- cr7
- bng- cr6,.L4
+ bnllr cr7
+ bng cr6,.L4
fadds fp1,fp1,fp13 /* x+= TWO23; */
fsubs fp1,fp1,fp13 /* x-= TWO23; */
fabs fp1,fp1 /* if (x == 0.0) */
blr /* x = 0.0; */
.L4:
- bnllr- cr6 /* if (x < 0.0) */
+ bnllr cr6 /* if (x < 0.0) */
fsubs fp1,fp1,fp13 /* x-= TWO23; */
fadds fp1,fp1,fp13 /* x+= TWO23; */
fnabs fp1,fp1 /* if (x == 0.0) */
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits