aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2009-10-02 14:42:42 +0000
committerPeter Bergner <bergner@vnet.ibm.com>2009-10-02 14:42:42 +0000
commit9fe54b1ca1c054c9323d232bf077abadf4d02c88 (patch)
treee0de755857191e27baae856d4311729eb529dea0 /include
parent4a056f1472ee3ce5a2dde5df46a0faf6e794b114 (diff)
downloadgdb-9fe54b1ca1c054c9323d232bf077abadf4d02c88.zip
gdb-9fe54b1ca1c054c9323d232bf077abadf4d02c88.tar.gz
gdb-9fe54b1ca1c054c9323d232bf077abadf4d02c88.tar.bz2
gas/
* config/tc-ppc.c (md_show_usage): Document -m476. * doc/c-ppc.texi (PowerPC-Opts): Document -m476. gas/testsuite/ * gas/ppc/476.s: New test. * gas/ppc/476.d: Likewise. * gas/ppc/ppc.exp: Run the 476 test. include/opcode/ * ppc.h (PPC_OPCODE_476): Define. opcodes/ * ppc-dis.c (ppc_opts): Add "476" entry. * ppc-opc.c (PPC476): Define. (powerpc_opcodes): Update mnemonics where required for 476.
Diffstat (limited to 'include')
-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 8a86f4b..44d1432 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
+
+ * ppc.h (PPC_OPCODE_476): Define.
+
2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
* ppc.h (PPC_OPCODE_A2): Rename from PPC_OPCODE_PPCA2.
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index 4e147eb..1dc2f1d 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -170,6 +170,9 @@ extern const int powerpc_num_opcodes;
/* Opcode is supported by A2. */
#define PPC_OPCODE_A2 0x100000000ULL
+/* Opcode is supported by PowerPC 476 processor. */
+#define PPC_OPCODE_476 0x200000000ULL
+
/* A macro to extract the major opcode from an instruction. */
#define PPC_OP(i) (((i) >> 26) & 0x3f)