diff options
author | Luke Nelson <[email protected]> | 2020-05-05 17:03:17 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-05-06 09:48:15 +0200 |
commit | 0224b2acea0f9e3908d33e27b2dcb4e04686e997 (patch) | |
tree | 2db8ed7242e21b2c7b59b36ecc99fdd0e7bf1107 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5447e8e01e101ba19fe5b7551f02d37367156f6b (diff) |
bpf, riscv: Enable missing verifier_zext optimizations on RV64
Commit 66d0d5a854a6 ("riscv: bpf: eliminate zero extension code-gen")
added support for the verifier zero-extension optimization on RV64 and
commit 46dd3d7d287b ("bpf, riscv: Enable zext optimization for more
RV64G ALU ops") enabled it for more instruction cases.
However, BPF_LSH BPF_X and BPF_{LSH,RSH,ARSH} BPF_K are still missing
the optimization.
This patch enables the zero-extension optimization for these remaining
cases.
Co-developed-by: Xi Wang <[email protected]>
Signed-off-by: Xi Wang <[email protected]>
Signed-off-by: Luke Nelson <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Björn Töpel <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions