Add powerpc cell support.

This commit is contained in:
Alan Modra
2006-10-24 01:27:29 +00:00
parent 2941e768e4
commit ede602d7c8
12 changed files with 113 additions and 2 deletions

View File

@@ -143,6 +143,8 @@ extern const int powerpc_num_opcodes;
/* Opcode is only supported by Power6 architecture. */
#define PPC_OPCODE_POWER6 0x4000000
/* Opcode is only supported by PowerPC Cell family. */
#define PPC_OPCODE_CELL 0x8000000
/* A macro to extract the major opcode from an instruction. */
#define PPC_OP(i) (((i) >> 26) & 0x3f)