Thread (6 messages) 6 messages, 4 authors, 2020-02-28

Re: [PATCH v3 bpf-next] RV32G eBPF JIT

From: Alexei Starovoitov <hidden>
Date: 2020-02-25 00:42:22
Also in: bpf, linux-riscv, lkml

On Wed, Feb 19, 2020 at 8:20 PM Luke Nelson [off-list ref] wrote:
This is an eBPF JIT for RV32G, adapted from the JIT for RV64G and
the 32-bit ARM JIT.
...
v2 -> v3:
  * Added support for far jumps / branches similar to RV64 JIT.
  * Added support for tail calls.
  * Cleaned up code with more optimizations and comments.
  * Removed special zero-extension instruction from BPF_ALU64
    case, pointed out by Jiong Wang.

v1 -> v2:
  * Added support for far conditional branches.
  * Added the zero-extension optimization pointed out by Jiong Wang.
  * Added more optimizations for operations with an immediate operand.

Cc: Jiong Wang <redacted>
Co-developed-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luke Nelson <redacted>
Bjorn,

please review.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help