Xiao Wang 96a27ee76f riscv, bpf: Introduce shift add helper with Zba optimization
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.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/bpf/20240524075543.4050464-3-xiao.w.wang@intel.com
2024-06-03 16:45:23 +02:00
..
2024-05-20 15:18:34 -07:00
2024-05-22 10:49:54 -07:00
2024-05-18 12:39:20 -07:00
2024-05-20 15:18:34 -07:00
2024-05-20 15:18:34 -07:00
2024-05-23 12:04:36 -07:00
2024-05-19 14:36:17 -07:00