* use fc.i for fluch_icache_range()
@ 2005-02-18 19:08 David Mosberger
0 siblings, 0 replies; only message in thread
From: David Mosberger @ 2005-02-18 19:08 UTC (permalink / raw)
To: linux-ia64
This is a small patch to switch fluch_icache_range() to use fc.i
instead of fc. This would save time on processors which can establish
i-cache coherency without flushing the cache-line out to memory (not
that any current processors do). On existing processors, fc.i behaves
like fc. The only caveat is that very old assemblers may not know
about fc.i yet.
Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>
=== arch/ia64/lib/flush.S 1.2 vs edited ==--- 1.2/arch/ia64/lib/flush.S 2002-02-04 23:39:13 -08:00
+++ edited/arch/ia64/lib/flush.S 2005-02-18 10:59:24 -08:00
@@ -1,8 +1,8 @@
/*
* Cache flushing routines.
*
- * Copyright (C) 1999-2001 Hewlett-Packard Co
- * Copyright (C) 1999-2001 David Mosberger-Tang <davidm@hpl.hp.com>
+ * Copyright (C) 1999-2001, 2005 Hewlett-Packard Co
+ * David Mosberger-Tang <davidm@hpl.hp.com>
*/
#include <asm/asmmacro.h>
#include <asm/page.h>
@@ -26,7 +26,7 @@
mov ar.lc=r8
;;
-.Loop: fc in0 // issuable on M0 only
+.Loop: fc.i in0 // issuable on M2 only
add in02,in0
br.cloop.sptk.few .Loop
;;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-18 19:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-18 19:08 use fc.i for fluch_icache_range() David Mosberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox