diff options
author | Jiong Wang <jiong.wang@netronome.com> | 2018-12-05 13:52:31 -0500 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-12-07 13:30:48 -0800 |
commit | 44cf43c04bb5f7c688608ff4136b13f2a8a7a129 (patch) | |
tree | a7e39324a8f6f584c9a4ba6832624efb17b15d16 /arch/powerpc/include | |
parent | ee94b90c8acaa593b627f5f3fe93e076e7779f5c (diff) | |
download | linux-44cf43c04bb5f7c688608ff4136b13f2a8a7a129.tar.gz linux-44cf43c04bb5f7c688608ff4136b13f2a8a7a129.tar.bz2 linux-44cf43c04bb5f7c688608ff4136b13f2a8a7a129.zip |
ppc: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_*
This patch implements code-gen for BPF_ALU | BPF_ARSH | BPF_*.
Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com>
Cc: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/ppc-opcode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index a6e9e314c707..901459226eca 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h @@ -342,6 +342,8 @@ #define PPC_INST_SLW 0x7c000030 #define PPC_INST_SLD 0x7c000036 #define PPC_INST_SRW 0x7c000430 +#define PPC_INST_SRAW 0x7c000630 +#define PPC_INST_SRAWI 0x7c000670 #define PPC_INST_SRD 0x7c000436 #define PPC_INST_SRAD 0x7c000634 #define PPC_INST_SRADI 0x7c000674 |