diff options
Diffstat (limited to 'arch/powerpc/include/asm/ppc-opcode.h')
| -rw-r--r-- | arch/powerpc/include/asm/ppc-opcode.h | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index 5f73ce63fcae..51fb00a20d7e 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h @@ -1,5 +1,5 @@  /* - * Copyright 2009 Freescale Semicondutor, Inc. + * Copyright 2009 Freescale Semiconductor, Inc.   *   * This program is free software; you can redistribute it and/or   * modify it under the terms of the GNU General Public License @@ -86,6 +86,7 @@  #define PPC_INST_DCBA_MASK		0xfc0007fe  #define PPC_INST_DCBAL			0x7c2005ec  #define PPC_INST_DCBZL			0x7c2007ec +#define PPC_INST_ICBT			0x7c00002c  #define PPC_INST_ISEL			0x7c00001e  #define PPC_INST_ISEL_MASK		0xfc00003e  #define PPC_INST_LDARX			0x7c0000a8 @@ -168,9 +169,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 @@ -198,6 +202,7 @@  #define __PPC_MB(s)	(((s) & 0x1f) << 6)  #define __PPC_ME(s)	(((s) & 0x1f) << 1)  #define __PPC_BI(s)	(((s) & 0x1f) << 16) +#define __PPC_CT(t)	(((t) & 0x0f) << 21)  /*   * Only use the larx hint bit on 64bit CPUs. e500v1/v2 based CPUs will treat a @@ -260,6 +265,8 @@  					__PPC_RS(t) | __PPC_RA0(a) | __PPC_RB(b))  #define PPC_SLBFEE_DOT(t, b)	stringify_in_c(.long PPC_INST_SLBFEE | \  					__PPC_RT(t) | __PPC_RB(b)) +#define PPC_ICBT(c,a,b)		stringify_in_c(.long PPC_INST_ICBT | \ +				       __PPC_CT(c) | __PPC_RA0(a) | __PPC_RB(b))  /* PASemi instructions */  #define LBZCIX(t,a,b)		stringify_in_c(.long PPC_INST_LBZCIX | \  				       __PPC_RT(t) | __PPC_RA(a) | __PPC_RB(b))  |