]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Set preferred CPU features on the KH-40000 and KX-7000 Zhaoxin processors
authorMayShao-oc <MayShao-oc@zhaoxin.com>
Sat, 29 Jun 2024 03:58:26 +0000 (11:58 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 30 Jun 2024 13:26:43 +0000 (06:26 -0700)
commit44d757eb9f4484dbc3aa32042ab64cdf9374e093
treebc12bd45006af2870317eb1b3f3d625bc9a6453b
parent2f1f7a5f8aa7285e9a55b209dd01fdcb0d4e7281
x86: Set preferred CPU features on the KH-40000 and KX-7000 Zhaoxin processors

Fix code formatting under the Zhaoxin branch and add comments for
different Zhaoxin models.

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.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
sysdeps/x86/cpu-features.c