Home
last modified time | relevance | path

Searched refs:rv_add (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c342 emit(rv_add(lo(rd), lo(rd), RV_REG_T0), ctx); in emit_alu_i32()
426 emit(rv_add(lo(rd), lo(rd), lo(rs)), ctx); in emit_alu_r64()
428 emit(rv_add(hi(rd), hi(rd), hi(rs)), ctx); in emit_alu_r64()
429 emit(rv_add(hi(rd), hi(rd), RV_REG_T0), ctx); in emit_alu_r64()
454 emit(rv_add(hi(rd), hi(rd), RV_REG_T0), ctx); in emit_alu_r64()
456 emit(rv_add(hi(rd), hi(rd), RV_REG_T1), ctx); in emit_alu_r64()
524 emit(rv_add(lo(rd), lo(rd), lo(rs)), ctx); in emit_alu_r32()
845 emit(rv_add(RV_REG_T0, RV_REG_T0, lo(rs)), ctx); in emit_load_r64()
886 emit(rv_add(RV_REG_T0, RV_REG_T0, lo(rd)), ctx); in emit_store_r64()
920 emit(rv_add(RV_REG_T1, rd, RV_REG_T1), ctx); in emit_rev16()
[all …]
H A Dbpf_jit.h382 static inline u32 rv_add(u8 rd, u8 rs1, u8 rs2) in rv_add() function
935 emit(rv_add(rd, rs1, rs2), ctx); in emit_add()