Re: [PATCH bpf-next] bpf/tests: Add 32 bits only mong conditional jump tests

From: Daniel Borkmann
Date: Mon Jan 06 2025 - 10:12:24 EST


On 1/6/25 10:15 AM, Christophe Leroy wrote:
Commit f1517eb790f9 ("bpf/tests: Expand branch conversion JIT test")
introduced "Long conditional jump tests" but due to those tests making
use of 64 bits DIV and MOD, they don't get jited on powerpc/32,
leading to the Long conditional jump test being skiped for unrelated
reason.

Add 4 new tests that are restricted to 32 bits ALU so that the jump
tests can also be performed on platforms that do no support 64 bits
operations.

Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>

lgtm, fixed $subj s/mong/long/ while applying, thanks!