This is the mail archive of the binutils@sourceware.org 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: add ppca2 target


Applied.

opcodes/
	* ppc-opc.c (powerpc_opcodes): Correct wclr encoding.
gas/testsuite/
	* gas/ppc/a2.d: Correct wclr encoding.

Index: opcodes/ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.128
diff -u -p -r1.128 ppc-opc.c
--- opcodes/ppc-opc.c	6 Apr 2010 16:04:34 -0000	1.128
+++ opcodes/ppc-opc.c	12 May 2010 22:51:04 -0000
@@ -4530,10 +4530,6 @@ const struct powerpc_opcode powerpc_opco
 {"stvrx",	X(31,679),	X_MASK,      CELL,	PPCNONE,	{VS, RA0, RB}},
 {"sthfcmux",	APU(31,679,0), 	APU_MASK,    PPC405,	PPCNONE,	{FCRT, RA, RB}},
 
-{"wclrone",	XOPL2(31,694,2),XRT_MASK,    PPCA2,	PPCNONE,	{RA0, RB}},
-{"wclrall",	X(31,694),	XRARB_MASK,  PPCA2,	PPCNONE,	{L}},
-{"wclr",	X(31,694),	X_MASK,	     PPCA2,	PPCNONE,	{L, RA0, RB}},
-
 {"stbcx.",	XRC(31,694,1),	X_MASK,      POWER7,	PPCNONE,	{RS, RA0, RB}},
 
 {"stfsux",	X(31,695),	X_MASK,      COM,	PPCNONE,	{FRS, RAS, RB}},
@@ -4717,6 +4713,10 @@ const struct powerpc_opcode powerpc_opco
 
 {"stfddx",	X(31,931),	X_MASK,      E500MC,	PPCNONE,	{FRS, RA, RB}},
 
+{"wclrone",	XOPL2(31,934,2),XRT_MASK,    PPCA2,	PPCNONE,	{RA0, RB}},
+{"wclrall",	X(31,934),	XRARB_MASK,  PPCA2,	PPCNONE,	{L}},
+{"wclr",	X(31,934),	X_MASK,	     PPCA2,	PPCNONE,	{L, RA0, RB}},
+
 {"stvrxl",	X(31,935),	X_MASK,      CELL,	PPCNONE,	{VS, RA0, RB}},
 
 {"divdeo",	XO(31,425,1,0),	XO_MASK,     POWER7,	PPCNONE,	{RT, RA, RB}},
Index: gas/testsuite/gas/ppc/a2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/a2.d,v
retrieving revision 1.4
diff -u -p -r1.4 a2.d
--- gas/testsuite/gas/ppc/a2.d	6 Apr 2010 16:04:33 -0000	1.4
+++ gas/testsuite/gas/ppc/a2.d	13 May 2010 04:30:43 -0000
@@ -573,9 +573,9 @@ Disassembly of section \.text:
  884:	7c 00 01 6c 	wchkall 
  888:	7c 00 01 6c 	wchkall 
  88c:	7d 80 01 6c 	wchkall cr3
- 890:	7c 2a 5d 6c 	wclr    1,r10,r11
- 894:	7c 20 05 6c 	wclrall 1
- 898:	7c 4a 5d 6c 	wclrone r10,r11
+ 890:	7c 2a 5f 4c 	wclr    1,r10,r11
+ 894:	7c 20 07 4c 	wclrall 1
+ 898:	7c 4a 5f 4c 	wclrone r10,r11
  89c:	7d 40 01 06 	wrtee   r10
  8a0:	7c 00 81 46 	wrteei  1
  8a4:	7d 6a 62 79 	xor\.    r10,r11,r12

-- 
Alan Modra
Australia Development Lab, IBM


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