commit | 26fa818dc07c649fcb37674580ebd5a3c7cae66c | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Thu Oct 12 10:34:10 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 14 11:13:28 2017 -0700 |
tree | ead2905a20081539b1892317b1ab80ebd9d41026 | |
parent | 8283737065b2dab480cd10e00e6f8abbcb62b5b0 [diff] |
nfp: bpf: fix compare instructions Now that we have BPF assemebler support in LLVM 6 we can easily test all compare instructions (LLVM 4 didn't generate most of them from C). Fix the compare to immediates and refactor the order of compare to regs to make sure they both follow the same pattern. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>