summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJohan Almbladh <johan.almbladh@anyfinetworks.com>2021-08-09 11:18:17 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2021-08-10 11:32:50 +0200
commit565731acfcf28ffdaeeae3f03f3ced719f30bd99 (patch)
treec1e0824875d6a9d5a0f3fa0e536fac451201831f /kernel
parentb55dfa850015453144c969208a7518e7095259a4 (diff)
downloadlinux-565731acfcf28ffdaeeae3f03f3ced719f30bd99.tar.bz2
bpf, tests: Add BPF_MOV tests for zero and sign extension
Tests for ALU32 and ALU64 MOV with different sizes of the immediate value. Depending on the immediate field width of the native CPU instructions, a JIT may generate code differently depending on the immediate value. Test that zero or sign extension is performed as expected. Mainly for JIT testing. Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20210809091829.810076-3-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions