diff options
author | Xiao Wang <[email protected]> | 2024-05-16 17:04:30 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-05-24 16:53:12 +0200 |
commit | c12603e76ef666ce5c51a9d6faf155c9e3de7601 (patch) | |
tree | 82fb7b57e3cd4b398760b135b4a6c7e916e26037 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | ecec1887e24f11a3fcc391aa0f33fe0802be0804 (diff) |
riscv, bpf: Optimize zextw insn with Zba extension
The Zba extension provides add.uw insn which can be used to implement
zext.w with rs2 set as ZERO.
Signed-off-by: Xiao Wang <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Pu Lehui <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Pu Lehui <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions