diff options
author | Arjun Shankar <arjun@redhat.com> | 2020-09-23 16:11:57 +0200 |
---|---|---|
committer | Arjun Shankar <arjun@redhat.com> | 2020-09-23 16:11:57 +0200 |
commit | 03e26098b174abec1158a9ed9352a45a3176ef7b (patch) | |
tree | 01ecfc989fc3a08aca38a4bdf661d50dbce7f757 /benchtests/Makefile | |
parent | 3322ecbfe29a16e74c4f584d661b0b8018bb4031 (diff) | |
download | glibc-03e26098b174abec1158a9ed9352a45a3176ef7b.tar.gz glibc-03e26098b174abec1158a9ed9352a45a3176ef7b.tar.xz glibc-03e26098b174abec1158a9ed9352a45a3176ef7b.zip |
benchtests: Run _Float128 tests only on architectures that support it
__float128 is a non-standard name and is not available on some architectures (like aarch64 or s390x) even though they may support the standard _Float128 type. Other architectures (like armv7) don't support quad-precision floating-point operations at all. This commit replaces benchtests references to __float128 with _Float128 and runs the corresponding tests only on architectures that support it.
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r-- | benchtests/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile index 3095076055..922e2a94b1 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -25,7 +25,11 @@ 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 roundeven roundevenf expf exp2f logf \ log2f sincosf sinf cosf isnan isinf isfinite hypot logb logbf \ - exp10f expf128 powf128 sinf128 + exp10f + +ifneq (,$(filter yes,$(float128-fcts) $(float128-alias-fcts))) +bench-math += expf128 powf128 sinf128 +endif bench-pthread := pthread_once thread_create |