selftests/bpf: Add unit tests for new sign-extension mov insns
authorYonghong Song <yonghong.song@linux.dev>
Fri, 28 Jul 2023 01:13:09 +0000 (18:13 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 28 Jul 2023 01:54:17 +0000 (18:54 -0700)
commitf02ec3ff3f09b191a6fde8dcf805da6a01baea97
treebd08dab0a8b89a4ad49d4c92647852c23c26cdb6
parent147c8f4470eeae14c566984bd81b33334866ce10
selftests/bpf: Add unit tests for new sign-extension mov insns

Add unit tests for movsx insns.

Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230728011309.3719295-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/verifier.c
tools/testing/selftests/bpf/progs/verifier_movsx.c [new file with mode: 0644]