diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 35c8e7a7..6887e4db 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -343,6 +343,8 @@ Using the models argument will also export all needed models by entity declarati * Initial support for the MIPS64 architecture (thanks to Ramil Sattarov) +* Initial support for the LoongArch64 architecture (thanks to Ramil Sattarov) + * Initial support for the PPC64 architecture (thanks to Trung Lê) * Initial support for the Raspberry Pi 4 (thanks to Alejandro Piñeiro) diff --git a/neo/idlib/sys/sys_defines.h b/neo/idlib/sys/sys_defines.h index 2e5a1b3a..ca9ee5b5 100644 --- a/neo/idlib/sys/sys_defines.h +++ b/neo/idlib/sys/sys_defines.h @@ -125,6 +125,8 @@ If you have questions concerning this license or the applicable additional terms #define CPUSTRING "riscv" #elif defined(__sparc__) || defined(__sparc) #define CPUSTRING "sparc" + #elif defined(__loongarch64) + #define CPUSTRING "loongarch64" #else #error unknown CPU #endif