diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2009-10-02 14:42:42 +0000 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2009-10-02 14:42:42 +0000 |
commit | 0e03c708bedb2654cdf9fff96fb29ce0fdae62dc (patch) | |
tree | a1cab3345630de3e53e794b2d0ce59b6ed3bc657 /include/opcode/ppc.h | |
parent | 8ddebae79537231ef7205373b7d0602117a3d47e (diff) | |
download | cygnal-0e03c708bedb2654cdf9fff96fb29ce0fdae62dc.tar.gz cygnal-0e03c708bedb2654cdf9fff96fb29ce0fdae62dc.tar.bz2 cygnal-0e03c708bedb2654cdf9fff96fb29ce0fdae62dc.zip |
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/opcode/ppc.h')
-rw-r--r-- | include/opcode/ppc.h | 3 |
1 files changed, 3 insertions, 0 deletions
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) |