[glibc] AArch64: Remove unused MIDR entries

Wilco Dijkstra via Glibc-cvs <[email protected]>
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=49ed3efdd38e7744d458ea2b1965587d7635a449

commit 49ed3efdd38e7744d458ea2b1965587d7635a449
Author: Wilco Dijkstra <[email protected]>
Date:   Thu Mar 12 14:10:11 2026 +0000

    AArch64: Remove unused MIDR entries
    
    Remove the now unused eMAG MIDR check and unused entries from cpu_list[].
    
    Reviewed-by: Adhemerval Zanella  <[email protected]>

Diff:
---
 sysdeps/aarch64/cpu-features.h                 | 3 ---
 sysdeps/unix/sysv/linux/aarch64/cpu-features.c | 5 -----
 2 files changed, 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),
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.