mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
benchtests: Add logb{f} benchmark
* benchtests/Makefile (bench-math): Add logb. * benchtests/logb-inputs: New file. * benchtests/logbf-inputs: New file. Reviewed-by: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
This commit is contained in:
parent
931c616eed
commit
0cccd37f70
@ -1,5 +1,9 @@
|
||||
2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||
|
||||
* benchtests/Makefile (bench-math): Add logb.
|
||||
* benchtests/logb-inputs: New file.
|
||||
* benchtests/logbf-inputs: New file.
|
||||
|
||||
* sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
|
||||
* sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
|
||||
* sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
|
||||
|
@ -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 isnan isinf isfinite hypot
|
||||
cosf isnan isinf isfinite hypot logb logbf
|
||||
|
||||
bench-pthread := pthread_once thread_create
|
||||
|
||||
|
11
benchtests/logb-inputs
Normal file
11
benchtests/logb-inputs
Normal file
@ -0,0 +1,11 @@
|
||||
## args: double
|
||||
## ret: double
|
||||
## includes: math.h
|
||||
|
||||
## name: subnormal
|
||||
0x0.0000000000001p-1022
|
||||
0x0.fffffffffffffp-1022
|
||||
|
||||
## name: normal
|
||||
1.0
|
||||
1024.0
|
11
benchtests/logbf-inputs
Normal file
11
benchtests/logbf-inputs
Normal file
@ -0,0 +1,11 @@
|
||||
## args: double
|
||||
## ret: double
|
||||
## includes: math.h
|
||||
|
||||
## name: subnormal
|
||||
0x1p-149
|
||||
0x1.fffff8p-128
|
||||
|
||||
## name: normal
|
||||
1.0
|
||||
1024.0
|
Loading…
Reference in New Issue
Block a user