[PATCH] AArch64: Remove unused defines of CPU names

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Mon Apr 29 13:11:19 GMT 2024



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


More information about the Libc-alpha mailing list