Add loongarch64 support

Add loongarch64 definitions & lua module setjmp asm

LoongArch is a new RISC ISA, which is a bit like MIPS or RISC-V.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Han Gao <gaohan@uniontech.com>
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Closes #13422
This commit is contained in:
Han Gao
2023-04-26 07:05:45 +08:00
committed by GitHub
parent 6b6aaf6dc2
commit 6d59d5df98
5 changed files with 120 additions and 2 deletions
+2
View File
@@ -16,4 +16,6 @@
#include "setjmp_s390x.S"
#elif defined(__riscv)
#include "setjmp_rv64g.S"
#elif defined(__loongarch_lp64)
#include "setjmp_loongarch64.S"
#endif