[Xtensa] flush instruction buffers for trampolines

Bob Wilson bwilson@tensilica.com
Sat Sep 8 00:13:00 GMT 2007

I've committed this patch from Sterling Augustine to fix a problem with 
trampolines on Xtensa processors with no instruction caches.  Even though 
there's no i-cache, an ISYNC instruction is still required to flush the 
processor's instruction buffers.

2007-09-07  Sterling Augustine  <sterling@tensilica.com>

	* config/xtensa/lib2funcs.S (__xtensa_sync_caches): Use an ISYNC even
	if there is no i-cache.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-isync.patch
Type: text/x-diff
Size: 386 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070908/751f2808/attachment.bin>

More information about the Gcc-patches mailing list