Searched refs:RV_REG_RA (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 53 RV_CTX_F_SEEN_CALL = RV_REG_RA, 214 if (seen_reg(RV_REG_RA, ctx)) { in __build_epilogue() 215 emit_ld(RV_REG_RA, store_offset, RV_REG_SP, ctx); in __build_epilogue() 249 emit_jalr(RV_REG_ZERO, is_tail_call ? RV_REG_T3 : RV_REG_RA, in __build_epilogue() 480 return emit_jump_and_link(RV_REG_RA, off, fixed_addr, ctx); in emit_call() 887 emit_sd(RV_REG_SP, 8, RV_REG_RA, ctx); in __arch_prepare_bpf_trampoline() 900 emit_sd(RV_REG_SP, stack_size - 8, RV_REG_RA, ctx); in __arch_prepare_bpf_trampoline() 1007 emit_ld(RV_REG_RA, 8, RV_REG_SP, ctx); in __arch_prepare_bpf_trampoline() 1013 emit_jalr(RV_REG_ZERO, RV_REG_RA, 0, ctx); in __arch_prepare_bpf_trampoline() 1019 emit_ld(RV_REG_RA, stack_size - 8, RV_REG_SP, ctx); in __arch_prepare_bpf_trampoline() [all …]
|
H A D | bpf_jit_comp32.c | 155 emit(rv_lw(RV_REG_RA, stack_adjust - 4, RV_REG_SP), ctx); in __build_epilogue() 176 emit(rv_jalr(RV_REG_ZERO, RV_REG_RA, 0), ctx); in __build_epilogue() 763 emit(rv_jalr(RV_REG_RA, RV_REG_T1, lower), ctx); in emit_call() 1330 emit(rv_sw(RV_REG_SP, stack_adjust - 4, RV_REG_RA), ctx); in bpf_jit_build_prologue()
|
H A D | bpf_jit.h | 23 RV_REG_RA = 1, /* Return address */ enumerator 914 if (rvc_enabled() && rd == RV_REG_RA && rs && !imm) in emit_jalr()
|