public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] AArch64: Remove unused defines of CPU names
@ 2024-04-29 13:02 Wilco Dijkstra
  2024-04-29 13:11 ` Adhemerval Zanella Netto
  0 siblings, 1 reply; 2+ messages in thread
From: Wilco Dijkstra @ 2024-04-29 13:02 UTC (permalink / raw)
  To: 'GNU C Library'


Remove unused defines of CPU names in cpu-features.h.

---

diff --git a/sysdeps/aarch64/cpu-features.h b/sysdeps/aarch64/cpu-features.h
index 5f2da91ebbd0adafb0d84ec503b0f902f566da5a..31782b66f95eac086affcff6c2498c3e0a21da90 100644
--- a/sysdeps/aarch64/cpu-features.h
+++ b/sysdeps/aarch64/cpu-features.h
@@ -47,13 +47,6 @@
 #define IS_THUNDERX2(midr) (MIDR_IMPLEMENTOR(midr) == 'C'       \
 			   && MIDR_PARTNUM(midr) == 0xaf)
 
-#define IS_NEOVERSE_N1(midr) (MIDR_IMPLEMENTOR(midr) == 'A'		      \
-			      && MIDR_PARTNUM(midr) == 0xd0c)
-#define IS_NEOVERSE_N2(midr) (MIDR_IMPLEMENTOR(midr) == 'A'		      \
-			      && MIDR_PARTNUM(midr) == 0xd49)
-#define IS_NEOVERSE_V1(midr) (MIDR_IMPLEMENTOR(midr) == 'A'		      \
-			      && MIDR_PARTNUM(midr) == 0xd40)
-
 #define IS_EMAG(midr) (MIDR_IMPLEMENTOR(midr) == 'P'			      \
                        && MIDR_PARTNUM(midr) == 0x000)
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] AArch64: Remove unused defines of CPU names
  2024-04-29 13:02 [PATCH] AArch64: Remove unused defines of CPU names Wilco Dijkstra
@ 2024-04-29 13:11 ` Adhemerval Zanella Netto
  0 siblings, 0 replies; 2+ messages in thread
From: Adhemerval Zanella Netto @ 2024-04-29 13:11 UTC (permalink / raw)
  To: Wilco Dijkstra, 'GNU C Library'



On 29/04/24 10:02, Wilco Dijkstra wrote:
> 
> Remove unused defines of CPU names in cpu-features.h.

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

> 
> ---
> 
> diff --git a/sysdeps/aarch64/cpu-features.h b/sysdeps/aarch64/cpu-features.h
> index 5f2da91ebbd0adafb0d84ec503b0f902f566da5a..31782b66f95eac086affcff6c2498c3e0a21da90 100644
> --- a/sysdeps/aarch64/cpu-features.h
> +++ b/sysdeps/aarch64/cpu-features.h
> @@ -47,13 +47,6 @@
>  #define IS_THUNDERX2(midr) (MIDR_IMPLEMENTOR(midr) == 'C'       \
>  			   && MIDR_PARTNUM(midr) == 0xaf)
>  
> -#define IS_NEOVERSE_N1(midr) (MIDR_IMPLEMENTOR(midr) == 'A'		      \
> -			      && MIDR_PARTNUM(midr) == 0xd0c)
> -#define IS_NEOVERSE_N2(midr) (MIDR_IMPLEMENTOR(midr) == 'A'		      \
> -			      && MIDR_PARTNUM(midr) == 0xd49)
> -#define IS_NEOVERSE_V1(midr) (MIDR_IMPLEMENTOR(midr) == 'A'		      \
> -			      && MIDR_PARTNUM(midr) == 0xd40)
> -
>  #define IS_EMAG(midr) (MIDR_IMPLEMENTOR(midr) == 'P'			      \
>                         && MIDR_PARTNUM(midr) == 0x000)
>  
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-29 13:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-29 13:02 [PATCH] AArch64: Remove unused defines of CPU names Wilco Dijkstra
2024-04-29 13:11 ` Adhemerval Zanella Netto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).