Re: [PATCH] sparc64: Support cbcond instructions in eBPF JIT.

2017-04-24 Thread Alexei Starovoitov
On 4/24/17 4:02 PM, David Miller wrote: cbcond combines a compare with a branch into a single instruction. The limitations are: 1) Only newer chips support it 2) For immediate compares we are limited to 5-bit signed immediate values 3) The branch displacement is limited to 10-bit signed

[PATCH] sparc64: Support cbcond instructions in eBPF JIT.

2017-04-24 Thread David Miller
cbcond combines a compare with a branch into a single instruction. The limitations are: 1) Only newer chips support it 2) For immediate compares we are limited to 5-bit signed immediate values 3) The branch displacement is limited to 10-bit signed 4) We cannot use it for JSET Also,