[PATCH bpf-next v4 2/2] riscv, bpf: Introduce shift add helper with Zba optimization
Wang, Xiao W
xiao.w.wang at intel.com
Wed May 29 17:32:28 PDT 2024
> -----Original Message-----
> From: Björn Töpel <bjorn at kernel.org>
> Sent: Wednesday, May 29, 2024 5:41 PM
> To: Wang, Xiao W <xiao.w.wang at intel.com>; paul.walmsley at sifive.com;
> palmer at dabbelt.com; aou at eecs.berkeley.edu; luke.r.nels at gmail.com;
> xi.wang at gmail.com; daniel at iogearbox.net
> Cc: ast at kernel.org; andrii at kernel.org; martin.lau at linux.dev;
> eddyz87 at gmail.com; song at kernel.org; yonghong.song at linux.dev;
> john.fastabend at gmail.com; kpsingh at kernel.org; sdf at google.com;
> haoluo at google.com; jolsa at kernel.org; linux-riscv at lists.infradead.org; linux-
> kernel at vger.kernel.org; bpf at vger.kernel.org; pulehui at huawei.com;
> puranjay at kernel.org; Li, Haicheng <haicheng.li at intel.com>; Wang, Xiao W
> <xiao.w.wang at intel.com>
> Subject: Re: [PATCH bpf-next v4 2/2] riscv, bpf: Introduce shift add helper
> with Zba optimization
>
> 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.
No worry. Thanks for picking it up.
BRs,
Xiao
>
> Acked-by: Björn Töpel <bjorn at kernel.org>
More information about the linux-riscv
mailing list