diff options
author | Luke Nelson | 2020-05-05 17:03:17 -0700 |
---|---|---|
committer | Daniel Borkmann | 2020-05-06 09:48:15 +0200 |
commit | 0224b2acea0f9e3908d33e27b2dcb4e04686e997 (patch) | |
tree | 2db8ed7242e21b2c7b59b36ecc99fdd0e7bf1107 /Makefile | |
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 <xi.wang@gmail.com>
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luke Nelson <luke.r.nels@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Björn Töpel <bjorn.topel@gmail.com>
Acked-by: Björn Töpel <bjorn.topel@gmail.com>
Link: https://lore.kernel.org/bpf/20200506000320.28965-2-luke.r.nels@gmail.com
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions