This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ppc440, dlmzb insn
On Tue, Aug 19, 2003 at 09:45:59AM -0500, Kumar Gala wrote:
> Should the -m440 option be inclusive of 440GX features not in 440GP?
Probably.
> Look at IBM docs on the website I would recommend adding
> PPC_OPCODE_RFMCI & PPC_OPCODE_ISEL to ppc_cpu.
Agreed, thanks for pointing it out.
* config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and
PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.
Index: gas/config/tc-ppc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ppc.c,v
retrieving revision 1.80
diff -u -p -r1.80 tc-ppc.c
--- gas/config/tc-ppc.c 19 Aug 2003 07:09:44 -0000 1.80
+++ gas/config/tc-ppc.c 19 Aug 2003 15:40:12 -0000
@@ -912,7 +912,7 @@ md_parse_option (c, arg)
| PPC_OPCODE_403 | PPC_OPCODE_32);
else if (strcmp (arg, "440") == 0)
ppc_cpu = (PPC_OPCODE_PPC | PPC_OPCODE_BOOKE | PPC_OPCODE_32
- | PPC_OPCODE_440);
+ | PPC_OPCODE_440 | PPC_OPCODE_ISEL | PPC_OPCODE_RFMCI);
else if (strcmp (arg, "7400") == 0
|| strcmp (arg, "7410") == 0
|| strcmp (arg, "7450") == 0
--
Alan Modra
IBM OzLabs - Linux Technology Centre