Commit 2074615a authored by David Mosberger-Tang's avatar David Mosberger-Tang Committed by Tony Luck

[IA64] use fc.i for fluch_icache_range()

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: default avatarDavid Mosberger-Tang <davidm@hpl.hp.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 43cc6725
/* /*
* Cache flushing routines. * Cache flushing routines.
* *
* Copyright (C) 1999-2001 Hewlett-Packard Co * Copyright (C) 1999-2001, 2005 Hewlett-Packard Co
* Copyright (C) 1999-2001 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>
*/ */
#include <asm/asmmacro.h> #include <asm/asmmacro.h>
#include <asm/page.h> #include <asm/page.h>
...@@ -26,7 +26,7 @@ GLOBAL_ENTRY(flush_icache_range) ...@@ -26,7 +26,7 @@ GLOBAL_ENTRY(flush_icache_range)
mov ar.lc=r8 mov ar.lc=r8
;; ;;
.Loop: fc in0 // issuable on M0 only .Loop: fc.i in0 // issuable on M2 only
add in0=32,in0 add in0=32,in0
br.cloop.sptk.few .Loop br.cloop.sptk.few .Loop
;; ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment