* ppc.h (PPC_OPCODE_POWER5): Define.

This commit is contained in:
Alan Modra
2005-05-19 06:59:36 +00:00
parent 969d6089ce
commit 4390dc9df5
2 changed files with 7 additions and 0 deletions

View File

@ -134,6 +134,9 @@ extern const int powerpc_num_opcodes;
/* Opcode is supported by machine check APU. */
#define PPC_OPCODE_RFMCI 0x800000
/* Opcode is only supported by Power5 architecture. */
#define PPC_OPCODE_POWER5 0x1000000
/* A macro to extract the major opcode from an instruction. */
#define PPC_OP(i) (((i) >> 26) & 0x3f)