aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-10-12 19:43:50 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-11-29 08:18:00 -0200
commita55430cb0e261834ce7a4e118dd9e0f2b7fb14bc (patch)
tree97c4f0030873b741ebb67bada08444ee864f14bb /ChangeLog
parent0609ec0a74f6360ebfb45d048f071a75dfcbc6c7 (diff)
downloadglibc-a55430cb0e261834ce7a4e118dd9e0f2b7fb14bc.tar
glibc-a55430cb0e261834ce7a4e118dd9e0f2b7fb14bc.tar.gz
glibc-a55430cb0e261834ce7a4e118dd9e0f2b7fb14bc.tar.bz2
glibc-a55430cb0e261834ce7a4e118dd9e0f2b7fb14bc.zip
sparc: Assume VIS3 support
This patch assumes VIS3 support by binutils, which is supported since version 2.22. This leads to some code simplification, mostly on multiarch build where there is only one variant instead of previously two (whether binutils supports VIS3 instructions or not). For multiarch files where HAVE_AS_VIS3_SUPPORT was checked and the default implementation was built with a different name, a new file with (implementation with -generic appended) is added. Checked on sparc64-linux-gnu and sparcv9-linux-gnu. * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support. * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise. * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise. * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise. * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise. * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise. * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT] (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros. * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes] (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile ($(have-as-vis3) == yes): Remove conditional. * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)): Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog41
1 files changed, 41 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cfbde5802d..29bcf62589 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,44 @@
+2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
+ * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
+ * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
+ * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
+ * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
+ * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
+ * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
+ (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
+ * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
+ (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
+ ($(have-as-vis3) == yes): Remove conditional.
+ * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
+ Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
+ file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
+
2017-11-29 Joseph Myers <joseph@codesourcery.com>
* sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.