[PATCH 1/3] x86:Set preferred CPU features on the KH-40000 and KX-7000 Zhaoxin processors
Xi Ruoyao
xry111@xry111.site
Wed Jun 26 02:56:18 GMT 2024
On Wed, 2024-06-26 at 10:46 +0800, MayShao wrote:
> From: MayShao <mayshao-oc@zhaoxin.com>
>
> Fix code indentation issues under the Zhaoxin branch.
>
> Unaligned AVX load are slower on KH-40000 and KX-7000, so disable
> the AVX_Fast_Unaligned_Load.
>
> Enable Prefer_No_VZEROUPPER and Fast_Unaligned_Load features to
> use sse2_unaligned version of memset,strcpy and strcat.
> ---
> sysdeps/x86/cpu-features.c | 66 ++++++++++++++++++++++---------------
> -
> 1 file changed, 39 insertions(+), 27 deletions(-)
>
> diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c
> index 3d7c2819d7..24fbf699b9 100644
> --- a/sysdeps/x86/cpu-features.c
> +++ b/sysdeps/x86/cpu-features.c
> @@ -1015,7 +1015,7 @@
> https://www.intel.com/content/www/us/en/support/articles/000059422/processors.ht
> kind = arch_kind_zhaoxin;
>
> get_common_indices (cpu_features, &family, &model,
> &extended_model,
> - &stepping);
> + &stepping);
Don't randomly change tabs to spaces.
--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
More information about the Libc-alpha
mailing list