[PATCH 1/3] x86:Set preferred CPU features on the KH-40000 and KX-7000 Zhaoxin processors

Florian Weimer fweimer@redhat.com
Wed Jun 26 11:01:15 GMT 2024


* MayShao:

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

Somewhat related to that, do you have documentation of the behavior of
*aligned* 128-bit loads?  Are they guaranteed to be atomic?
At least if MOVAPD, MOVAPS, MOVDQA are used?

Thanks,
Florian



More information about the Libc-alpha mailing list