From e359f110bab2868d19d36b6efe366386855d7326 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 24 Oct 2006 01:27:28 +0000 Subject: [PATCH] Add powerpc cell support. --- include/opcode/ChangeLog | 4 ++++ include/opcode/ppc.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 3f70f5db9..33a22688a 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2006-10-24 Andrew Pinski + + * ppc.h (PPC_OPCODE_CELL): Define. + 2006-10-23 Dwarakanath Rajagopal * i386.h : Modify opcode to support for the change in POPCNT opcode diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index fc4d41f9f..2205bd6a6 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -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)