patch: fix encoding of efscfd

Aldy Hernandez aldyh@redhat.com
Mon Mar 7 20:01:00 GMT 2005


Fixes typo in instruction encoding.

Committed to mainline and 2.15.  I don't know if anyone cares about
2.15 anymore, but just in case...

Cheers.
Aldy

	* ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd.
	
Index: ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.59.6.6
diff -c -p -r1.59.6.6 ppc-opc.c
*** ppc-opc.c	7 Oct 2004 11:19:02 -0000	1.59.6.6
--- ppc-opc.c	7 Mar 2005 19:55:05 -0000
*************** const struct powerpc_opcode powerpc_opco
*** 1944,1950 ****
    /* Double-precision opcodes.  */
    /* Some of these conflict with AltiVec, so move them before, since
       PPCVEC includes the PPC_OPCODE_PPC set.  */
! { "efscfd",   VX(4, 719), VX_MASK,	PPCEFS,		{ RS, RA } },
  { "efdabs",   VX(4, 740), VX_MASK,	PPCEFS,		{ RS, RA } },
  { "efdnabs",  VX(4, 741), VX_MASK,	PPCEFS,		{ RS, RA } },
  { "efdneg",   VX(4, 742), VX_MASK,	PPCEFS,		{ RS, RA } },
--- 1944,1950 ----
    /* Double-precision opcodes.  */
    /* Some of these conflict with AltiVec, so move them before, since
       PPCVEC includes the PPC_OPCODE_PPC set.  */
! { "efscfd",   VX(4, 719), VX_MASK,	PPCEFS,		{ RS, RB } },
  { "efdabs",   VX(4, 740), VX_MASK,	PPCEFS,		{ RS, RA } },
  { "efdnabs",  VX(4, 741), VX_MASK,	PPCEFS,		{ RS, RA } },
  { "efdneg",   VX(4, 742), VX_MASK,	PPCEFS,		{ RS, RA } },



More information about the Binutils mailing list