AArch64: Remove unused defines of CPU names

Message ID PAWPR08MB89827C38B93BF0E4EC0DC1E3831B2@PAWPR08MB8982.eurprd08.prod.outlook.com
State Committed
Commit 6dae61567fbf4e7519bcdeb20a5f4026715c354e
Headers
Series AArch64: Remove unused defines of CPU names |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Testing passed
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Testing passed

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)
>  
>
  

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)