aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-12-19 22:13:08 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-12-20 17:28:29 +0100
commit4987eaccd2d1535eaa72d3bbe2b8bfc8267ba965 (patch)
treec6bf58bba8b67edb2e6d80671348a54890966eef /tools/testing
parentnfp: bpf: remove the trivial JSET optimization (diff)
downloadlinux-dev-4987eaccd2d1535eaa72d3bbe2b8bfc8267ba965.tar.xz
linux-dev-4987eaccd2d1535eaa72d3bbe2b8bfc8267ba965.zip
nfp: bpf: optimize codegen for JSET with a constant
The top word of the constant can only have bits set if sign extension set it to all-1, therefore we don't really have to mask the top half of the register. We can just OR it into the result as is. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions