diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-10-06 20:23:58 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-10-06 20:23:58 +0000 |
commit | f85a176f3f411b7478c2b8cb2708973e8668e7fb (patch) | |
tree | 825661a9917eb4fa8f558aba88dbff90fcca0701 /sysdeps/ieee754/ldbl-96/s_fma.c | |
parent | fd3b4e7c8a0b492fe39243893803f4d9f84e30af (diff) | |
download | glibc-f85a176f3f411b7478c2b8cb2708973e8668e7fb.tar.gz glibc-f85a176f3f411b7478c2b8cb2708973e8668e7fb.tar.xz glibc-f85a176f3f411b7478c2b8cb2708973e8668e7fb.zip |
Use libm_alias_double in ldbl-128, ldbl-96 fma.
This patch makes the ldbl-128 and ldbl-96 implementations of fma use libm_alias_double. Tested for x86_64, and tested with build-many-glibcs.py that installed stripped shared libraries are unchanged by the patch. * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>. [!__fma] (fma): Define using libm_alias_double. * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>. [!__fma] (fma): Define using libm_alias_double.
Diffstat (limited to 'sysdeps/ieee754/ldbl-96/s_fma.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-96/s_fma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-96/s_fma.c b/sysdeps/ieee754/ldbl-96/s_fma.c index 370592074e..e573c711ef 100644 --- a/sysdeps/ieee754/ldbl-96/s_fma.c +++ b/sysdeps/ieee754/ldbl-96/s_fma.c @@ -22,6 +22,7 @@ #include <fenv.h> #include <ieee754.h> #include <math_private.h> +#include <libm-alias-double.h> /* This implementation uses rounding to odd to avoid problems with double rounding. See a paper by Boldo and Melquiond: @@ -97,5 +98,5 @@ __fma (double x, double y, double z) return u.d; } #ifndef __fma -weak_alias (__fma, fma) +libm_alias_double (__fma, fma) #endif |