Add powerpc cell support.

This commit is contained in:
Alan Modra
2006-10-24 01:27:28 +00:00
parent 7e39651a54
commit e359f110ba
2 changed files with 6 additions and 0 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)