]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc64/bpf: jit support for signed division and modulo
authorArtem Savkov <asavkov@redhat.com>
Fri, 17 May 2024 07:56:50 +0000 (09:56 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Jul 2024 05:40:21 +0000 (15:40 +1000)
commitfde318326daa48a4bb3ca8ee229bac4d14b5bc2a
tree7c99b2a67cb7a15ab6ced905335734f58e0f65c1
parent597b1710982d10b8629697e4a548b30d0d93eeed
powerpc64/bpf: jit support for signed division and modulo

Add jit support for sign division and modulo. Tested using test_bpf
module.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240517075650.248801-6-asavkov@redhat.com
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/net/bpf_jit_comp64.c