aboutsummaryrefslogtreecommitdiff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
authorShen-Ta Hsieh <ibmibmibm.tw@gmail.com>2020-03-27 23:24:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2020-03-27 23:24:02 +0000
commit642d5abaf11b033a1bfc88fd66f736f61a3fd17b (patch)
tree452ea563ac11e623a9259176f83974b9f35fc798 /benchtests/Makefile
parent933dc0e5708beae17ce382287b9901ee960f42da (diff)
downloadglibc-642d5abaf11b033a1bfc88fd66f736f61a3fd17b.tar.xz
glibc-642d5abaf11b033a1bfc88fd66f736f61a3fd17b.zip
Add benchtests for roundeven and roundevenf.
This patch adds benchtests for the roundeven and roundevenf functions. The inputs are copied from trunc-inputs.
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 71b9565fed..335d643ecb 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -23,8 +23,8 @@ subdir := benchtests
include ../Makeconfig
bench-math := acos acosh asin asinh atan atanh cos cosh exp exp2 log log2 \
modf pow rint sin sincos sinh sqrt tan tanh fmin fmax fminf \
- fmaxf powf trunc truncf expf exp2f logf log2f sincosf sinf \
- cosf isnan isinf isfinite hypot logb logbf
+ fmaxf powf trunc truncf roundeven roundevenf expf exp2f logf \
+ log2f sincosf sinf cosf isnan isinf isfinite hypot logb logbf
bench-pthread := pthread_once thread_create
@@ -88,6 +88,8 @@ CFLAGS-bench-fmax.c += -fno-builtin
CFLAGS-bench-fmaxf.c += -fno-builtin
CFLAGS-bench-trunc.c += -fno-builtin
CFLAGS-bench-truncf.c += -fno-builtin
+CFLAGS-bench-roundeven.c += -fno-builtin
+CFLAGS-bench-roundevenf.c += -fno-builtin
CFLAGS-bench-isnan.c += -fsignaling-nans
CFLAGS-bench-isinf.c += -fsignaling-nans
CFLAGS-bench-isfinite.c += -fsignaling-nans