diff options
author | 2023-07-27 18:12:19 -0700 | |
---|---|---|
committer | 2023-07-27 18:52:33 -0700 | |
commit | ec0e2da95f72d4a46050a4d994e4fe471474fd80 (patch) | |
tree | f61640998fc71caa7506d67a1bd2668ca1adcce6 /kernel/bpf/helpers.c | |
parent | bpf: Support new unconditional bswap instruction (diff) | |
download | linux-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