glibc/sysdeps/ia64/fpu
Joseph Myers b3f27d8150 Add narrowing fma functions
This patch adds the narrowing fused multiply-add functions from TS
18661-1 / TS 18661-3 / C2X to glibc's libm: ffma, ffmal, dfmal,
f32fmaf64, f32fmaf32x, f32xfmaf64 for all configurations; f32fmaf64x,
f32fmaf128, f64fmaf64x, f64fmaf128, f32xfmaf64x, f32xfmaf128,
f64xfmaf128 for configurations with _Float64x and _Float128;
__f32fmaieee128 and __f64fmaieee128 aliases in the powerpc64le case
(for calls to ffmal and dfmal when long double is IEEE binary128).
Corresponding tgmath.h macro support is also added.

The changes are mostly similar to those for the other narrowing
functions previously added, especially that for sqrt, so the
description of those generally applies to this patch as well.  As with
sqrt, I reused the same test inputs in auto-libm-test-in as for
non-narrowing fma rather than adding extra or separate inputs for
narrowing fma.  The tests in libm-test-narrow-fma.inc also follow
those for non-narrowing fma.

The non-narrowing fma has a known bug (bug 6801) that it does not set
errno on errors (overflow, underflow, Inf * 0, Inf - Inf).  Rather
than fixing this or having narrowing fma check for errors when
non-narrowing does not (complicating the cases when narrowing fma can
otherwise be an alias for a non-narrowing function), this patch does
not attempt to check for errors from narrowing fma and set errno; the
CHECK_NARROW_FMA macro is still present, but as a placeholder that
does nothing, and this missing errno setting is considered to be
covered by the existing bug rather than needing a separate open bug.
missing-errno annotations are duly added to many of the
auto-libm-test-in test inputs for fma.

This completes adding all the new functions from TS 18661-1 to glibc,
so will be followed by corresponding stdc-predef.h changes to define
__STDC_IEC_60559_BFP__ and __STDC_IEC_60559_COMPLEX__, as the support
for TS 18661-1 will be at a similar level to that for C standard
floating-point facilities up to C11 (pragmas not implemented, but
library functions done).  (There are still further changes to be done
to implement changes to the types of fromfp functions from N2548.)

Tested as followed: natively with the full glibc testsuite for x86_64
(GCC 11, 7, 6) and x86 (GCC 11); with build-many-glibcs.py with GCC
11, 7 and 6; cross testing of math/ tests for powerpc64le, powerpc32
hard float, mips64 (all three ABIs, both hard and soft float).  The
different GCC versions are to cover the different cases in tgmath.h
and tgmath.h tests properly (GCC 6 has _Float* only as typedefs in
glibc headers, GCC 7 has proper _Float* support, GCC 8 adds
__builtin_tgmath).
2021-09-22 21:25:31 +00:00
..
branred.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
doasin.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
dosincos.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_acos.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_acosf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_acosh.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_acoshf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_acoshl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_acosl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asin.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asinf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asinl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atan2.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atan2f.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atan2l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_atanh.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atanhf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atanhl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_cosh.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_coshf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_coshl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp2.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp2f.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp2l.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp10.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp10f.c ia64: Use generic exp10f 2020-06-19 12:08:52 -03:00
e_exp10l.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp_data.c Add new exp and exp2 implementations 2018-09-05 16:22:00 +01:00
e_exp.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_expf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_expl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_fmod.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_fmodf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_fmodl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_gamma_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_gammaf_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_gammal_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_hypot.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_hypotf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_hypotl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_ilogbl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_lgamma_r.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_lgammaf_r.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_lgammal_r.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log2_data.c Add new log2 implementation 2018-09-12 17:36:33 +01:00
e_log2.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log2f_data.c New generic log2f 2017-09-29 17:17:41 +01:00
e_log2f.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log2l.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log10.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log10f.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log10l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log_data.c Add new log implementation 2018-09-12 17:33:30 +01:00
e_log.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_logf_data.c New generic logf 2017-09-29 11:46:46 +01:00
e_logf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_logl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_pow_log_data.c Add new pow implementation 2018-09-19 10:04:51 +01:00
e_pow.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_powf_log2_data.c New generic powf 2017-09-29 17:30:53 +01:00
e_powf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_powl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_rem_pio2l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_remainder.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_remainderf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_remainderl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_scalb.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_scalbf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_scalbl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sinh.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sinhf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sinhl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sqrt.S Add narrowing square root functions 2021-09-10 20:56:22 +00:00
e_sqrtf128.c Add float128 support for ia64. 2017-06-26 22:50:45 +00:00
e_sqrtf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sqrtl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fclrexcpt.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fedisblxcpt.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
feenablxcpt.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fegetenv.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fegetexcept.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fegetmode.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fegetround.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
feholdexcpt.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fesetenv.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fesetexcept.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fesetmode.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fesetround.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
feupdateenv.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fgetexcptflg.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fraiseexcpt.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fsetexcptflg.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
ftestexcept.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
gen_import_file_list ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
get-rounding-mode.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
import_check ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
import_diffs ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
import_file.awk ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
import_intel_libm ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
lgamma-compat.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
libc_libm_error.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_cpu_defs.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_error_codes.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_error.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_frexp4.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_frexp4f.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_frexp4l.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_frexp.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_frexpf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_frexpl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_lgamma.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_lgammaf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_lgammal.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_reduce.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_scalblnf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_sincos_large.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_sincos.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_sincosf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_sincosl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_support.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm_tan.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
libm-symbols.h Add narrowing square root functions 2021-09-10 20:56:22 +00:00
libm-test-ulps ia64: Update ulps 2021-04-05 10:11:09 -03:00
libm-test-ulps-name Do not hardcode platform names in manual/libm-err-tab.pl (bug 14139). 2016-11-04 16:49:06 +00:00
Makefile ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
math_err.c Add new exp and exp2 implementations 2018-09-05 16:22:00 +01:00
math_ldbl.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mpa.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mpatan2.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mpatan.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mpsqrt.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mptan.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
printf_fphex.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
README ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_asinh.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_asinhf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_asinhl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_atan.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_atanf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_atanl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cbrt.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cbrtf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cbrtl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_ceil.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_ceilf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_ceill.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_copysign.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
s_copysignf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_copysignl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_cos.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cosf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cosl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_erf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_erfc.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_erfcf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_erfcl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_erff.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_erfl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_expm1.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_expm1f.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_expm1l.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fabs.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fabsf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fabsl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fdim.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fdimf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fdiml.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_finite.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
s_finitef.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_finitel.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_floor.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_floorf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_floorl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fma.S Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_fmaf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fmal.S Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_fmax.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fmaxf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fmaxl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fpclassify.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
s_fpclassifyf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fpclassifyl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_frexp.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_frexpf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_frexpl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_ilogb.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_ilogbf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_isinf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_isinff.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_isinfl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_isnan.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_isnanf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_isnanl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_ldexp.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_ldexpf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_ldexpl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_libm_ldexp.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_libm_ldexpf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_libm_ldexpl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_libm_scalbn.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_libm_scalbnf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_libm_scalbnl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_log1p.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_log1pf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_log1pl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_logb.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_logbf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_logbl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_matherrf.c Remove unnecessary math_private.h includes. 2018-09-28 21:53:33 +00:00
s_matherrl.c Remove unnecessary math_private.h includes. 2018-09-28 21:53:33 +00:00
s_modf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_modff.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_modfl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nearbyint.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nearbyintf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nearbyintl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nextafter.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nextafterf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nextafterl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nexttoward.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nexttowardf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nexttowardl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_rint.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_rintf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_rintl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_round.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_roundf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_roundl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalblnf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalbn.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalbnf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalbnl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_signbit.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
s_signbitf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_signbitl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_significand.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_significandf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_significandl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_sin.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sincos.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sincosf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sincosl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sinf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sinl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_tan.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanh.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanhf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanhl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_trunc.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_truncf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_truncl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
sfp-machine.h Add some spaces before '('. 2019-02-27 13:55:45 +00:00
sincos32.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
Versions ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_acos_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_acos.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_acosf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_acosf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_acosh_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_acosh.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_acoshf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_acoshf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_acoshl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_acoshl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_acosl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_acosl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_asin_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_asin.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_asinf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_asinf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_asinl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_asinl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_atan2_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_atan2.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_atan2f_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_atan2f.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_atan2l_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_atan2l.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_atanh_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_atanh.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_atanhf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_atanhf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_atanhl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_atanhl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_cosh_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_cosh.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_coshf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_coshf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_coshl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_coshl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_exp2_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_exp2.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_exp2f_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_exp2f.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_exp2l_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_exp2l.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_exp10_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_exp10.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_exp10l_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_exp10l.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_exp_compat.c Move w_exp to libm-compat-call-auto 2017-02-08 17:44:20 -02:00
w_exp.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_expf_compat.c Move w_exp to libm-compat-call-auto 2017-02-08 17:44:20 -02:00
w_expf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_expl_compat.c Move w_exp to libm-compat-call-auto 2017-02-08 17:44:20 -02:00
w_expl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_fmod_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_fmod.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_fmodf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_fmodf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_fmodl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_fmodl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_hypot_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_hypot.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_hypotf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_hypotf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_hypotl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_hypotl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_lgamma_main.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
w_lgamma_r_compat.c Move w_lgamma_r to libm-compat-calls-auto 2017-02-08 17:36:09 -02:00
w_lgamma_r.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_lgammaf_main.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
w_lgammaf_r_compat.c Move w_lgamma_r to libm-compat-calls-auto 2017-02-08 17:36:09 -02:00
w_lgammaf_r.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_lgammal_main.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
w_lgammal_r_compat.c Move w_lgamma_r to libm-compat-calls-auto 2017-02-08 17:36:09 -02:00
w_lgammal_r.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_log1p.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
w_log1pf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
w_log1pl.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
w_log2_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_log2.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_log2f_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_log2f.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_log2l_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_log2l.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_log10_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_log10.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_log10f_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_log10f.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_log10l_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_log10l.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_log_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_log.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_logf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_logf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_logl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_logl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_pow_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_pow.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_powf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_powf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_powl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_powl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_remainder_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_remainder.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_remainderf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_remainderf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_remainderl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_remainderl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_scalb_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_scalbf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_scalbl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_scalblnf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
w_sinh_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_sinh.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_sinhf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_sinhf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_sinhl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_sinhl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_sqrt_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_sqrt.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_sqrtf_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_sqrtf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_sqrtl_compat.c Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
w_sqrtl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_tgamma_compat.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
w_tgamma.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_tgammaf_compat.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
w_tgammaf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
w_tgammal_compat.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
w_tgammal.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00

  ----------------------------------------------------------
  Notes on how to update libm based on Intel's libm releases
  ----------------------------------------------------------

This source code in this directory is currently based on Intel libm
v2.1 as available from:

  http://www.intel.com/software/products/opensource/libraries/num.htm

To ease importing, fix some bugs, and simplify integration into libc,
it is also necessary to apply the patch at:

  ftp://ftp.hpl.hp.com/pub/linux-ia64/intel-libm-041228.diff.gz

The expectation is that Intel will integrate most if not all of these
changes into future releases of libm, so this patching step can
hopefully be omitted in the future.

Once the patched libm sources are extracted in a directory $LIBM, they
can be imported into the libc source tree at $LIBC with the following
step:

	$ cd $LIBC/src/sysdep/ia64/fpu
	$ ./import_intel_libm $LIBM

This should produce a number of "Importing..." messages, without
showing any errors.

At this point, you should be able to build glibc in the usual fashion.
We assume you do this in directory $OBJ.  Once the build has
completed, run "make check" to verify that all (math) checks succeed.
If these checks succeed, you should also run the following commands to
verify that the new libm doesn't pollute the name-space and has proper
size-info for the data objects:

	$ cd $LIBC/src/sysdep/ia64/fpu
	$ import_check $OBJ/math/

There should be no (unexpected) errors reported by this script.

As an optional step, you may also want to confirm that the new libm
exports the exact same global symbols as the old one.

If you want to see the changes introduced by the "import_intel_libm"
script, you can run the commands:

	$ cd $LIBC/src/sysdep/ia64/fpu
	$ import_diffs

That's it.