Home
last modified time | relevance | path

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

/Linux-v5.10/arch/riscv/net/
Dbpf_jit.h16 static inline bool rvc_enabled(void) in rvc_enabled() function
114 BUILD_BUG_ON(!rvc_enabled()); in emitc()
807 if (rvc_enabled() && rd == RV_REG_RA && rs && !imm) in emit_jalr()
809 else if (rvc_enabled() && !rd && rs && !imm) in emit_jalr()
817 if (rvc_enabled() && rd && rs) in emit_mv()
825 if (rvc_enabled() && rd && rd == rs1 && rs2) in emit_add()
833 if (rvc_enabled() && rd == RV_REG_SP && rd == rs && is_10b_int(imm) && imm && !(imm & 0xf)) in emit_addi()
835 else if (rvc_enabled() && is_creg(rd) && rs == RV_REG_SP && is_10b_uint(imm) && in emit_addi()
838 else if (rvc_enabled() && rd && rd == rs && imm && is_6b_int(imm)) in emit_addi()
846 if (rvc_enabled() && rd && is_6b_int(imm)) in emit_li()
[all …]