Searched refs:RV_REG_T1 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 325 emit(rv_auipc(RV_REG_T1, upper), ctx); in emit_branch() 326 emit(rv_jalr(RV_REG_ZERO, RV_REG_T1, lower), ctx); in emit_branch() 354 emit(rv_lwu(RV_REG_T1, off, RV_REG_A1), ctx); in emit_bpf_tail_call() 356 emit_branch(BPF_JGE, RV_REG_A2, RV_REG_T1, off, ctx); in emit_bpf_tail_call() 412 emit_mv(RV_REG_T1, *rs, ctx); in emit_zext_32_rd_rs() 413 emit_zext_32(RV_REG_T1, ctx); in emit_zext_32_rd_rs() 415 *rs = RV_REG_T1; in emit_zext_32_rd_rs() 421 emit_addiw(RV_REG_T1, *rs, 0, ctx); in emit_sext_32_rd_rs() 423 *rs = RV_REG_T1; in emit_sext_32_rd_rs() 430 emit_zext_32(RV_REG_T1, ctx); in emit_zext_32_rd_t1() [all …]
|
H A D | bpf_jit_comp32.c | 239 emit(rv_auipc(RV_REG_T1, upper), ctx); in emit_jump_and_link() 240 emit(rv_jalr(rd, RV_REG_T1, lower), ctx); in emit_jump_and_link() 433 emit(rv_sub(RV_REG_T1, hi(rd), hi(rs)), ctx); in emit_alu_r64() 435 emit(rv_sub(hi(rd), RV_REG_T1, RV_REG_T0), ctx); in emit_alu_r64() 453 emit(rv_mulhu(RV_REG_T1, lo(rd), lo(rs)), ctx); in emit_alu_r64() 456 emit(rv_add(hi(rd), hi(rd), RV_REG_T1), ctx); in emit_alu_r64() 464 emit(rv_addi(RV_REG_T1, RV_REG_ZERO, 31), ctx); in emit_alu_r64() 466 emit(rv_sub(RV_REG_T1, RV_REG_T1, lo(rs)), ctx); in emit_alu_r64() 467 emit(rv_srl(RV_REG_T0, RV_REG_T0, RV_REG_T1), ctx); in emit_alu_r64() 478 emit(rv_addi(RV_REG_T1, RV_REG_ZERO, 31), ctx); in emit_alu_r64() [all …]
|
H A D | bpf_jit.h | 28 RV_REG_T1 = 6, enumerator
|