From 0e03c708bedb2654cdf9fff96fb29ce0fdae62dc Mon Sep 17 00:00:00 2001 From: Peter Bergner Date: Fri, 2 Oct 2009 14:42:42 +0000 Subject: [PATCH] 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. --- include/opcode/ChangeLog | 4 ++++ include/opcode/ppc.h | 3 +++ 2 files changed, 7 insertions(+) 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 + + * ppc.h (PPC_OPCODE_476): Define. + 2009-10-01 Peter Bergner * 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) -- 2.43.5