aboutsummaryrefslogtreecommitdiff
path: root/math/Makefile
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2018-05-28 18:56:35 -0300
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-03-06 09:17:32 -0600
commit0059122aa0e53ff77ee58c5ff7589a814f1228e5 (patch)
tree9682413fd7199290e1e469e29be5ddad894250c9 /math/Makefile
parent1c252f0e7e5d78695f19450aa7c470bab445aa8e (diff)
downloadglibc-0059122aa0e53ff77ee58c5ff7589a814f1228e5.zip
glibc-0059122aa0e53ff77ee58c5ff7589a814f1228e5.tar.gz
glibc-0059122aa0e53ff77ee58c5ff7589a814f1228e5.tar.bz2
ldbl-128ibm-compat: Add tests for IBM long double functions
This patch creates test-ibm128* tests from the long double function tests. In order to explicitly test IBM long double functions -mabi=ibmlongdouble is added to CFLAGS. Likewise, update the test headers to correct choose ULPs when redirects are enabled. Co-authored-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> Co-authored-by: Paul E. Murphy <murphyp@linux.vnet.ibm.com>
Diffstat (limited to 'math/Makefile')
-rw-r--r--math/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile
index 1d203e7..84a8b94 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -145,10 +145,15 @@ type-float128-yes := float128
# _Float64x may be supported, only as an alias type.
type-float64x-yes := float64x
+# IBM long double support in additional to IEEE 128 long double support
+type-ibm128-suffix := l
+type-ibm128-yes := ibm128
+
types = $(types-basic) $(type-float128-$(float128-fcts))
test-types = $(test-types-basic) $(type-float128-$(float128-fcts)) \
float32 float64 $(type-float128-$(float128-alias-fcts)) \
- float32x $(type-float64x-$(float64x-alias-fcts))
+ float32x $(type-float64x-$(float64x-alias-fcts)) \
+ $(type-ibm128-$(ibm128-fcts))
# Pairs of types for which narrowing functions should be tested (this
# variable has more entries than libm-narrow-types because it includes