diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2009-10-02 18:42:42 +0400 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2009-10-02 18:42:42 +0400 |
commit | 0e03c708bedb2654cdf9fff96fb29ce0fdae62dc (patch) | |
tree | a1cab3345630de3e53e794b2d0ce59b6ed3bc657 /include | |
parent | 8ddebae79537231ef7205373b7d0602117a3d47e (diff) |
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/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/ppc.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 8a86f4bdc..44d1432a2 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 4e147eb89..1dc2f1d94 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) |