lkml.org 
[lkml]   [2004]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] PPC64 Replace cmp instructions with cmpw/cmpd
From
Date
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@infradead.org>

===== 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans