diff options
author | Puranjay Mohan <puranjay12@gmail.com> | 2023-09-07 23:05:48 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-09-15 17:16:56 -0700 |
commit | 59ff6d63b7307be4dbfbecceea9aedca047c7ffe (patch) | |
tree | d72a1b9b6c0c84369b7e38871370714b2847087a /tools/testing/selftests/bpf/progs/verifier_sdiv.c | |
parent | 71086041c2ba04aa436a4b2283c708345e72a0bb (diff) | |
download | lwn-59ff6d63b7307be4dbfbecceea9aedca047c7ffe.tar.gz lwn-59ff6d63b7307be4dbfbecceea9aedca047c7ffe.zip |
selftest, bpf: enable cpu v4 tests for arm32
Now that all the cpuv4 instructions are supported by the arm32 JIT,
enable the selftests for arm32.
Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Link: https://lore.kernel.org/r/20230907230550.1417590-8-puranjay12@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/verifier_sdiv.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/verifier_sdiv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/progs/verifier_sdiv.c b/tools/testing/selftests/bpf/progs/verifier_sdiv.c index 0990f8825675..fb039722b639 100644 --- a/tools/testing/selftests/bpf/progs/verifier_sdiv.c +++ b/tools/testing/selftests/bpf/progs/verifier_sdiv.c @@ -5,7 +5,8 @@ #include "bpf_misc.h" #if (defined(__TARGET_ARCH_arm64) || defined(__TARGET_ARCH_x86) || \ - (defined(__TARGET_ARCH_riscv) && __riscv_xlen == 64)) && __clang_major__ >= 18 + (defined(__TARGET_ARCH_riscv) && __riscv_xlen == 64) || defined(__TARGET_ARCH_arm)) && \ + __clang_major__ >= 18 SEC("socket") __description("SDIV32, non-zero imm divisor, check 1") |