summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2026-03-12 14:10:11 +0000
committerWilco Dijkstra <wilco.dijkstra@arm.com>2026-04-02 14:14:57 +0000
commit49ed3efdd38e7744d458ea2b1965587d7635a449 (patch)
treee38a8d4871a7d5be4368ac1cb7621753c5f11771
parentd43c0b008eb04208403421f3a40752b2c55b650b (diff)
AArch64: Remove unused MIDR entriesHEADorigin/masterorigin/HEADmaster
Remove the now unused eMAG MIDR check and unused entries from cpu_list[]. Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
-rw-r--r--sysdeps/aarch64/cpu-features.h3
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/cpu-features.c5
2 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/aarch64/cpu-features.h b/sysdeps/aarch64/cpu-features.h
index a6ec3eebe9..d6367a4596 100644
--- a/sysdeps/aarch64/cpu-features.h
+++ b/sysdeps/aarch64/cpu-features.h
@@ -40,9 +40,6 @@
#define MIDR_IMPLEMENTOR(midr) \
(((midr) & MIDR_IMPLEMENTOR_MASK) >> MIDR_IMPLEMENTOR_SHIFT)
-#define IS_EMAG(midr) (MIDR_IMPLEMENTOR(midr) == 'P' \
- && MIDR_PARTNUM(midr) == 0x000)
-
#define IS_KUNPENG920(midr) (MIDR_IMPLEMENTOR(midr) == 'H' \
&& MIDR_PARTNUM(midr) == 0xd01)
diff --git a/sysdeps/unix/sysv/linux/aarch64/cpu-features.c b/sysdeps/unix/sysv/linux/aarch64/cpu-features.c
index 1e4f8a86b1..36bd72bb12 100644
--- a/sysdeps/unix/sysv/linux/aarch64/cpu-features.c
+++ b/sysdeps/unix/sysv/linux/aarch64/cpu-features.c
@@ -44,11 +44,6 @@ struct cpu_list
static const struct cpu_list cpu_list[] =
{
#define CPU_LIST_ENTRY(__str, __num) { __str, sizeof (__str) - 1, __num }
- CPU_LIST_ENTRY ("thunderxt88", 0x430F0A10),
- CPU_LIST_ENTRY ("thunderx2t99", 0x431F0AF0),
- CPU_LIST_ENTRY ("thunderx2t99p1", 0x420F5160),
- CPU_LIST_ENTRY ("ares", 0x411FD0C0),
- CPU_LIST_ENTRY ("emag", 0x503F0001),
CPU_LIST_ENTRY ("kunpeng920", 0x481FD010),
CPU_LIST_ENTRY ("kunpeng950", 0x480FD060),
CPU_LIST_ENTRY ("a64fx", 0x460F0010),