]> 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)
commit3353061b654fb238f0e062ee04b8248be71dbc4b
tree204f154863f4a716cc79e0195ffaaa4d45685ea9
parentbd219b61e85b1ab35027dcf5d1d399c14f8dee84
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