diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2009-10-02 14:51:22 +0000 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2009-10-02 14:51:22 +0000 |
commit | 2909e08717472bb95cc42c47257fbf28737cf5a8 (patch) | |
tree | d5b91135ad389b86480b48a2eea6636f6c2a8e8c | |
parent | b1f5f91b56ad3f2c23065d010814e76c49d2597f (diff) | |
download | cygnal-2909e08717472bb95cc42c47257fbf28737cf5a8.tar.gz cygnal-2909e08717472bb95cc42c47257fbf28737cf5a8.tar.bz2 cygnal-2909e08717472bb95cc42c47257fbf28737cf5a8.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.
-rw-r--r-- | include/opcode/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/ppc.h | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index c345d6bc4..fad19ae9a 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..eb8293d32 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -168,7 +168,10 @@ extern const int powerpc_num_opcodes; #define PPC_OPCODE_VSX 0x80000000 /* Opcode is supported by A2. */ -#define PPC_OPCODE_A2 0x100000000ULL +#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) |