Add _Float32 function aliases

System Internals / glibc - Joseph Myers [codesourcery.com] - 7 December 2017 00:48 EST

This patch concludes filling out TS 18661-3 support for different types by adding *f32 function aliases of float functions to support _Float32. As with _Float64 and _Float32x, this is supported for all glibc configurations. As with the previous such patches there are some x86 ulps updates because of inline functions present for float but not for _Float32. The patch also has the usual bits/floatn-common.h update, symbol versions, ABI baselines updates, test enablement and documentation.

Tested for x86_64 and x86, and with build-many-glibcs.py, with both GCC 6 and GCC 7.

- bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
- manual/math.texi (Mathematics): Document support for _Float32.
- math/Makefile (test-types): Add float32.
- math/Versions (GLIBC_2.27): Add _Float32 functions.
- stdlib/Versions (GLIBC_2.27): Likewise.
- wcsmbs/Versions (GLIBC_2.27): Likewise.
- sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
- sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.

- sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
- sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
- sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
- sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
- sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
- sysdeps/i386/fpu/libm-test-ulps: Likewise.
- sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.

1f9055ce04 Add _Float32 function aliases.
ChangeLog | 79 ++++++++
NEWS | 6 +-
bits/floatn-common.h | 2 +-
manual/math.texi | 3 +-
math/Makefile | 2 +-
math/Versions | 210 ++++++++++-----------
stdlib/Versions | 8 +-
sysdeps/i386/fpu/libm-test-ulps | 7 +-
sysdeps/i386/i686/fpu/multiarch/libm-test-ulps | 7 +-
sysdeps/unix/sysv/linux/aarch64/libc.abilist | 5 +
sysdeps/unix/sysv/linux/aarch64/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/alpha/libc.abilist | 5 +
sysdeps/unix/sysv/linux/alpha/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/arm/libc.abilist | 5 +
sysdeps/unix/sysv/linux/arm/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/hppa/libc.abilist | 5 +
sysdeps/unix/sysv/linux/hppa/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/i386/libc.abilist | 5 +
sysdeps/unix/sysv/linux/i386/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/ia64/libc.abilist | 5 +
sysdeps/unix/sysv/linux/ia64/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist | 5 +
sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist | 5 +
sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/microblaze/libc.abilist | 5 +
sysdeps/unix/sysv/linux/microblaze/libm.abilist | 104 ++++++++++
.../unix/sysv/linux/mips/mips32/fpu/libc.abilist | 5 +
sysdeps/unix/sysv/linux/mips/mips32/libm.abilist | 104 ++++++++++
.../unix/sysv/linux/mips/mips32/nofpu/libc.abilist | 5 +
sysdeps/unix/sysv/linux/mips/mips64/libm.abilist | 104 ++++++++++
.../unix/sysv/linux/mips/mips64/n32/libc.abilist | 5 +
.../unix/sysv/linux/mips/mips64/n64/libc.abilist | 5 +
sysdeps/unix/sysv/linux/nios2/libc.abilist | 5 +
sysdeps/unix/sysv/linux/nios2/libm.abilist | 104 ++++++++++
.../sysv/linux/powerpc/powerpc32/fpu/libc.abilist | 5 +
.../sysv/linux/powerpc/powerpc32/fpu/libm.abilist | 104 ++++++++++
.../linux/powerpc/powerpc32/nofpu/libc.abilist | 5 +
.../linux/powerpc/powerpc32/nofpu/libm.abilist | 104 ++++++++++
.../sysv/linux/powerpc/powerpc64/libc-le.abilist | 5 +
.../unix/sysv/linux/powerpc/powerpc64/libc.abilist | 5 +
.../sysv/linux/powerpc/powerpc64/libm-le.abilist | 104 ++++++++++
.../unix/sysv/linux/powerpc/powerpc64/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist | 5 +
sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist | 5 +
sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/sh/libc.abilist | 5 +
sysdeps/unix/sysv/linux/sh/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist | 5 +
sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist | 5 +
sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist | 104 ++++++++++
.../sysv/linux/tile/tilegx/tilegx32/libc.abilist | 5 +
.../sysv/linux/tile/tilegx/tilegx32/libm.abilist | 104 ++++++++++
.../sysv/linux/tile/tilegx/tilegx64/libc.abilist | 5 +
.../sysv/linux/tile/tilegx/tilegx64/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist | 5 +
sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/x86_64/64/libc.abilist | 5 +
sysdeps/unix/sysv/linux/x86_64/64/libm.abilist | 104 ++++++++++
sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist | 5 +
sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist | 104 ++++++++++
wcsmbs/Versions | 6 +-
64 files changed, 3052 insertions(+), 122 deletions(-)

Upstream: sourceware.org


  • Share