[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r22878 - in /fsf/trunk/libc: ./ benchtests/



Author: eglibc
Date: Thu Apr 18 00:01:55 2013
New Revision: 22878

Log:
Import glibc-mainline for 2013-04-18

Added:
    fsf/trunk/libc/benchtests/cos-inputs
    fsf/trunk/libc/benchtests/slowcos-inputs
    fsf/trunk/libc/benchtests/slowcos.c
    fsf/trunk/libc/benchtests/slowtan-inputs
    fsf/trunk/libc/benchtests/slowtan.c
    fsf/trunk/libc/benchtests/tan-inputs
Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/benchtests/Makefile

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Thu Apr 18 00:01:55 2013
@@ -1,3 +1,14 @@
+2013-04-17  Siddhesh Poyarekar  <siddhesh@xxxxxxxxxx>
+
+	* benchtests/Makefile (bench): Add cos, tan, slowcos and
+	slowtan.
+	* benchtests/cos-inputs: New file.
+	* benchtests/slowcos-inputs: New file.
+	* benchtests/slowcos.c: New file.
+	* benchtests/slowtan-inputs: New file.
+	* benchtests/slowtan.c: New file.
+	* benchtests/tan-inputs: New file.
+
 2013-04-16  Roland McGrath  <roland@xxxxxxxxxxxxx>
 
 	* rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now

Modified: fsf/trunk/libc/benchtests/Makefile
==============================================================================
--- fsf/trunk/libc/benchtests/Makefile (original)
+++ fsf/trunk/libc/benchtests/Makefile Thu Apr 18 00:01:55 2013
@@ -45,7 +45,8 @@
 #   See pow-inputs for an example.
 
 subdir := benchtests
-bench := exp pow rint sin atan slowexp slowpow slowsin slowatan
+bench := exp pow rint sin cos tan atan \
+	 slowexp slowpow slowsin slowcos slowtan slowatan
 
 # exp function fast path
 exp-ITER = 5e8
@@ -77,6 +78,18 @@
 sin-RET = double
 LDFLAGS-bench-sin = -lm
 
+# cos function fast path
+cos-ITER = 3e9
+cos-ARGLIST = double
+cos-RET = double
+LDFLAGS-bench-cos = -lm
+
+# tan function fast path
+tan-ITER = 3e9
+tan-ARGLIST = double
+tan-RET = double
+LDFLAGS-bench-tan = -lm
+
 # atan function fast path
 atan-ITER = 6e9
 atan-ARGLIST = double
@@ -96,6 +109,20 @@
 slowsin-RET = double
 slowsin-INCLUDE = slowsin.c
 LDFLAGS-bench-slowsin = -lm
+
+# cos function slowest path
+slowcos-ITER = 3e7
+slowcos-ARGLIST = double
+slowcos-RET = double
+slowcos-INCLUDE = slowcos.c
+LDFLAGS-bench-slowcos = -lm
+
+# tan function slowest path
+slowtan-ITER = 3e7
+slowtan-ARGLIST = double
+slowtan-RET = double
+slowtan-INCLUDE = slowtan.c
+LDFLAGS-bench-slowtan = -lm
 
 # atan function slowest path
 slowatan-ITER = 3e8

Added: fsf/trunk/libc/benchtests/cos-inputs
==============================================================================
--- fsf/trunk/libc/benchtests/cos-inputs (added)
+++ fsf/trunk/libc/benchtests/cos-inputs Thu Apr 18 00:01:55 2013
@@ -1,0 +1,5 @@
+0x1.000000cf4a2a1p0
+0x1.0000010b239a8p0
+0x1.00000162a932ap0
+0x1.000002d452a11p0
+0x1.000005bc7d86cp0

Added: fsf/trunk/libc/benchtests/slowcos-inputs
==============================================================================
--- fsf/trunk/libc/benchtests/slowcos-inputs (added)
+++ fsf/trunk/libc/benchtests/slowcos-inputs Thu Apr 18 00:01:55 2013
@@ -1,0 +1,5 @@
+0x1.000000cf4a2a2p0
+0x1.0000010b239a9p0
+0x1.00000162a932bp0
+0x1.000002d452a10p0
+0x1.000005bc7d86dp0

Added: fsf/trunk/libc/benchtests/slowcos.c
==============================================================================
--- fsf/trunk/libc/benchtests/slowcos.c (added)
+++ fsf/trunk/libc/benchtests/slowcos.c Thu Apr 18 00:01:55 2013
@@ -1,0 +1,19 @@
+/* Define slowcos.
+   Copyright (C) 2013 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#define slowcos cos

Added: fsf/trunk/libc/benchtests/slowtan-inputs
==============================================================================
--- fsf/trunk/libc/benchtests/slowtan-inputs (added)
+++ fsf/trunk/libc/benchtests/slowtan-inputs Thu Apr 18 00:01:55 2013
@@ -1,0 +1,1 @@
+0x1.dffffffffff1fp-22

Added: fsf/trunk/libc/benchtests/slowtan.c
==============================================================================
--- fsf/trunk/libc/benchtests/slowtan.c (added)
+++ fsf/trunk/libc/benchtests/slowtan.c Thu Apr 18 00:01:55 2013
@@ -1,0 +1,19 @@
+/* Define slowtan.
+   Copyright (C) 2013 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#define slowtan tan

Added: fsf/trunk/libc/benchtests/tan-inputs
==============================================================================
--- fsf/trunk/libc/benchtests/tan-inputs (added)
+++ fsf/trunk/libc/benchtests/tan-inputs Thu Apr 18 00:01:55 2013
@@ -1,0 +1,1 @@
+0x1.dffffffffff1ep-22

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits