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]
Other format: [Raw text]

patch: ppc-e500: add mfmcar


This patch adds support for the MCAR SPR.  There is only an MF*
variant because it is a read-only register.

Committed to HEAD.

Cheers.
Aldy

P.S. Kumar, should this be BOOKE instead of PPCRFMCI?

2004-02-19  Aldy Hernandez  <aldyh@redhat.com>

	* ppc-opc.c: Add mfmcar.

Index: ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.59
diff -u -p -r1.59 ppc-opc.c
--- ppc-opc.c	10 Dec 2003 22:12:50 -0000	1.59
+++ ppc-opc.c	20 Feb 2004 00:16:52 -0000
@@ -3696,6 +3696,7 @@ const struct powerpc_opcode powerpc_opco
 { "mfmcsrr0",   XSPR(31,339,570),  XSPR_MASK, PPCRFMCI, { RT } },
 { "mfmcsrr1",   XSPR(31,339,571),  XSPR_MASK, PPCRFMCI, { RT } },
 { "mfmcsr",     XSPR(31,339,572),  XSPR_MASK, PPCRFMCI, { RT } },
+{ "mfmcar",     XSPR(31,339,573),  XSPR_MASK, PPCRFMCI, { RT } },
 { "mfdpdr",     XSPR(31,339,630),  XSPR_MASK, PPC860,	{ RT } },
 { "mfdpir",     XSPR(31,339,631),  XSPR_MASK, PPC860,	{ RT } },
 { "mfimmr",     XSPR(31,339,638),  XSPR_MASK, PPC860,	{ RT } },


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