Home
last modified time | relevance | path

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

/Linux-v6.6/arch/riscv/net/
Dbpf_jit.h16 static inline bool rvc_enabled(void) in rvc_enabled() function
119 BUILD_BUG_ON(!rvc_enabled()); in emitc()
914 if (rvc_enabled() && rd == RV_REG_RA && rs && !imm) in emit_jalr()
916 else if (rvc_enabled() && !rd && rs && !imm) in emit_jalr()
924 if (rvc_enabled() && rd && rs) in emit_mv()
932 if (rvc_enabled() && rd && rd == rs1 && rs2) in emit_add()
940 if (rvc_enabled() && rd == RV_REG_SP && rd == rs && is_10b_int(imm) && imm && !(imm & 0xf)) in emit_addi()
942 else if (rvc_enabled() && is_creg(rd) && rs == RV_REG_SP && is_10b_uint(imm) && in emit_addi()
945 else if (rvc_enabled() && rd && rd == rs && imm && is_6b_int(imm)) in emit_addi()
953 if (rvc_enabled() && rd && is_6b_int(imm)) in emit_li()
[all …]
Dbpf_jit_comp64.c602 if (WARN_ON_ONCE(!rvc_enabled() && insn_len == 1)) in add_exception_handler()