This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] PPC405 Opcode patches


> Date: Mon, 28 Aug 2000 18:59:46 -0500 (CDT)
> From: Mark Hatle <fray@gate.crashing.org>

> The following patch adds in the PPC405 opcodes, it also changes a few of
> the opcodes that were added for the PPC403, but were labeled as PPC
> instructions.
> 
> Again, I apologize if I am not submitting this correctly, let me know how
> and I'll resubmit it.

Hi Mark,

I've approved and committed this.

For next time, it's generally better to have the ChangeLog entries
separate, followed by the patch, like this:

In src/gas/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

	* config/tc-ppc.c (md_parse_option): Recognize -m405.

In src/opcodes/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

	* ppc-opc.c Add XTLB macro for a few PPC 4xx extended mnemonics.
	(powerpc_opcodes): Add table entries for PPC 405 instructions.
	Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
	instructions.
	Added extended mnemonic mftbl as defined in the 405GP manual
	for all PPCs.

diff -urN src/gas/config/tc-ppc.c src.ppc405/gas/config/tc-ppc.c
--- src/gas/config/tc-ppc.c	Fri Jul  7 09:58:24 2000
+++ src.ppc405/gas/config/tc-ppc.c	Mon Aug 28 11:49:26 2000
@@ -842,6 +842,7 @@
       else if (strcmp (arg, "ppc") == 0
 	       || strcmp (arg, "ppc32") == 0
 	       || strcmp (arg, "403") == 0
+	       || strcmp (arg, "405") == 0
 	       || strcmp (arg, "603") == 0
 	       || strcmp (arg, "604") == 0)
 	ppc_cpu = PPC_OPCODE_PPC;


because the ChangeLog changes will probably never successfully apply,
since the ChangeLog will surely have more entries by then.

-- 
- Geoffrey Keating <geoffk@cygnus.com>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]