icache invalidation patch applie to sh port

Joern RENNECKE joern.rennecke@st.com
Wed Nov 29 14:51:00 GMT 2006


Inlining the icache invalidation is usually more trouble than it's worth 
- it makes the code
dependent on the exact mechanism used working on the target 
microarchitecture.
multilibbing a large library because one or two infrequently executed 
icache invalidations
wastes a lot of build time effort an disk space that coulf be empolyed 
more profitably
for actual optimizations.  With the icahce invalidation out-of-line, it 
is merely a matter
of picking the right ic_invalidate_array library at link time.

regression tested on i686-pc-linux-gnu X sh-elf.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ic_invalid-diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061129/51d75789/attachment.ksh>


More information about the Gcc-patches mailing list