This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PowerPC mtmsr L form
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Tue, 29 Jan 2008 18:53:25 +1030
- Subject: PowerPC mtmsr L form
Version 2.02 of the powerpc architecture book introduced a two operand
mtmsr instruction.
* ppc-opc.c: Support optional L form mtmsr.
Index: opcodes/ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.102
diff -u -p -r1.102 ppc-opc.c
--- opcodes/ppc-opc.c 6 Nov 2007 23:13:31 -0000 1.102
+++ opcodes/ppc-opc.c 29 Jan 2008 08:15:33 -0000
@@ -3373,7 +3373,7 @@ const struct powerpc_opcode powerpc_opco
{ "mtcr", XFXM(31,144,0xff,0), XRARB_MASK, COM, { RS }},
{ "mtcrf", X(31,144), XFXFXM_MASK, COM, { FXM, RS } },
-{ "mtmsr", X(31,146), XRARB_MASK, COM, { RS } },
+{ "mtmsr", X(31,146), XRLARB_MASK, COM, { RS, A_L } },
{ "stdx", X(31,149), X_MASK, PPC64, { RS, RA0, RB } },
--
Alan Modra
Australia Development Lab, IBM