OSDN Git Service

bpf, arm64: Support signed div/mod instructions
authorXu Kuohai <xukuohai@huawei.com>
Tue, 15 Aug 2023 15:41:57 +0000 (11:41 -0400)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 18 Aug 2023 13:46:35 +0000 (15:46 +0200)
commit68b18191fe417459b4ebf4024cdf1b9d7b393de9
treee22402ac25e55e1e77f9ec9f38c278eddba8d563
parentc32b6ee514d26dc6c40c45984e534b2d87fba917
bpf, arm64: Support signed div/mod instructions

Add JIT for signed div/mod instructions.

Signed-off-by: Xu Kuohai <xukuohai@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Florent Revest <revest@chromium.org>
Acked-by: Florent Revest <revest@chromium.org>
Link: https://lore.kernel.org/bpf/20230815154158.717901-7-xukuohai@huaweicloud.com
arch/arm64/net/bpf_jit.h
arch/arm64/net/bpf_jit_comp.c