On Thu, May 16, 2024 at 05:04:30PM GMT, Xiao Wang wrote: > The Zba extension provides add.uw insn which can be used to implement > zext.w with rs2 set as ZERO. > > Signed-off-by: Xiao Wang <xiao.w.wang@xxxxxxxxx> > --- > v3: > * Remove the Kconfig dependencies on TOOLCHAIN_HAS_ZBA and > RISCV_ALTERNATIVE. (Andrew) > v2: > * Add Zba description in the Kconfig. (Lehui) > * Reword the Kconfig help message to make it clearer. (Conor) > --- > arch/riscv/Kconfig | 12 ++++++++++++ > arch/riscv/net/bpf_jit.h | 18 ++++++++++++++++++ > 2 files changed, 30 insertions(+) > Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>