Searched refs:RV_REG_FP (Results 1 – 3 of 3) sorted by relevance
/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 239 emit_ld(RV_REG_FP, store_offset, RV_REG_SP, ctx); in __build_epilogue() 705 emit_sd(RV_REG_FP, -args_off, RV_REG_A0 + i, ctx); in store_args() 708 emit_ld(RV_REG_T1, 16 + (i - RV_MAX_REG_ARGS) * 8, RV_REG_FP, ctx); in store_args() 709 emit_sd(RV_REG_FP, -args_off, RV_REG_T1, ctx); in store_args() 720 emit_ld(RV_REG_A0 + i, -args_off, RV_REG_FP, ctx); in restore_args() 731 emit_ld(RV_REG_T1, -(args_off - RV_MAX_REG_ARGS * 8), RV_REG_FP, ctx); in restore_stack_args() 732 emit_sd(RV_REG_FP, -stk_arg_off, RV_REG_T1, ctx); in restore_stack_args() 747 emit_sd(RV_REG_FP, -run_ctx_off + cookie_off, RV_REG_T1, ctx); in invoke_bpf_prog() 749 emit_sd(RV_REG_FP, -run_ctx_off + cookie_off, RV_REG_ZERO, ctx); in invoke_bpf_prog() 755 emit_addi(RV_REG_A1, RV_REG_FP, -run_ctx_off, ctx); in invoke_bpf_prog() [all …]
|
H A D | bpf_jit_comp32.c | 156 emit(rv_lw(RV_REG_FP, stack_adjust - 8, RV_REG_SP), ctx); in __build_epilogue() 189 emit(rv_lw(hi(tmp), hi(reg), RV_REG_FP), ctx); in bpf_get_reg64() 190 emit(rv_lw(lo(tmp), lo(reg), RV_REG_FP), ctx); in bpf_get_reg64() 200 emit(rv_sw(RV_REG_FP, hi(reg), hi(src)), ctx); in bpf_put_reg64() 201 emit(rv_sw(RV_REG_FP, lo(reg), lo(src)), ctx); in bpf_put_reg64() 209 emit(rv_lw(lo(tmp), lo(reg), RV_REG_FP), ctx); in bpf_get_reg32() 219 emit(rv_sw(RV_REG_FP, lo(reg), lo(src)), ctx); in bpf_put_reg32() 221 emit(rv_sw(RV_REG_FP, hi(reg), RV_REG_ZERO), ctx); in bpf_put_reg32() 1330 emit(rv_sw(RV_REG_SP, stack_adjust - 8, RV_REG_FP), ctx); in bpf_jit_build_prologue() 1340 emit(rv_addi(RV_REG_FP, RV_REG_SP, stack_adjust), ctx); in bpf_jit_build_prologue()
|
H A D | bpf_jit.h | 40 RV_REG_FP = 8, /* Saved register/frame pointer */ enumerator 68 return (1 << reg) & (BIT(RV_REG_FP) | in is_creg()
|