diff options
author | Daniel Borkmann <dxchgb@gmail.com> | 2012-11-08 11:39:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-17 22:12:47 -0500 |
commit | 02871903a1fcdf306a906c38566ca0d48a45a431 (patch) | |
tree | ed61bd5960d1eded043f1d1e6cf73995e06d83b9 /arch/powerpc/include | |
parent | 18d359ceb04485df0e387e04b0e52a761c4c58a0 (diff) | |
download | linux-3.10-02871903a1fcdf306a906c38566ca0d48a45a431.tar.gz linux-3.10-02871903a1fcdf306a906c38566ca0d48a45a431.tar.bz2 linux-3.10-02871903a1fcdf306a906c38566ca0d48a45a431.zip |
PPC: net: bpf_jit_comp: add XOR instruction for BPF JIT
This patch is a follow-up for patch "filter: add XOR instruction for use
with X/K" that implements BPF PowerPC JIT parts for the BPF XOR operation.
Signed-off-by: Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
Cc: Matt Evans <matt@ozlabs.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/ppc-opcode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index 5f73ce63fca..42b1f43b943 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h @@ -168,9 +168,12 @@ #define PPC_INST_AND 0x7c000038 #define PPC_INST_ANDDOT 0x7c000039 #define PPC_INST_OR 0x7c000378 +#define PPC_INST_XOR 0x7c000278 #define PPC_INST_ANDI 0x70000000 #define PPC_INST_ORI 0x60000000 #define PPC_INST_ORIS 0x64000000 +#define PPC_INST_XORI 0x68000000 +#define PPC_INST_XORIS 0x6c000000 #define PPC_INST_NEG 0x7c0000d0 #define PPC_INST_BRANCH 0x48000000 #define PPC_INST_BRANCH_COND 0x40800000 |