diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-03-27 14:10:13 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-06-12 11:46:30 -0300 |
commit | 2731a326b10ba6d1646043cf28290584238b7ce4 (patch) | |
tree | 24dc0352077ff79918d620ef779fa47b88f9811b /benchtests/Makefile | |
parent | e41d66e41ae0626156b3eace8e15aecff3044695 (diff) | |
download | glibc-2731a326b10ba6d1646043cf28290584238b7ce4.tar glibc-2731a326b10ba6d1646043cf28290584238b7ce4.tar.gz glibc-2731a326b10ba6d1646043cf28290584238b7ce4.tar.bz2 glibc-2731a326b10ba6d1646043cf28290584238b7ce4.zip |
benchtests: Add isnan/isinf/isfinite benchmark
* benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
(CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
CFLAGS-bench-isfinite.c): New rule.
* benchtests/isnan-input: New file.
* benchtests/isinf-input: New file.
* benchtests/isfinite-input: New file.
Reviewed-by: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r-- | benchtests/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile index b8ac9ead33..ef400a8e48 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -24,7 +24,7 @@ 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 + cosf isnan isinf isfinite bench-pthread := pthread_once thread_create @@ -88,6 +88,9 @@ 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-isnan.c += -fsignaling-nans +CFLAGS-bench-isinf.c += -fsignaling-nans +CFLAGS-bench-isfinite.c += -fsignaling-nans ifeq (${BENCHSET},) bench-malloc := malloc-thread malloc-simple |