glibc/sysdeps/ieee754/float128
Joseph Myers 8f27dc1af5 Fix ldbl-128 built-in function use
Fix the following issues with built-in function use in
sysdeps/ieee754/ldbl-128 and sysdeps/ieee754/float128:

* fabsl used __builtin_fabsf128 unconditionally, breaking the build
  with GCC 6 for several architectures; it should use __builtin_fabsl
  with an appropriate redirection in float128_private.h.  (I'm not
  particularly concerned with building glibc with GCC 6; rather, I
  want to be able to run the tgmath.h tests with GCC 6, which is a
  significantly different case for tgmath.h compared to GCC 7 and
  later because of the lack of _FloatN / _FloatNx support in the
  compiler, and at present running the tests with a compiler means
  building glibc with that compiler.)

* Some (conditional) uses of built-in functions had been added to
  ldbl-128 without appropriate float128_private.h remapping (there was
  remapping for the macros controlling whether the built-in functions
  are used, just not for the functions themselves).

* s_llrintl.c called __builtin_round not __builtin_llrintl, which is
  obviously wrong.

Tested with build-many-glibcs.py for aarch64-linux-gnu, GCC 6 (where
it fixes the glibc build) and GCC 12, and with the glibc testsuite for
x86_64.
2023-01-05 00:02:54 +00:00
..
e_acosf128.c
e_acoshf128.c
e_asinf128.c
e_atan2f128.c
e_atanhf128.c
e_coshf128.c
e_exp10f128.c
e_expf128.c
e_fmodf128.c
e_gammaf128_r.c
e_hypotf128.c
e_ilogbf128.c
e_j0f128.c
e_j1f128.c
e_jnf128.c
e_lgammaf128_r.c
e_log2f128.c
e_log10f128.c
e_logf128.c
e_powf128.c
e_rem_pio2f128.c
e_remainderf128.c
e_scalbf128.c
e_sinhf128.c
float128_private.h Fix ldbl-128 built-in function use 2023-01-05 00:02:54 +00:00
float1282mpn.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
gamma_productf128.c
ieee754_float128.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
k_cosf128.c
k_sincosf128.c
k_sinf128.c
k_tanf128.c
lgamma_negf128.c
lgamma_productf128.c
Makeconfig Add _Float64x function aliases. 2017-11-27 14:16:47 +00:00
Makefile Fix build with GCC 13 _FloatN, _FloatNx built-in functions 2022-10-31 23:20:08 +00:00
math-nan-payload-float128.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
mpn2float128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_asinhf128.c
s_atanf128.c
s_cbrtf128.c
s_ceilf128.c Use ceil functions not __ceil functions in glibc libm. 2018-09-17 20:42:06 +00:00
s_copysignf128.c Use copysign functions not __copysign functions in glibc libm. 2018-09-27 20:04:48 +00:00
s_cosf128.c
s_erff128.c
s_expm1f128.c
s_f32addf128.c Add narrowing add functions. 2018-02-10 02:08:43 +00:00
s_f32divf128.c Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
s_f32fmaf128.c Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_f32mulf128.c Add narrowing multiply functions. 2018-05-16 00:05:28 +00:00
s_f32sqrtf128.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
s_f32subf128.c Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
s_f64addf128.c Add narrowing add functions. 2018-02-10 02:08:43 +00:00
s_f64divf128.c Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
s_f64fmaf128.c Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_f64mulf128.c Add narrowing multiply functions. 2018-05-16 00:05:28 +00:00
s_f64sqrtf128.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
s_f64subf128.c Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
s_f64xaddf128.c Add narrowing add functions. 2018-02-10 02:08:43 +00:00
s_f64xdivf128.c Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
s_f64xfmaf128.c Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_f64xmulf128.c Add narrowing multiply functions. 2018-05-16 00:05:28 +00:00
s_f64xsqrtf128.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
s_f64xsubf128.c Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
s_fabsf128.c
s_finitef128.c
s_floorf128.c Use floor functions not __floor functions in glibc libm. 2018-09-14 13:09:01 +00:00
s_fmaf128.c powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used 2021-09-23 19:29:54 -03:00
s_fpclassifyf128.c
s_frexpf128.c
s_fromfpf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_fromfpxf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_getpayloadf128.c
s_isinff128.c
s_isnanf128.c Move __isnanf128 to libc.so 2021-03-30 14:58:19 +05:30
s_issignalingf128.c
s_llrintf128.c
s_llroundf128.c
s_log1pf128.c
s_logbf128.c
s_lrintf128.c
s_lroundf128.c
s_modff128.c
s_nearbyintf128.c
s_nextafterf128.c
s_nexttowardf128.c
s_nextupf128.c
s_remquof128.c
s_rintf128.c Use rint functions not __rint functions in glibc libm. 2018-09-14 13:10:39 +00:00
s_roundevenf128.c math: redirect roundeven function 2021-06-27 07:56:57 -07:00
s_roundf128.c Use round functions not __round functions in glibc libm. 2018-09-27 12:35:23 +00:00
s_scalblnf128.c
s_scalbnf128.c
s_setpayloadf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_setpayloadsigf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_signbitf128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_significandf128.c
s_sincosf128.c
s_sinf128.c
s_tanf128.c
s_tanhf128.c
s_totalorderf128.c
s_totalordermagf128.c
s_truncf128.c Use trunc functions not __trunc functions in glibc libm. 2018-09-20 21:11:10 +00:00
s_ufromfpf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_ufromfpxf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
strfromf128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strtof128_l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strtof128_nan.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
strtof128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
t_sincosf128.c
Versions Move __isnanf128 to libc.so 2021-03-30 14:58:19 +05:30
w_scalbf128.c Add a generic scalb implementation 2020-02-14 08:24:56 -06:00
wcstof128_l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wcstof128_nan.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wcstof128.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x2y2m1f128.c