Re: [PATCH] PPC64 Replace cmp instructions with cmpw/cmpd

From: David Woodhouse
Date: Tue Oct 12 2004 - 09:07:14 EST


On Fri, 2004-10-08 at 15:37 +1000, Paul Mackerras wrote:
> This patch replaces cmp{,l}{,i} with cmp{,l}[wd]{,i} as appropriate.
> The original patch was from Segher Boessenkool, slightly modified by
> me. Please apply.

And another....

Signed-Off-By: David Woodhouse <dwmw2@xxxxxxxxxxxxx>

===== arch/ppc64/mm/hash_low.S 1.7 vs edited =====
--- 1.7/arch/ppc64/mm/hash_low.S Thu Oct 7 22:52:16 2004
+++ edited/arch/ppc64/mm/hash_low.S Tue Oct 12 14:01:25 2004
@@ -263,7 +263,7 @@
/* if we failed because typically the HPTE wasn't really here
* we try an insertion.
*/
- cmpi 0,r3,-1
+ cmpdi 0,r3,-1
beq- htab_insert_pte

/* Clear the BUSY bit and Write out the PTE */


--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/