GCC supports Zhaoxin Lujiazui CPU

Zhaoxin, a joint venture between Taiwan's VIA (VIA) and the Shanghai municipal government, launched the ZX-E / KX-6000 series of x86_64 micro-architecture processors in 2019, code-named "Lujiazui".

The KX-6000 is manufactured with a 16nm process and has a frequency of 3.0GHz. It is an eight-core x86-64 processor. Its performance is 50% higher than that of the previous generation KX-5000 series, reaching the level of the Intel i5-7400. When it was first released in 2019, the Linux kernel upstream added support for it, but the widely used GCC compiler has not correctly identified the Lujiazui processor, but misidentified it as Intel's Core 2 or i386 CPU.

Last Friday, Zhaoxin developers submitted a patch to add official support for Lujiazui CPUs for GCC . In addition to correctly identifying the processor, this patch also performs certain performance tuning for the Lujiazui micro-architecture. Additionally, the patch allows GCC -march/-mtune to use the "lujiazui" value specifically for this microarchitecture.

The official release time of GCC 12 is approaching, so it is unknown if the newly submitted 1158-line patch will be added during this cycle - currently in the fourth stage of development, and in theory incorporating such a patch will not cause GCC to return. Risk of error, so should be added.

Zhaoxin is currently developing the next-generation KX-7000, which uses TSMC's 7nm process and features DDR5 and PCI Express 4.0 connectivity. It was originally planned to be launched in 2021, but there is no news of a new processor. It may be due to the new crown epidemic or Supply chain issues caused delays.

Guess you like

Origin www.oschina.net/news/188557/zhaoxin-lujiazui-gcc