Re: [PATCH bpf-next v2 8/8] bpf: add ld64 imm test cases

2018-05-14 Thread Y Song
On Mon, May 14, 2018 at 2:22 PM, Daniel Borkmann wrote: > Add test cases where we combine semi-random imm values, mainly for testing > JITs when they have different encoding options for 64 bit immediates in > order to reduce resulting image size. > > Signed-off-by: Daniel

[PATCH bpf-next v2 8/8] bpf: add ld64 imm test cases

2018-05-14 Thread Daniel Borkmann
Add test cases where we combine semi-random imm values, mainly for testing JITs when they have different encoding options for 64 bit immediates in order to reduce resulting image size. Signed-off-by: Daniel Borkmann --- tools/testing/selftests/bpf/bpf_rand.h | 80