diff options
author | Jiong Wang <jiong.wang@netronome.com> | 2019-02-23 01:36:04 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-02-23 02:07:47 +0300 |
commit | f036ebd9bfbe1e91a3d855e85e05fc5ff156b641 (patch) | |
tree | b676669c186253e4a40026c2f70da6b88b5bf933 /tools/perf/scripts/python/sched-migration.py | |
parent | 71c190249f0ced5b26377ea6bf829ab3af77a40c (diff) | |
download | linux-f036ebd9bfbe1e91a3d855e85e05fc5ff156b641.tar.xz |
nfp: bpf: fix ALU32 high bits clearance bug
NFP BPF JIT compiler is doing a couple of small optimizations when jitting
ALU imm instructions, some of these optimizations could save code-gen, for
example:
A & -1 = A
A | 0 = A
A ^ 0 = A
However, for ALU32, high 32-bit of the 64-bit register should still be
cleared according to ISA semantics.
Fixes: cd7df56ed3e6 ("nfp: add BPF to NFP code translator")
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions