Skip to content

Commit

Permalink
bpf, tests: Add more BPF_LSH/RSH/ARSH tests for ALU64
Browse files Browse the repository at this point in the history
This patch adds a number of tests for BPF_LSH, BPF_RSH amd BPF_ARSH
ALU64 operations with values that may trigger different JIT code paths.
Mainly testing 32-bit JITs that implement ALU64 operations with two
32-bit CPU registers per operand.

Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210809091829.810076-7-johan.almbladh@anyfinetworks.com
  • Loading branch information
Johan Almbladh authored and Daniel Borkmann committed Aug 10, 2021
1 parent 0f2fca1 commit 3b9890e
Showing 1 changed file with 542 additions and 2 deletions.
Loading

0 comments on commit 3b9890e

Please sign in to comment.