This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Fix TLBWE and TLBRE instructions for BookE
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: 04 Sep 2002 10:59:58 +0100
- Subject: Fix TLBWE and TLBRE instructions for BookE
Hi Guys,
The BookE implementation of the TLBWE and TLBRE instructions do not
take any arguments. Fixed by applying the patch below.
Cheers
Nick
2002-09-04 Nick Clifton <nickc@redhat.com>
* ppc-opc.c: The BookE implementations of the TLBWE and TLBRE
instructions do not take any arguments.
Index: opcodes/ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.35
diff -c -3 -p -w -r1.35 ppc-opc.c
*** opcodes/ppc-opc.c 19 Aug 2002 20:59:10 -0000 1.35
--- opcodes/ppc-opc.c 4 Sep 2002 09:57:09 -0000
*************** const struct powerpc_opcode powerpc_opco
*** 4211,4217 ****
{ "stdxe", X(31,927), X_MASK, BOOKE64, { RS, RA, RB } },
! { "tlbre", X(31,946), X_MASK, BOOKE, { RT, RA, WS } },
{ "tlbrehi", XTLB(31,946,0), XTLB_MASK, PPC403, { RT, RA } },
{ "tlbrelo", XTLB(31,946,1), XTLB_MASK, PPC403, { RT, RA } },
--- 4211,4217 ----
{ "stdxe", X(31,927), X_MASK, BOOKE64, { RS, RA, RB } },
! { "tlbre", X(31,946), X_MASK, BOOKE, { 0 } },
{ "tlbrehi", XTLB(31,946,0), XTLB_MASK, PPC403, { RT, RA } },
{ "tlbrelo", XTLB(31,946,1), XTLB_MASK, PPC403, { RT, RA } },
*************** const struct powerpc_opcode powerpc_opco
*** 4226,4238 ****
{ "iccci", X(31,966), XRT_MASK, PPC403, { RA, RB } },
{ "tlbld", X(31,978), XRTRA_MASK, PPC, { RB } },
{ "tlbwehi", XTLB(31,978,0), XTLB_MASK, PPC403, { RT, RA } },
{ "tlbwelo", XTLB(31,978,1), XTLB_MASK, PPC403, { RT, RA } },
{ "tlbwe", X(31,978), X_MASK, PPC403, { RS, RA, SH } },
-
- { "tlbwe", X(31,978), X_MASK, BOOKE, { RT, RA, WS } },
{ "icbi", X(31,982), XRT_MASK, PPC, { RA, RB } },
--- 4226,4238 ----
{ "iccci", X(31,966), XRT_MASK, PPC403, { RA, RB } },
+ { "tlbwe", X(31,978), X_MASK, BOOKE, { 0 } },
+
{ "tlbld", X(31,978), XRTRA_MASK, PPC, { RB } },
{ "tlbwehi", XTLB(31,978,0), XTLB_MASK, PPC403, { RT, RA } },
{ "tlbwelo", XTLB(31,978,1), XTLB_MASK, PPC403, { RT, RA } },
{ "tlbwe", X(31,978), X_MASK, PPC403, { RS, RA, SH } },
{ "icbi", X(31,982), XRT_MASK, PPC, { RA, RB } },