This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PPC 7450 & dcba
Alan Modra wrote:
I'd be inclined to
#define PPC7450 PPC
{ "dcba", X(31,758), XRT_MASK, PPC405 | PPC7450 | BOOKE, { RA, RB } },
Properly enabling every instruction for each powerpc variant is a
daunting task. There are just too many variants.
yeah :)
Is this patch ok?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
2007-07-05 Nathan Sidwell <nathan@codesourcery.com>
* ppc-opc (PPC7450): New.
(powerpc_opcodes): Use it in dcba.
Index: ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.96
diff -c -3 -p -r1.96 ppc-opc.c
*** ppc-opc.c 17 May 2007 00:52:14 -0000 1.96
--- ppc-opc.c 5 Jul 2007 09:51:07 -0000
*************** extract_tbr (unsigned long insn,
*** 1621,1626 ****
--- 1621,1627 ----
#define PPC405 PPC403
#define PPC440 PPC_OPCODE_440
#define PPC750 PPC
+ #define PPC7450 PPC
#define PPC860 PPC
#define PPCVEC PPC_OPCODE_ALTIVEC
#define POWER PPC_OPCODE_POWER
*************** const struct powerpc_opcode powerpc_opco
*** 4130,4136 ****
{ "mftgpr", XRC(31,735,0), XRA_MASK, POWER6, { RT, FRB } },
! { "dcba", X(31,758), XRT_MASK, PPC405 | BOOKE, { RA, RB } },
{ "stfdux", X(31,759), X_MASK, COM, { FRS, RAS, RB } },
--- 4131,4137 ----
{ "mftgpr", XRC(31,735,0), XRA_MASK, POWER6, { RT, FRB } },
! { "dcba", X(31,758), XRT_MASK, PPC405 | PPC7450 | BOOKE, { RA, RB } },
{ "stfdux", X(31,759), X_MASK, COM, { FRS, RAS, RB } },