Lines Matching refs:RV_REG_ZERO
274 emit_jalr(RV_REG_ZERO, is_tail_call ? RV_REG_T3 : RV_REG_RA, in __build_epilogue()
340 emit(rv_jal(RV_REG_ZERO, rvoff >> 1), ctx); in emit_branch()
352 emit(rv_jalr(RV_REG_ZERO, RV_REG_T1, lower), ctx); in emit_branch()
383 emit_branch(BPF_JSLT, RV_REG_TCC, RV_REG_ZERO, off, ctx); in emit_bpf_tail_call()
395 emit_branch(BPF_JEQ, RV_REG_T2, RV_REG_ZERO, off, ctx); in emit_bpf_tail_call()
495 emit(is64 ? rv_amoadd_d(RV_REG_ZERO, rs, rd, 0, 0) : in emit_atomic()
496 rv_amoadd_w(RV_REG_ZERO, rs, rd, 0, 0), ctx); in emit_atomic()
499 emit(is64 ? rv_amoand_d(RV_REG_ZERO, rs, rd, 0, 0) : in emit_atomic()
500 rv_amoand_w(RV_REG_ZERO, rs, rd, 0, 0), ctx); in emit_atomic()
503 emit(is64 ? rv_amoor_d(RV_REG_ZERO, rs, rd, 0, 0) : in emit_atomic()
504 rv_amoor_w(RV_REG_ZERO, rs, rd, 0, 0), ctx); in emit_atomic()
507 emit(is64 ? rv_amoxor_d(RV_REG_ZERO, rs, rd, 0, 0) : in emit_atomic()
508 rv_amoxor_w(RV_REG_ZERO, rs, rd, 0, 0), ctx); in emit_atomic()
664 return emit_jump_and_link(is_call ? RV_REG_T0 : RV_REG_ZERO, rvoff, false, &ctx); in gen_jump_or_nops()
749 emit_sd(RV_REG_FP, -run_ctx_off + cookie_off, RV_REG_ZERO, ctx); in invoke_bpf_prog()
787 u32 insn = rv_beq(RV_REG_A0, RV_REG_ZERO, offset >> 1); in invoke_bpf_prog()
970 emit_sd(RV_REG_FP, -retval_off, RV_REG_ZERO, ctx); in __arch_prepare_bpf_trampoline()
1000 insn = rv_bne(RV_REG_T1, RV_REG_ZERO, offset >> 1); in __arch_prepare_bpf_trampoline()
1041 emit_jalr(RV_REG_ZERO, RV_REG_RA, 0, ctx); in __arch_prepare_bpf_trampoline()
1044 emit_jalr(RV_REG_ZERO, RV_REG_T0, 0, ctx); in __arch_prepare_bpf_trampoline()
1051 emit_jalr(RV_REG_ZERO, RV_REG_RA, 0, ctx); in __arch_prepare_bpf_trampoline()
1144 emit(rv_beq(RV_REG_T1, RV_REG_ZERO, 4), ctx); in bpf_jit_emit_insn()
1269 emit_sub(rd, RV_REG_ZERO, rd, ctx); in bpf_jit_emit_insn()
1425 ret = emit_jump_and_link(RV_REG_ZERO, rvoff, true, ctx); in bpf_jit_emit_insn()
1473 emit_branch(BPF_JNE, RV_REG_T1, RV_REG_ZERO, rvoff, ctx); in bpf_jit_emit_insn()
1504 rs = imm ? RV_REG_T1 : RV_REG_ZERO; in bpf_jit_emit_insn()
1540 emit_branch(BPF_JNE, RV_REG_T1, RV_REG_ZERO, rvoff, ctx); in bpf_jit_emit_insn()
1607 ret = emit_jump_and_link(RV_REG_ZERO, rvoff, true, ctx); in bpf_jit_emit_insn()
2054 emit(rv_addi(RV_REG_TCC, RV_REG_ZERO, MAX_TAIL_CALL_CNT), ctx); in bpf_jit_build_prologue()