diff options
author | Alan Modra <modra@gmail.com> | 2010-02-08 04:59:33 +0300 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2010-02-08 04:59:33 +0300 |
commit | e97038e0dd22bc8595bb84f13b4b94c9692066c3 (patch) | |
tree | 929e61159575d76843742b8f58d9e3a9f4eddf7c /include | |
parent | b6ab02dea8819011b3d313ae0a4d8c49bbb20d30 (diff) |
include/
* opcode/ppc.h (PPC_OPCODE_TITAN): Define.
bfd/
* archures.c (bfd_mach_ppc_titan): Define.
* bfd-in2.h: Regenerate.
* cpu-powerpc.c (bfd_powerpc_archs): Add titan entry.
opcodes/
* ppc-dis.c (ppc_opts): Add titan entry.
* ppc-opc.c (TITAN, MULHW): Define.
(powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx).
gas/
* config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
(ppc_mach): Handle titan.
* doc/c-ppc.texi: Mention -mtitan.
gas/testsuite/
* gas/ppc/titan.d, * gas/ppc/titan.s: New test.
* gas/ppc/ppc.exp: Run it.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/ppc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index 1dc2f1d94..e4b624af6 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -1,6 +1,6 @@ /* ppc.h -- Header file for PowerPC opcode table Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009 Free Software Foundation, Inc. + 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support This file is part of GDB, GAS, and the GNU binutils. @@ -168,11 +168,14 @@ 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 +/* Opcode is supported by AppliedMicro Titan core */ +#define PPC_OPCODE_TITAN 0x400000000ULL + /* A macro to extract the major opcode from an instruction. */ #define PPC_OP(i) (((i) >> 26) & 0x3f) |