diff options
| author | Pu Lehui <[email protected]> | 2024-01-15 13:12:33 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-01-29 15:25:33 +0000 |
| commit | 647b93f65daa128d9a0e4aac744a5fcf5f58b2d2 (patch) | |
| tree | 1dbbebfef86d0568d6de577164baac167ef10f27 /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
| parent | riscv, bpf: Simplify sext and zext logics in branch instructions (diff) | |
| download | kernel-647b93f65daa128d9a0e4aac744a5fcf5f58b2d2.tar.gz kernel-647b93f65daa128d9a0e4aac744a5fcf5f58b2d2.zip | |
riscv, bpf: Add necessary Zbb instructions
Add necessary Zbb instructions introduced by [0] to reduce code size and
improve performance of RV64 JIT. Meanwhile, a runtime deteted helper is
added to check whether the CPU supports Zbb instructions.
Signed-off-by: Pu Lehui <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Björn Töpel <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Link: https://github.com/riscv/riscv-bitmanip/releases/download/1.0.0/bitmanip-1.0.0-38-g865e7a7.pdf [0]
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions
