1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

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.
This commit is contained in:
Xuelei Zhang
2019-12-27 11:58:19 -03:00
committed by Adhemerval Zanella
parent 64297d49b3
commit 10df95cdaf
4 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ static struct cpu_list cpu_list[] = {
{"phecda", 0x680F0000},
{"ares", 0x411FD0C0},
{"emag", 0x503F0001},
{"kunpeng", 0x481FD010},
{"kunpeng920", 0x481FD010},
{"generic", 0x0}
};

View File

@ -57,7 +57,7 @@
#define IS_EMAG(midr) (MIDR_IMPLEMENTOR(midr) == 'P' \
&& MIDR_PARTNUM(midr) == 0x000)
#define IS_KUNPENG(midr) (MIDR_IMPLEMENTOR(midr) == 'H' \
#define IS_KUNPENG920(midr) (MIDR_IMPLEMENTOR(midr) == 'H' \
&& MIDR_PARTNUM(midr) == 0xd01)
struct cpu_features