From: Alan Modra Date: Thu, 14 Aug 2008 13:56:00 +0000 (+0000) Subject: PR 6825 X-Git-Tag: binutils-2_19-branchpoint~227 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=899d85beadd08b604d95d700c80f8270964dd449;p=external%2Fbinutils.git PR 6825 * ppc-opc.c (powerpc_opcodes): Enable rfci, mfpmr, mtpmr for e300. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index b7936ac..eb26e1f 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2008-08-14 Sebastian Huber + + PR 6825 + * ppc-opc.c (powerpc_opcodes): Enable rfci, mfpmr, mtpmr for e300. + 2008-08-12 H.J. Lu * i386-opc.tbl: Add syscall and sysret for Cpu64. diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index e0d833c..0faf528 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -3081,7 +3081,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"rfdi", XL(19,39), 0xffffffff, E500MC, {0}}, {"rfi", XL(19,50), 0xffffffff, COM, {0}}, -{"rfci", XL(19,51), 0xffffffff, PPC403|BOOKE, {0}}, +{"rfci", XL(19,51), 0xffffffff, PPC403|BOOKE|PPCE300, {0}}, {"rfsvc", XL(19,82), 0xffffffff, POWER, {0}}, @@ -3790,7 +3790,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"div", XO(31,331,0,0), XO_MASK, M601, {RT, RA, RB}}, {"div.", XO(31,331,0,1), XO_MASK, M601, {RT, RA, RB}}, -{"mfpmr", X(31,334), X_MASK, PPCPMR, {RT, PMR}}, +{"mfpmr", X(31,334), X_MASK, PPCPMR|PPCE300, {RT, PMR}}, {"mfmq", XSPR(31,339, 0), XSPR_MASK, M601, {RT}}, {"mfxer", XSPR(31,339, 1), XSPR_MASK, COM, {RT}}, @@ -4094,7 +4094,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"divwu", XO(31,459,0,0), XO_MASK, PPC, {RT, RA, RB}}, {"divwu.", XO(31,459,0,1), XO_MASK, PPC, {RT, RA, RB}}, -{"mtpmr", X(31,462), X_MASK, PPCPMR, {PMR, RS}}, +{"mtpmr", X(31,462), X_MASK, PPCPMR|PPCE300, {PMR, RS}}, {"mtmq", XSPR(31,467, 0), XSPR_MASK, M601, {RS}}, {"mtxer", XSPR(31,467, 1), XSPR_MASK, COM, {RS}},