]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/bpf/jit: Introduce rotate immediate instructions
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 22 Jun 2016 16:25:04 +0000 (21:55 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 24 Jun 2016 05:15:14 +0000 (15:15 +1000)
commitccf9b299380a18a5baf4a1139962897e015063ba
tree204f154863f4a716cc79e0195ffaaa4d45685ea9
parentc0b30404b16890b1981e3acf7be13abaf1a7dac2
powerpc/bpf/jit: Introduce rotate immediate instructions

Since we will be using the rotate immediate instructions for extended
BPF JIT, let's introduce macros for the same. And since the shift
immediate operations use the rotate immediate instructions, let's redo
those macros to use the newly introduced instructions.

Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/net/bpf_jit.h