selftests/bpf: Add unit tests for new sdiv/smod insns
authorYonghong Song <yonghong.song@linux.dev>
Fri, 28 Jul 2023 01:13:21 +0000 (18:13 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 28 Jul 2023 01:54:17 +0000 (18:54 -0700)
commitde1c26809ec37b632ad7bcec3bba8b849eb44d43
treeaaeb6a7ea5d6f1d0f57e6c7d530424210edd5ebc
parent79dbabc175408f7f6a7d156ab8fd68539703459c
selftests/bpf: Add unit tests for new sdiv/smod insns

Add unit tests for sdiv/smod insns.

Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230728011321.3720500-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_sdiv.c [new file with mode: 0644]