VOOZH about

URL: https://www.phoronix.com/news/LoongArch-32-bit-GCC-Patches

⇱ LoongArch LA32 Target Proposed For The GCC Compiler - Phoronix


👁 Phoronix

LoongArch LA32 Target Proposed For The GCC Compiler

Written by Michael Larabel in GNU on 10 November 2025 at 05:04 AM EST. 3 Comments
While LoongArch 64-bit is already part of the GCC compiler for the past several years, LoongArch 32-bit is now being proposed for the GNU Compiler Collection.

Sent out today were patches proposing LoongArch 32-bit for the GCC compiler with the LoongArch32 ILP32D ABI and LoongArch32 Reduced LA32R ILP32S ABI. The ILP32 ABI ends up being similar to the 64-bit LoongArch LP64 ABI but with some minor differences.

👁 Loongson graphic


Since earlier this year there have been proposed patches for LoongArch32 for the Linux kernel. There are also out-of-tree patches for the GNU C Library, GNU Binutils, and a pached LA32 QEMU system too. While many would love to be focused on just a 64-bit world in 2025+, it looks like Loongson is having new/recent interest now in LoongArch32 after their LoongArch64 architecture has already taken off domestically.
"These series patches introduce LoongArch32(LA32) ilp32d abi and LoongArch32 Reduced(LA32R) ilp32s abi. The ilp32 abi is similar to lp64 abi, with some differences in details.

Most gcc testcasese has passed when using qemu-user."

There are 34 patches now out for review and consideration for this LoongArch32 target for the GCC compiler.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.