mbox series

[bpf-next,0/2] nfp: bpf: shifts support cleanups

Message ID 1549060769-20920-1-git-send-email-jiong.wang@netronome.com
Headers show
Series nfp: bpf: shifts support cleanups | expand

Message

Jiong Wang Feb. 1, 2019, 10:39 p.m. UTC
NFP JIT back-end is missing several ALU32 logic shifts support.

Also, shifts with shift amount be zero are not handled properly.

This set cleans up these issues.

Jiong Wang (2):
  nfp: bpf: correct the behavior for shifts by zero
  nfp: bpf: complete ALU32 shift supports

 drivers/net/ethernet/netronome/nfp/bpf/jit.c | 92 +++++++++++++++++++++++++---
 1 file changed, 82 insertions(+), 10 deletions(-)

Comments

Alexei Starovoitov Feb. 2, 2019, 5:39 a.m. UTC | #1
On Fri, Feb 01, 2019 at 10:39:27PM +0000, Jiong Wang wrote:
> NFP JIT back-end is missing several ALU32 logic shifts support.
> 
> Also, shifts with shift amount be zero are not handled properly.
> 
> This set cleans up these issues.

Applied, Thanks