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.
This commit is contained in:
parent
8ddebae795
commit
0e03c708be
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue