From e357cc59114686b69ae9a8714bdc823a0901b8e4 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 15 Aug 2005 15:37:15 +0000 Subject: gas/ * config/tc-ppc.c (parse_cpu): Add -me300 support. (md_show_usage): Likewise. * doc/c-ppc.texi (PowerPC-Opts): Document it. include/opcode/ * ppc.h (PPC_OPCODE_E300): Define. opcodes/ * ppc-dis.c (powerpc_dialect): Handle e300. (print_ppc_disassembler_options): Likewise. * ppc-opc.c (PPCE300): Define. (powerpc_opcodes): Mark icbt as available for the e300. binutils/ * doc/binutils.texi (objdump): Document -M e300. --- include/opcode/ChangeLog | 4 ++++ include/opcode/ppc.h | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'include/opcode') diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 88c2c829b..0ebc464b5 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2005-08-15 Daniel Jacobowitz + + * ppc.h (PPC_OPCODE_E300): Define. + 2005-08-12 Martin Schwidefsky * s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109. diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index 851b8bbab..f66263086 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 + Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support @@ -137,6 +137,9 @@ extern const int powerpc_num_opcodes; /* Opcode is only supported by Power5 architecture. */ #define PPC_OPCODE_POWER5 0x1000000 +/* Opcode is supported by PowerPC e300 family. */ +#define PPC_OPCODE_E300 0x2000000 + /* A macro to extract the major opcode from an instruction. */ #define PPC_OP(i) (((i) >> 26) & 0x3f) -- cgit v1.2.3