diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-08-09 16:48:54 -0500 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-06-26 15:04:47 -0300 |
commit | f819dbea0a58270293c49b514b64848c6e84fda1 (patch) | |
tree | 8445824e54752726301e6d4c8d906bd3273451d0 /NEWS | |
parent | a27d2c19355a15569dfcdd5da741b57acf1a106a (diff) | |
download | glibc-f819dbea0a58270293c49b514b64848c6e84fda1.tar.gz glibc-f819dbea0a58270293c49b514b64848c6e84fda1.tar.xz glibc-f819dbea0a58270293c49b514b64848c6e84fda1.zip |
powerpc64le: Enable float128
This patch adds ULPs for the float128 type, updates the abilist for libc and libm, and adds the files bits/floatn.h and float128-abi.h, in order to enable the new type for powerpc64le. This patch also adds the implementation of sqrtf128 for powerpc64le, since it is not implemented in libgcc. The sfp-machine.h header is taken from libgcc. Tested for powerpc64le (GCC 6.2 and GCC 7.1), powerpc64 and s390x. * manual/math.texi (Mathematics): Mention the enabling of float128 for powerpc64le. * sysdeps/powerpc/bits/floatn.h: New file. * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. * sysdeps/powerpc/fpu/math_private.h: (__ieee754_sqrtf128): New inline override. * sysdeps/powerpc/powerpc64le/Implies-before: New file. * sysdeps/powerpc/powerpc64le/Makefile: New file. * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file. * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file. * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Updated. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: New file.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/NEWS b/NEWS index e8546e118e..027f09b8c7 100644 --- a/NEWS +++ b/NEWS @@ -121,6 +121,100 @@ Version 2.26 C Library is GCC 4.9. Older GCC versions, and non-GNU compilers, can still be used to compile programs using the GNU C Library. +* Support is added, on powerpc64le, for interfaces supporting the _Float128 + type from ISO/IEC TS 18661-3:2015. Most of the interfaces are taken from + TS 18661-3. The type-generic macros in <math.h> support this type, but + those in <tgmath.h> do not. The GNU C Library now requires GCC 6.2 or + later to build for powerpc64le. When used with GCC versions before GCC + 7, these interfaces may be used with the type under the non-standard name + __float128. + + New <stdlib.h> functions from ISO/IEC TS 18661-3: + + - String Conversion Functions: strfromf128 and strtof128. + + New <math.h> features from ISO/IEC TS 18661-3: + + - Very Large Number macro: HUGE_VAL_F128. + + - Signaling NaN macro: SNANF128. + + - Trigonometric Functions: acosf128, asinf128, atanf128, atan2f128, + cosf128, sinf128, tanf128. + + - Hyperbolic Functions: acoshf128, asinhf128, atanhf128, coshf128, + sinhf128, tanhf128. + + - Exponential and Logarithmic Functions: expf128, exp2f128, expm1f128, + frexpf128, ilogbf128, ldexpf128, llogbf128, logf128, log10f128, + log1pf128, log2f128, logbf128, modff128, scalbnf128, scalblnf128. + + - Power and Absolute Functions: cbrtf128, fabsf128, hypotf128, powf128, + sqrtf128. + + - Error and Gamma Functions: erff128, erfcf128, lgammaf128, tgammaf128. + + - Nearest Integer Functions: ceilf128, floorf128, nearbyintf128, + rintf128, lrintf128, llrintf128, roundf128, lroundf128, llroundf128, + roundevenf128, truncf128, fromfpf128, ufromfpf128, fromfpxf128, + ufromfpxf128. + + - Remainder Functions: fmodf128, remainderf128, remquof128. + + - Manipulation Functions: copysignf128, nanf128, nextafterf128, + nextupf128, nextdownf128, canonicalizef128. + + - Minimum, Maximum, and Positive Difference Functions: fdimf128, + fmaxf128, fminf128, fmaxmagf128, fminmagf128. + + - Floating Multiply-Add Function: fmaf128. + + - Total Order Functions: totalorderf128, totalordermagf128. + + - Payload Functions: getpayloadf128, setpayloadf128, setpayloadsigf128. + + New <complex.h> functions from ISO/IEC TS 18661-3: + + - Trigonometric Functions: cacosf128, casinf128, catanf128, ccosf128, + csinf128, ctanf128. + + - Hyperbolic Functions: cacoshf128, casinhf128, catanhf128, ccoshf128, + csinhf128, ctanhf128. + + - Exponential and Logarithmic Functions: cexpf128, clogf128. + + - Power and Absolute Functions: cabsf128, cpowf128, csqrtf128. + + - Manipulation Functions: cargf128, cimagf128, CMPLXF128, conjf128, + cprojf128, crealf128. + + The following <wchar.h> functions are added as GNU extensions: + + - Wide String Conversion Functions: wsctof128, wcstof128_l. + + The following <stdlib.h> function is added as a GNU extension: + + - String Conversion Function: strtof128_l. + + The following <math.h> features are added as GNU extensions: + + - Predefined Mathematical Constants: M_Ef128, M_LOG2Ef128, + M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128, + M_PI_4f128, M_1_PIf128, M_2_PIf128, M_2_SQRTPIf128, M_SQRT2f128, + M_SQRT1_2f128. + + - Trigonometric Function: sincosf128. + + - Exponential and Logarithmic Function: exp10f128. + + - Error and Gamma Function: lgammaf128_r. + + - Bessel Functions: j0f128, j1f128, jnf128, y0f128, y1f128, ynf128. + + The following <complex.h> function is added as a GNU extension: + + - Exponential and Logarithmic Function: clog10f128. + Security related changes: * The DNS stub resolver limits the advertised UDP buffer size to 1200 bytes, |