aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/helpers.c
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2023-07-27 18:12:19 -0700
committerAlexei Starovoitov <ast@kernel.org>2023-07-27 18:52:33 -0700
commitec0e2da95f72d4a46050a4d994e4fe471474fd80 (patch)
treef61640998fc71caa7506d67a1bd2668ca1adcce6 /kernel/bpf/helpers.c
parentbpf: Support new unconditional bswap instruction (diff)
downloadlinux-rng-ec0e2da95f72d4a46050a4d994e4fe471474fd80.tar.xz
linux-rng-ec0e2da95f72d4a46050a4d994e4fe471474fd80.zip
bpf: Support new signed div/mod instructions.
Add interpreter/jit support for new signed div/mod insns. The new signed div/mod instructions are encoded with unsigned div/mod instructions plus insn->off == 1. Also add basic verifier support to ensure new insns get accepted. Acked-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20230728011219.3714605-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions