mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-12 17:24:09 +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"
|
#include "lj_emit_ppc.h"
|
||||||
#elif LJ_TARGET_MIPS
|
#elif LJ_TARGET_MIPS
|
||||||
#include "lj_emit_mips.h"
|
#include "lj_emit_mips.h"
|
||||||
|
#elif LJ_TARGET_RISCV64
|
||||||
|
#include "lj_emit_riscv.h"
|
||||||
#else
|
#else
|
||||||
#error "Missing instruction emitter for target CPU"
|
#error "Missing instruction emitter for target CPU"
|
||||||
#endif
|
#endif
|
||||||
@ -1708,6 +1710,8 @@ static void asm_loop(ASMState *as)
|
|||||||
#include "lj_asm_ppc.h"
|
#include "lj_asm_ppc.h"
|
||||||
#elif LJ_TARGET_MIPS
|
#elif LJ_TARGET_MIPS
|
||||||
#include "lj_asm_mips.h"
|
#include "lj_asm_mips.h"
|
||||||
|
#elif LJ_TARGET_RISCV64
|
||||||
|
#include "lj_asm_riscv64.h"
|
||||||
#else
|
#else
|
||||||
#error "Missing assembler for target CPU"
|
#error "Missing assembler for target CPU"
|
||||||
#endif
|
#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