[PATCH bpf-next v4 2/2] riscv, bpf: Introduce shift add helper with Zba optimization

Björn Töpel bjorn at kernel.org
Wed May 29 02:41:28 PDT 2024


Xiao,

Xiao Wang <xiao.w.wang at intel.com> writes:

> Zba extension is very useful for generating addresses that index into array
> of basic data types. This patch introduces sh2add and sh3add helpers for
> RV32 and RV64 respectively, to accelerate addressing for array of unsigned
> long data.

This patched slipped! Apologies for the slow reply.

Acked-by: Björn Töpel <bjorn at kernel.org>



More information about the linux-riscv mailing list