diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 60fe06fa9..bce864b2e 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +2001-10-12 matthew green + + * ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_403): New opcode flags for + BookE and PowerPC403 instructions. + 2001-09-27 Nick Clifton * v850.h: Remove spurious comment. diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index 543bfe34f..26a96ec8d 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -89,7 +89,16 @@ extern const int powerpc_num_opcodes; #define PPC_OPCODE_64_BRIDGE (0400) /* Opcode is supported by Altivec Vector Unit */ -#define PPC_OPCODE_ALTIVEC (01000) +#define PPC_OPCODE_ALTIVEC (01000) + +/* Opcode is supported by PowerPC 403 processor. */ +#define PPC_OPCODE_403 (02000) + +/* Opcode is supported by Motorola BookE processor. */ +#define PPC_OPCODE_BOOKE (04000) + +/* Opcode is only supported by 64-bit Motorola BookE processor. */ +#define PPC_OPCODE_BOOKE64 (001000) /* A macro to extract the major opcode from an instruction. */ #define PPC_OP(i) (((i) >> 26) & 0x3f)