+2017-10-11 Joseph Myers <joseph@codesourcery.com>
+
+ * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
+ [!__fma] (fma): Define using libm_alias_double.
+ * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
+ [!__fmaf] (fmaf): Define using libm_alias_float.
+ * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
+ (fmal): Define using libm_alias_ldouble.
+
2017-10-10 Joseph Myers <joseph@codesourcery.com>
* sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
#include <math.h>
#include <libc-diag.h>
+#include <libm-alias-double.h>
/* R_e is not set in cases where it is not used in packing, but the
compiler does not see that it is set in all cases where it is
DIAG_POP_NEEDS_COMMENT;
#ifndef __fma
-weak_alias (__fma, fma)
-#endif
-
-#ifdef NO_LONG_DOUBLE
-strong_alias (__fma, __fmal)
-weak_alias (__fmal, fmal)
+libm_alias_double (__fma, fma)
#endif
#include <math.h>
#include <libc-diag.h>
+#include <libm-alias-float.h>
/* R_e is not set in cases where it is not used in packing, but the
compiler does not see that it is set in all cases where it is
DIAG_POP_NEEDS_COMMENT;
#ifndef __fmaf
-weak_alias (__fmaf, fmaf)
+libm_alias_float (__fma, fma)
#endif
#include <math.h>
#include <libc-diag.h>
+#include <libm-alias-ldouble.h>
/* R_e is not set in cases where it is not used in packing, but the
compiler does not see that it is set in all cases where it is
}
DIAG_POP_NEEDS_COMMENT;
-weak_alias (__fmal, fmal)
+libm_alias_ldouble (__fma, fma)