diff options
author | Alan Modra <amodra@gmail.com> | 2006-06-07 05:23:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-06-07 05:23:59 +0000 |
commit | 9622b051cf36414e121c0c2e63c099e588801e0e (patch) | |
tree | 19407548dd261b02dd1b97198ba096a46f841d29 /include/opcode/ppc.h | |
parent | 02a38f92868b28b2f933e6cd2eff2da4fa60d789 (diff) | |
download | gdb-9622b051cf36414e121c0c2e63c099e588801e0e.zip gdb-9622b051cf36414e121c0c2e63c099e588801e0e.tar.gz gdb-9622b051cf36414e121c0c2e63c099e588801e0e.tar.bz2 |
include/opcode/
* ppc.h (PPC_OPCODE_POWER6): Define.
Adjust whitespace.
gas/
* config/tc-ppc.c (parse_cpu): Handle "-mpower6".
(md_show_usage): Document it.
(ppc_setup_opcodes): Test power6 opcode flag bits.
* doc/c-ppc.texi (PowerPC-Opts): Document "-mpower6".
opcodes/
* ppc-dis.c (powerpc_dialect): Handle power6 option.
(print_ppc_disassembler_options): Mention power6.
Diffstat (limited to 'include/opcode/ppc.h')
-rw-r--r-- | include/opcode/ppc.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index f662630..fc4d41f 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -1,5 +1,5 @@ /* ppc.h -- Header file for PowerPC opcode table - Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005 + Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support @@ -135,10 +135,14 @@ extern const int powerpc_num_opcodes; #define PPC_OPCODE_RFMCI 0x800000 /* Opcode is only supported by Power5 architecture. */ -#define PPC_OPCODE_POWER5 0x1000000 +#define PPC_OPCODE_POWER5 0x1000000 /* Opcode is supported by PowerPC e300 family. */ -#define PPC_OPCODE_E300 0x2000000 +#define PPC_OPCODE_E300 0x2000000 + +/* Opcode is only supported by Power6 architecture. */ +#define PPC_OPCODE_POWER6 0x4000000 + /* A macro to extract the major opcode from an instruction. */ #define PPC_OP(i) (((i) >> 26) & 0x3f) |