Show Your Support: Have you heard of Phoronix Premium? It's what complements advertisements on this site for our premium ad-free service. For less than $4 USD per month, you can help support our site while the funds generated allow us to keep doing Linux hardware reviews, performance benchmarking, maintain our community forums, and much more.
Loongson Posts Patch Series For Bringing Up LoongArch In GCC Compiler
For months Loongson has been working on LoongArch support for the Linux kernel to varying extents from the new CPU ISA functionality to copying a lot of existing MIPS64 code and adding in new IDs. That Linux kernel support is still in the works.
Concurrently they have been working on the compiler/toolchain side as well. Recently LoongArch support for GNU Binutils was merged while sent out today were the set of 12 patches for wiring up the GCC compiler support.
This patch series from a Loongson engineer gets the preliminary support in place. The initial target is loongarch64-linux-gnu for 64-bit LoongArch on Linux.
Though due to the timing with GCC 12 having recently moved to its stage three development with a focus on fixing bugs, it may be too late for LoongArch to appear in GCC 12. In which case the LoongArch support wouldn't appear mainline until GCC 13 in 2023.