Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
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.