Re: [PATCH] test_bpf: Add a couple of tests for BPF_JSGE.

From: David Miller
Date: Thu May 25 2017 - 14:39:38 EST


From: David Daney <david.daney@xxxxxxxxxx>
Date: Wed, 24 May 2017 16:35:49 -0700

> Some JITs can optimize comparisons with zero. Add a couple of
> BPF_JSGE tests against immediate zero.
>
> Signed-off-by: David Daney <david.daney@xxxxxxxxxx>

Applied, thank you.

This reminds me that I should add support for "branch on register"
to the sparc64 eBPF JIT. At least now, when I do so, there will
be tests for it :-)