commit | e368b64f8b0c8066115ad1da71f83f20f7bb43af | [log] [tgz] |
---|---|---|
author | Björn Töpel <bjorn.topel@gmail.com> | Mon Dec 16 10:13:41 2019 +0100 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Dec 19 16:03:31 2019 +0100 |
tree | a66e883c91237ec8aaaec3fa98bf108db620f287 | |
parent | 7f3631e88ee6fb13beac333a0e9e605d2414d17f [diff] |
riscv, bpf: Optimize calls Instead of using emit_imm() and emit_jalr() which can expand to six instructions, start using jal or auipc+jalr. Signed-off-by: Björn Töpel <bjorn.topel@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20191216091343.23260-8-bjorn.topel@gmail.com