diff options
author | Johan Almbladh <[email protected]> | 2021-08-09 11:18:25 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-08-10 11:33:22 +0200 |
commit | 66e5eb8474554bc021e8a221c336bdaef13f7a69 (patch) | |
tree | 11ae3f1b6a610b75377e923cbfb6a0f5826f4352 /net/unix/unix_bpf.c | |
parent | e5009b4636cb593c06243197fd0742ed2e6ac510 (diff) |
bpf, tests: Add branch conversion JIT test
Some JITs may need to convert a conditional jump instruction to
to short PC-relative branch and a long unconditional jump, if the
PC-relative offset exceeds offset field width in the CPU instruction.
This test triggers such branch conversion on the 32-bit MIPS JIT.
Signed-off-by: Johan Almbladh <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions