[PATCH v1] x86: Cache computation for AMD architecture.

Andreas Schwab schwab@suse.de
Thu Feb 9 13:43:59 GMT 2023


On Jan 18 2023, Karumanchi, Sajan via Libc-alpha wrote:

> diff --git a/sysdeps/x86/dl-cacheinfo.h b/sysdeps/x86/dl-cacheinfo.h
> index e9f3382108..21ac0a2dad 100644
> --- a/sysdeps/x86/dl-cacheinfo.h
> +++ b/sysdeps/x86/dl-cacheinfo.h
> @@ -311,117 +311,47 @@ handle_intel (int name, const struct cpu_features *cpu_features)
>  
>  
>  static long int __attribute__ ((noinline))
> -handle_amd (int name)
> +handle_amd (int name, const struct cpu_features *cpu_features)

Nothing uses that argument.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list