News: 0001590454

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

LoongArch LA32 Target Proposed For The GCC Compiler

([GNU] 56 Minutes Ago LoongArch 32-bit)


While [1]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.

Since earlier this year there have been [2]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 [3]34 patches now out for review and consideration for this LoongArch32 target for the GCC compiler.



[1] https://www.phoronix.com/news/LoongArch-For-GCC-12

[2] https://www.phoronix.com/news/LoongArch-32-bit-Linux-uAPI

[3] https://gcc.gnu.org/pipermail/gcc-patches/2025-November/700062.html



American business long ago gave up on demanding that prospective employees
be honest and hardworking. It has even stopped hoping for employees who are
educated enough that they can tell the difference between the men's room and
the women's room without having little pictures on the doors.
-- Dave Barry, "Urine Trouble, Mister"