summaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-03-20 00:34:52 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-03-20 00:34:52 +0000
commit8d3f9e85cfa14e5f82a0e9e934b9fe1e4cb342bf (patch)
treeccddc18ea0339991b035ced7e3d437516b7abca1 /sysdeps/unix
parentd473f01520af910fbc7d61ed8504a8a35a1aa720 (diff)
downloadglibc-8d3f9e85cfa14e5f82a0e9e934b9fe1e4cb342bf.tar.gz
Add narrowing subtract functions.
This patch adds the narrowing subtract functions from TS 18661-1 to glibc's libm: fsub, fsubl, dsubl, f32subf64, f32subf32x, f32xsubf64 for all configurations; f32subf64x, f32subf128, f64subf64x, f64subf128, f32xsubf64x, f32xsubf128, f64xsubf128 for configurations with _Float64x and _Float128; __nldbl_dsubl for ldbl-opt. The changes are essentially the same as for the narrowing add functions, so the description of those generally applies to this patch as well. Tested for x86_64, x86, mips64 (all three ABIs, both hard and soft float) and powerpc, and with build-many-glibcs.py. * math/Makefile (libm-narrow-fns): Add sub. (libm-test-funcs-narrow): Likewise. * math/Versions (GLIBC_2.28): Add narrowing subtract functions. * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW. * math/gen-auto-libm-tests.c (test_functions): Add sub. * math/math-narrow.h (CHECK_NARROW_SUB): New macro. (NARROW_SUB_ROUND_TO_ODD): Likewise. (NARROW_SUB_TRIVIAL): Likewise. * sysdeps/ieee754/float128/float128_private.h (__fsubl): New macro. (__dsubl): Likewise. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and dsub. (CFLAGS-nldbl-dsub.c): New variable. (CFLAGS-nldbl-fsub.c): Likewise. * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add __nldbl_dsubl. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New prototype. * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl, dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx. * math/auto-libm-test-in: Add tests of sub. * math/auto-libm-test-out-narrow-sub: New generated file. * math/libm-test-narrow-sub.inc: New file. * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise. * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise. * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise. * sysdeps/ieee754/float128/s_f32subf128.c: Likewise. * sysdeps/ieee754/float128/s_f64subf128.c: Likewise. * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise. * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise. * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise. * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise. * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise. * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise. * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Update. * sysdeps/mach/hurd/i386/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.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/riscv/rv64/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/libm.abilist13
-rw-r--r--sysdeps/unix/sysv/linux/alpha/libm.abilist14
-rw-r--r--sysdeps/unix/sysv/linux/arm/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/hppa/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/i386/libm.abilist13
-rw-r--r--sysdeps/unix/sysv/linux/ia64/libm.abilist13
-rw-r--r--sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips32/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/libm.abilist13
-rw-r--r--sysdeps/unix/sysv/linux/nios2/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist7
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist7
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist14
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist7
-rw-r--r--sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist13
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist14
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist14
-rw-r--r--sysdeps/unix/sysv/linux/sh/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist14
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist13
-rw-r--r--sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist6
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/64/libm.abilist13
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist13
26 files changed, 255 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/libm.abilist b/sysdeps/unix/sysv/linux/aarch64/libm.abilist
index dbb53260c1..c88a3eef47 100644
--- a/sysdeps/unix/sysv/linux/aarch64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/aarch64/libm.abilist
@@ -988,15 +988,28 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
diff --git a/sysdeps/unix/sysv/linux/alpha/libm.abilist b/sysdeps/unix/sysv/linux/alpha/libm.abilist
index 00a7b8d426..9b32581f93 100644
--- a/sysdeps/unix/sysv/linux/alpha/libm.abilist
+++ b/sysdeps/unix/sysv/linux/alpha/libm.abilist
@@ -998,19 +998,33 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 __nldbl_daddl F
+GLIBC_2.28 __nldbl_dsubl F
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.3.4 GLIBC_2.3.4 A
GLIBC_2.3.4 __c1_cabsf F
GLIBC_2.3.4 __c1_cacosf F
diff --git a/sysdeps/unix/sysv/linux/arm/libm.abilist b/sysdeps/unix/sysv/linux/arm/libm.abilist
index 67ed6562d5..543aaa70ea 100644
--- a/sysdeps/unix/sysv/linux/arm/libm.abilist
+++ b/sysdeps/unix/sysv/linux/arm/libm.abilist
@@ -437,11 +437,17 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 _LIB_VERSION D 0x4
GLIBC_2.4 __clog10 F
diff --git a/sysdeps/unix/sysv/linux/hppa/libm.abilist b/sysdeps/unix/sysv/linux/hppa/libm.abilist
index 4cd41e3cf0..399d1b11fc 100644
--- a/sysdeps/unix/sysv/linux/hppa/libm.abilist
+++ b/sysdeps/unix/sysv/linux/hppa/libm.abilist
@@ -749,10 +749,16 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 exp2l F
diff --git a/sysdeps/unix/sysv/linux/i386/libm.abilist b/sysdeps/unix/sysv/linux/i386/libm.abilist
index b9aa407783..1eecf4105d 100644
--- a/sysdeps/unix/sysv/linux/i386/libm.abilist
+++ b/sysdeps/unix/sysv/linux/i386/libm.abilist
@@ -1035,16 +1035,29 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
diff --git a/sysdeps/unix/sysv/linux/ia64/libm.abilist b/sysdeps/unix/sysv/linux/ia64/libm.abilist
index a7981b8ff2..debb9d80b6 100644
--- a/sysdeps/unix/sysv/linux/ia64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libm.abilist
@@ -964,16 +964,29 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist
index 67ed6562d5..543aaa70ea 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist
@@ -437,11 +437,17 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 _LIB_VERSION D 0x4
GLIBC_2.4 __clog10 F
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist
index e833cdb130..310085d5b8 100644
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist
@@ -791,9 +791,15 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
diff --git a/sysdeps/unix/sysv/linux/microblaze/libm.abilist b/sysdeps/unix/sysv/linux/microblaze/libm.abilist
index 3d779cb9b9..c45bc4162e 100644
--- a/sysdeps/unix/sysv/linux/microblaze/libm.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/libm.abilist
@@ -748,8 +748,14 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libm.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libm.abilist
index 6b86a2dfcb..0038994ced 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/libm.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/libm.abilist
@@ -750,11 +750,17 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 exp2l F
_gp_disp _gp_disp A
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libm.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libm.abilist
index 137e5f1723..47044e6849 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/libm.abilist
@@ -990,16 +990,29 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
diff --git a/sysdeps/unix/sysv/linux/nios2/libm.abilist b/sysdeps/unix/sysv/linux/nios2/libm.abilist
index 736c70f8eb..64b40b6253 100644
--- a/sysdeps/unix/sysv/linux/nios2/libm.abilist
+++ b/sysdeps/unix/sysv/linux/nios2/libm.abilist
@@ -748,8 +748,14 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist
index ea84f1e028..d39a1b335a 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist
@@ -793,12 +793,19 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 __nldbl_daddl F
+GLIBC_2.28 __nldbl_dsubl F
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 __clog10l F
GLIBC_2.4 __finitel F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist
index ee2593c5a4..1bbb215225 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist
@@ -792,12 +792,19 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 __nldbl_daddl F
+GLIBC_2.28 __nldbl_dsubl F
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 __clog10l F
GLIBC_2.4 __finitel F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist
index 075f026668..977021c3d5 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist
@@ -1029,16 +1029,30 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 __nldbl_daddl F
+GLIBC_2.28 __nldbl_dsubl F
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist
index 9e6c7d3b16..ae8d4e89e1 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist
@@ -468,12 +468,19 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 __nldbl_daddl F
+GLIBC_2.28 __nldbl_dsubl F
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.3 GLIBC_2.3 A
GLIBC_2.3 _LIB_VERSION D 0x4
GLIBC_2.3 __clog10 F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist
index 9a6bcb18e0..d6a2bad753 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist
@@ -970,15 +970,28 @@ GLIBC_2.27 ynf64x F
GLIBC_2.27 ynl F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist
index 7b1854d1ab..0f94d18079 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist
@@ -988,19 +988,33 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 __nldbl_daddl F
+GLIBC_2.28 __nldbl_dsubl F
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 __clog10l F
GLIBC_2.4 __finitel F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist
index 24b4c21a64..87168e2b09 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist
@@ -986,19 +986,33 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 __nldbl_daddl F
+GLIBC_2.28 __nldbl_dsubl F
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 __clog10l F
GLIBC_2.4 __finitel F
diff --git a/sysdeps/unix/sysv/linux/sh/libm.abilist b/sysdeps/unix/sysv/linux/sh/libm.abilist
index 011c2dfc94..d1de78130b 100644
--- a/sysdeps/unix/sysv/linux/sh/libm.abilist
+++ b/sysdeps/unix/sysv/linux/sh/libm.abilist
@@ -749,10 +749,16 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 exp2l F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist
index fdc125afa9..6c526a32e4 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist
@@ -995,19 +995,33 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 __nldbl_daddl F
+GLIBC_2.28 __nldbl_dsubl F
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
GLIBC_2.4 __clog10l F
GLIBC_2.4 __finitel F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist
index 1fc848a59d..18f6551766 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist
@@ -989,16 +989,29 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
diff --git a/sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist b/sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist
index a7c37e2bef..73ceb5a62a 100644
--- a/sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist
+++ b/sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist
@@ -749,8 +749,14 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
diff --git a/sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist b/sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist
index a7c37e2bef..73ceb5a62a 100644
--- a/sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist
@@ -749,8 +749,14 @@ GLIBC_2.27 ynf32x F
GLIBC_2.27 ynf64 F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
GLIBC_2.28 f32xaddf64 F
+GLIBC_2.28 f32xsubf64 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libm.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libm.abilist
index 0d8c44848e..e4d0fa8e56 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/libm.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/libm.abilist
@@ -1024,16 +1024,29 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F
GLIBC_2.4 GLIBC_2.4 A
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist
index e7f368eaf4..543b5f80b7 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist
@@ -1023,15 +1023,28 @@ GLIBC_2.27 ynf64 F
GLIBC_2.27 ynf64x F
GLIBC_2.28 GLIBC_2.28 A
GLIBC_2.28 daddl F
+GLIBC_2.28 dsubl F
GLIBC_2.28 f32addf128 F
GLIBC_2.28 f32addf32x F
GLIBC_2.28 f32addf64 F
GLIBC_2.28 f32addf64x F
+GLIBC_2.28 f32subf128 F
+GLIBC_2.28 f32subf32x F
+GLIBC_2.28 f32subf64 F
+GLIBC_2.28 f32subf64x F
GLIBC_2.28 f32xaddf128 F
GLIBC_2.28 f32xaddf64 F
GLIBC_2.28 f32xaddf64x F
+GLIBC_2.28 f32xsubf128 F
+GLIBC_2.28 f32xsubf64 F
+GLIBC_2.28 f32xsubf64x F
GLIBC_2.28 f64addf128 F
GLIBC_2.28 f64addf64x F
+GLIBC_2.28 f64subf128 F
+GLIBC_2.28 f64subf64x F
GLIBC_2.28 f64xaddf128 F
+GLIBC_2.28 f64xsubf128 F
GLIBC_2.28 fadd F
GLIBC_2.28 faddl F
+GLIBC_2.28 fsub F
+GLIBC_2.28 fsubl F