RE: [PATCH bpf-next v4 2/2] riscv, bpf: Introduce shift add helper with Zba optimization
From: Wang, Xiao W
Date: Wed May 29 2024 - 20:32:44 EST
> -----Original Message-----
> From: Björn Töpel <bjorn@xxxxxxxxxx>
> Sent: Wednesday, May 29, 2024 5:41 PM
> To: Wang, Xiao W <xiao.w.wang@xxxxxxxxx>; paul.walmsley@xxxxxxxxxx;
> palmer@xxxxxxxxxxx; aou@xxxxxxxxxxxxxxxxx; luke.r.nels@xxxxxxxxx;
> xi.wang@xxxxxxxxx; daniel@xxxxxxxxxxxxx
> Cc: ast@xxxxxxxxxx; andrii@xxxxxxxxxx; martin.lau@xxxxxxxxx;
> eddyz87@xxxxxxxxx; song@xxxxxxxxxx; yonghong.song@xxxxxxxxx;
> john.fastabend@xxxxxxxxx; kpsingh@xxxxxxxxxx; sdf@xxxxxxxxxx;
> haoluo@xxxxxxxxxx; jolsa@xxxxxxxxxx; linux-riscv@xxxxxxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; bpf@xxxxxxxxxxxxxxx; pulehui@xxxxxxxxxx;
> puranjay@xxxxxxxxxx; Li, Haicheng <haicheng.li@xxxxxxxxx>; Wang, Xiao W
> <xiao.w.wang@xxxxxxxxx>
> Subject: Re: [PATCH bpf-next v4 2/2] riscv, bpf: Introduce shift add helper
> with Zba optimization
>
> Xiao,
>
> Xiao Wang <xiao.w.wang@xxxxxxxxx> 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@xxxxxxxxxx>