mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-12 09:24:07 +00:00
riscv(jit): add IR assembler
This commit is contained in:
parent
160c28acb5
commit
83f3cc575e
@ -227,6 +227,8 @@ static Reg rset_pickrandom(ASMState *as, RegSet rs)
|
||||
#include "lj_emit_ppc.h"
|
||||
#elif LJ_TARGET_MIPS
|
||||
#include "lj_emit_mips.h"
|
||||
#elif LJ_TARGET_RISCV64
|
||||
#include "lj_emit_riscv.h"
|
||||
#else
|
||||
#error "Missing instruction emitter for target CPU"
|
||||
#endif
|
||||
@ -1708,6 +1710,8 @@ static void asm_loop(ASMState *as)
|
||||
#include "lj_asm_ppc.h"
|
||||
#elif LJ_TARGET_MIPS
|
||||
#include "lj_asm_mips.h"
|
||||
#elif LJ_TARGET_RISCV64
|
||||
#include "lj_asm_riscv64.h"
|
||||
#else
|
||||
#error "Missing assembler for target CPU"
|
||||
#endif
|
||||
|
2037
src/lj_asm_riscv64.h
Normal file
2037
src/lj_asm_riscv64.h
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user