aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-05-19 06:59:36 +0000
committerAlan Modra <amodra@gmail.com>2005-05-19 06:59:36 +0000
commitf4411256d5b5d60fe7425303b47aedeefd198160 (patch)
tree2544d3027c08b9fd19e69f1f35f433896dd5b5ac
parenta49e53ed184b89cc31ae70d7db62e485ad6044d1 (diff)
downloadgdb-f4411256d5b5d60fe7425303b47aedeefd198160.zip
gdb-f4411256d5b5d60fe7425303b47aedeefd198160.tar.gz
gdb-f4411256d5b5d60fe7425303b47aedeefd198160.tar.bz2
* ppc.h (PPC_OPCODE_POWER5): Define.
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/ppc.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 91ad24d..a84402d 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-19 Anton Blanchard <anton@samba.org>
+
+ * ppc.h (PPC_OPCODE_POWER5): Define.
+
2005-05-10 Nick Clifton <nickc@redhat.com>
* Update the address and phone number of the FSF organization in
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index ef097a0..851b8bb 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -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)