aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/multiarch
diff options
context:
space:
mode:
authorXuelei Zhang <zhangxuelei4@huawei.com>2019-12-27 11:58:19 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-12-27 11:59:51 -0300
commit10df95cdaf049e77fa84a71359e210e74901057d (patch)
tree2a3684a1e19c8584de2381de3c19223b65bf751e /sysdeps/aarch64/multiarch
parent64297d49b37f637a82faedd16bf8860e0ab31606 (diff)
downloadglibc-10df95cdaf049e77fa84a71359e210e74901057d.zip
glibc-10df95cdaf049e77fa84a71359e210e74901057d.tar.gz
glibc-10df95cdaf049e77fa84a71359e210e74901057d.tar.bz2
aarch64: ifunc rename for kunpeng
Rename ifunc for kunpeng to kunpeng920, and modify the corresponding function files including IS_KUNPENG920 judgement. Checked on aarch64-linux-gnu.
Diffstat (limited to 'sysdeps/aarch64/multiarch')
-rw-r--r--sysdeps/aarch64/multiarch/memset.c2
-rw-r--r--sysdeps/aarch64/multiarch/strlen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/aarch64/multiarch/memset.c b/sysdeps/aarch64/multiarch/memset.c
index 4cc34b9..98fff64 100644
--- a/sysdeps/aarch64/multiarch/memset.c
+++ b/sysdeps/aarch64/multiarch/memset.c
@@ -34,7 +34,7 @@ extern __typeof (__redirect_memset) __memset_kunpeng attribute_hidden;
extern __typeof (__redirect_memset) __memset_generic attribute_hidden;
libc_ifunc (__libc_memset,
- IS_KUNPENG (midr)
+ IS_KUNPENG920 (midr)
?__memset_kunpeng
: ((IS_FALKOR (midr) || IS_PHECDA (midr)) && zva_size == 64
? __memset_falkor
diff --git a/sysdeps/aarch64/multiarch/strlen.c b/sysdeps/aarch64/multiarch/strlen.c
index abf6513..c2ce5ee 100644
--- a/sysdeps/aarch64/multiarch/strlen.c
+++ b/sysdeps/aarch64/multiarch/strlen.c
@@ -34,7 +34,7 @@ extern __typeof (__redirect_strlen) __strlen_generic attribute_hidden;
extern __typeof (__redirect_strlen) __strlen_asimd attribute_hidden;
libc_ifunc (__strlen,
- (USE_ASIMD_STRLEN () || IS_KUNPENG(midr)
+ (USE_ASIMD_STRLEN () || IS_KUNPENG920 (midr)
? __strlen_asimd
:__strlen_generic));