riscv, bpf: Support signed div/mod insns
authorPu Lehui <pulehui@huawei.com>
Thu, 24 Aug 2023 09:49:59 +0000 (09:49 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 24 Aug 2023 16:13:08 +0000 (09:13 -0700)
commit3e18ff4bce9b50d351479bb4baee6e8305e98a5b
tree004766cb70e048e695422ee97fd458aab8998a60
parentd9839f16c1502556993552746452c862cb1c41af
riscv, bpf: Support signed div/mod insns

Add support signed div/mod instructions for RV64.

Signed-off-by: Pu Lehui <pulehui@huawei.com>
Acked-by: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/r/20230824095001.3408573-6-pulehui@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/riscv/net/bpf_jit.h
arch/riscv/net/bpf_jit_comp64.c