LLVM/Clang Lands Initial Compiler Targeting For Hygon x86 CPUs
Following the recent Hygon C86-4G CPU support added to the GCC 17 compiler, the open-source LLVM Clang compiler has similarly seen Hygon c86-4g-m4 / c86-4g-m6 / c86-4g-m7 CPU support merged.
Hitting LLVM Git today ahead of the LLVM/Clang 23.1 release later in the year is initial targeting for Hygon x86 CPUs with the c86-4g-m4, c86-4g-m6, and c86-4g-m7 CPU targets.
The initial merge includes adding these CPU targets to LLVM and Clang, host CPU detection, compiler-rt CPU model detection, Hygon added to the optimizer tests, and also the scheduler models for Hygon architecture CPUs.
These C86-4G x86 Chinese CPUs have previously been reported to perform similar to roughly Intel Raptor Lake processors.
This commit lands that initial compiler targeting for LLVM/Clang.
Hitting LLVM Git today ahead of the LLVM/Clang 23.1 release later in the year is initial targeting for Hygon x86 CPUs with the c86-4g-m4, c86-4g-m6, and c86-4g-m7 CPU targets.
The initial merge includes adding these CPU targets to LLVM and Clang, host CPU detection, compiler-rt CPU model detection, Hygon added to the optimizer tests, and also the scheduler models for Hygon architecture CPUs.
These C86-4G x86 Chinese CPUs have previously been reported to perform similar to roughly Intel Raptor Lake processors.
👁 Hygon enablement in LLVM Clang
This commit lands that initial compiler targeting for LLVM/Clang.
