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]

Re: patch: fix encoding of efscfd


On Thu, Mar 10, 2005 at 08:22:06PM +1030, Alan Modra wrote:
> On Mon, Mar 07, 2005 at 04:00:39PM -0400, Aldy Hernandez wrote:
> > 	* ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd.
> 
> ../../binutils/objdump  -dr -Me500 dump.o > dump.out
> regexp_diff match failure
> regexp "^  30:  10 a4 02 cf     efscfd  r5,r4$"
> line   "  30:   10 a0 22 cf     efscfd  r5,r4"
> FAIL: e500 tests

Whoops.

The patch below fixes this.  I will commit to mainline and 2.15.

Thanks.
Aldy

	* gas/ppc/e500.d: Fix encoding of efscfd.

Index: gas/ppc/e500.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/e500.d,v
retrieving revision 1.5
diff -c -p -r1.5 e500.d
*** gas/ppc/e500.d	6 Oct 2004 23:59:03 -0000	1.5
--- gas/ppc/e500.d	10 Mar 2005 20:19:33 -0000
*************** Disassembly of section \.text:
*** 19,25 ****
    24:	7c 00 04 4c 	bbelr
    28:	7d 00 83 a6 	mtspefscr r8
    2c:	7d 20 82 a6 	mfspefscr r9
!   30:	10 a4 02 cf 	efscfd  r5,r4
    34:	10 a4 02 e4 	efdabs  r5,r4
    38:	10 a4 02 e5 	efdnabs r5,r4
    3c:	10 a4 02 e6 	efdneg  r5,r4
--- 19,25 ----
    24:	7c 00 04 4c 	bbelr
    28:	7d 00 83 a6 	mtspefscr r8
    2c:	7d 20 82 a6 	mfspefscr r9
!   30:	10 a0 22 cf 	efscfd  r5,r4
    34:	10 a4 02 e4 	efdabs  r5,r4
    38:	10 a4 02 e5 	efdnabs r5,r4
    3c:	10 a4 02 e6 	efdneg  r5,r4


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