This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] add tlbiel instruction for ppc64
- From: Anton Blanchard <anton at samba dot org>
- To: binutils at sources dot redhat dot com
- Date: Tue, 7 May 2002 19:59:54 +1000
- Subject: Re: [PATCH] add tlbiel instruction for ppc64
- References: <20020507072713.GD29358@krispykreme>
> Here is a patch to add tlbiel for ppc64. It is the processor local
> form of tlbie and some recent optimisations in the 2.5 ppc64 linux
> kernel rely on it.
Thanks to some feedback from Alan Modra we now select tlbiel with the
POWER4 flag and do not allow tlbiel on large pages.
Anton
* ppc-opc.c: Add "tlbiel" for POWER4
--- opcodes/ppc-opc.c~ Tue May 7 16:54:45 2002
+++ opcodes/ppc-opc.c Tue May 7 19:30:44 2002
@@ -3065,6 +3065,8 @@
{ "addo.", XO(31,266,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
{ "caxo.", XO(31,266,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
+{ "tlbiel", X(31,274), XRTRA_MASK, POWER4, { RB } },
+
{ "mfapidi", X(31,275), X_MASK, BOOKE, { RT, RA } },
{ "lscbx", XRC(31,277,0), X_MASK, M601, { RT, RA, RB } },