mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
6d59d5df98
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
22 lines
549 B
ArmAsm
22 lines
549 B
ArmAsm
#if defined(__x86_64__)
|
|
#include "setjmp_x86_64.S"
|
|
#elif defined(__i386__)
|
|
#include "setjmp_i386.S"
|
|
#elif defined(__aarch64__)
|
|
#include "setjmp_aarch64.S"
|
|
#elif defined(__arm__)
|
|
#include "setjmp_arm.S"
|
|
#elif defined(__sparc__) && defined(__arch64__)
|
|
#include "setjmp_sparc64.S"
|
|
#elif defined(__powerpc__)
|
|
#include "setjmp_ppc.S"
|
|
#elif defined(__mips__)
|
|
#include "setjmp_mips.S"
|
|
#elif defined(__s390x__)
|
|
#include "setjmp_s390x.S"
|
|
#elif defined(__riscv)
|
|
#include "setjmp_rv64g.S"
|
|
#elif defined(__loongarch_lp64)
|
|
#include "setjmp_loongarch64.S"
|
|
#endif
|