diff mbox series

AArch64: Remove unused defines of CPU names

Message ID PAWPR08MB89827C38B93BF0E4EC0DC1E3831B2@PAWPR08MB8982.eurprd08.prod.outlook.com
State New
Headers show
Series AArch64: Remove unused defines of CPU names | expand

Commit Message

Wilco Dijkstra April 29, 2024, 1:02 p.m. UTC
Remove unused defines of CPU names in cpu-features.h.

---

Comments

Adhemerval Zanella Netto April 29, 2024, 1:11 p.m. UTC | #1
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)
>  
>
diff mbox series

Patch

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)