diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-10-06 12:59:32 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-06 17:37:57 -0200 |
commit | a1a638dda91ed7739a066477908511e53840603b (patch) | |
tree | e97e3e6fbc929d8e5926f4731104b4a1ed18918b /ChangeLog | |
parent | 802c1f1645d626c1297246d62f5586734686a128 (diff) | |
download | glibc-a1a638dda91ed7739a066477908511e53840603b.tar.gz glibc-a1a638dda91ed7739a066477908511e53840603b.tar.xz glibc-a1a638dda91ed7739a066477908511e53840603b.zip |
arm: Implement memchr ifunc selection in C
This patch refactor ARM memchr ifunc selector to a C implementation. No functional change is expected, including ifunc resolution rules. It also reorganize the ifunc options code: 1. The memchr_impl.S is renamed to memchr_neon.S and multiple compilation options (which route to armv6t2/memchr one) is removed. The code to build if __ARM_NEON__ is defined is also simplified. 2. A memchr_noneon is added (which as build along previous ifunc resolution) and includes the armv6t2 direct. 3. Same as 2. for loader object. Alongside the aforementioned changes, it also some cleanus: - Internal memchr definition (__GI_memcpy) is now a hidden symbol. - No need to create hidden definition for the ifunc variants. Checked on armv7-linux-gnueabihf and with a build for arm-linux-gnueabi, arm-linux-gnueabihf with and without multiarch support and with both GCC 7.1 and GCC mainline. * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string] (sysdeps_routines): Add memchr_noneon. * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file. * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise. * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise. * sysdeps/arm/armv7/multiarch/memchr.S: Remove file. * sysdeps/arm/armv7/multiarch/memchr.c: New file. * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ... * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index b3f8c23ab4..7abc8f6f0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org> + * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string] + (sysdeps_routines): Add memchr_noneon. + * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file. + * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise. + * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise. + * sysdeps/arm/armv7/multiarch/memchr.S: Remove file. + * sysdeps/arm/armv7/multiarch/memchr.c: New file. + * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ... + * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here. + * sysdeps/arm/arm-ifunc.h: New file. * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise. * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise. |