Home
last modified time | relevance | path

Searched refs:rv_addi (Results 1 – 3 of 3) sorted by relevance

/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c118 emit(rv_addi(rd, rd, lower), ctx); in emit_imm()
120 emit(rv_addi(rd, RV_REG_ZERO, lower), ctx); in emit_imm()
131 emit(rv_addi(hi(rd), RV_REG_ZERO, 0), ctx); in emit_imm32()
133 emit(rv_addi(hi(rd), RV_REG_ZERO, -1), ctx); in emit_imm32()
150 emit(rv_addi(RV_REG_A0, lo(r0), 0), ctx); in __build_epilogue()
151 emit(rv_addi(RV_REG_A1, hi(r0), 0), ctx); in __build_epilogue()
165 emit(rv_addi(RV_REG_SP, RV_REG_SP, stack_adjust), ctx); in __build_epilogue()
223 emit(rv_addi(hi(reg), RV_REG_ZERO, 0), ctx); in bpf_put_reg32()
261 emit(rv_addi(hi(rd), RV_REG_ZERO, 0), ctx); in emit_alu_i64()
286 emit(rv_addi(lo(rd), RV_REG_ZERO, 0), ctx); in emit_alu_i64()
[all …]
H A Dbpf_jit.h349 static inline u32 rv_addi(u8 rd, u8 rs1, u16 imm11_0) in rv_addi() function
985 emit(rv_addi(rd, rs, 0), ctx); in emit_mv()
1006 emit(rv_addi(rd, rs, imm), ctx); in emit_addi()
1014 emit(rv_addi(rd, RV_REG_ZERO, imm), ctx); in emit_li()
H A Dbpf_jit_comp64.c183 emit(rv_addi(rd, rd, lower), ctx); in emit_addr()
2054 emit(rv_addi(RV_REG_TCC, RV_REG_ZERO, MAX_TAIL_CALL_CNT), ctx); in bpf_jit_build_prologue()