aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2018-06-13 17:12:46 -0300
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-02-20 17:12:14 -0600
commit218dad29e80f907ea77d830872770798b0249f67 (patch)
treeb018069e3becd62fec444859cb5ec7a5af444e99 /math
parent77ad97356caacfa5a54236791c4f1f68b689e915 (diff)
downloadglibc-218dad29e80f907ea77d830872770798b0249f67.zip
glibc-218dad29e80f907ea77d830872770798b0249f67.tar.gz
glibc-218dad29e80f907ea77d830872770798b0249f67.tar.bz2
ldbl-128ibm-compat: Provide ieee128 symbols to narrow functions
Move the narrow math aliasing macros into a new sysdep header file math-narrow-alias-float128.h. Then, provide an override header to supply the necessary changes to supply the *ieee128 aliases of these symbols. This adds ieee128 aliases for faddl, fdivl, fmull, fsubl, daddl, ddivl, dmull, dsubl.
Diffstat (limited to 'math')
-rw-r--r--math/math-narrow.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/math/math-narrow.h b/math/math-narrow.h
index ec22913..d8092c2 100644
--- a/math/math-narrow.h
+++ b/math/math-narrow.h
@@ -352,19 +352,6 @@
weak_alias (__f64 ## func ## f128, f64 ## func ## f128) \
weak_alias (__f64 ## func ## f128, f32x ## func ## f128)
-#if __HAVE_FLOAT64X_LONG_DOUBLE
-# define libm_alias_float32_float128(func) \
- libm_alias_float32_float128_main (func)
-# define libm_alias_float64_float128(func) \
- libm_alias_float64_float128_main (func)
-#else
-# define libm_alias_float32_float128(func) \
- libm_alias_float32_float128_main (func) \
- weak_alias (__f32 ## func ## f128, f32 ## func ## f64x)
-# define libm_alias_float64_float128(func) \
- libm_alias_float64_float128_main (func) \
- weak_alias (__f64 ## func ## f128, f64 ## func ## f64x) \
- weak_alias (__f64 ## func ## f128, f32x ## func ## f64x)
-#endif
+#include <math-narrow-alias-float128.h>
#endif /* math-narrow.h. */