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

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.

From-SVN: r128256
This commit is contained in:
Sterling Augustine 2007-09-07 23:08:39 +00:00 committed by Bob Wilson
parent 12187c13b9
commit 9502767b88
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
2007-09-07 Richard Guenther <rguenther@suse.de>
Reapply

View File

@ -184,7 +184,7 @@ __xtensa_sync_caches:
addi a2, a2, (1 << XCHAL_ICACHE_LINEWIDTH)
addi a4, a4, -1
bnez a4, .Licache_loop
isync
#endif
isync
retw
.size __xtensa_sync_caches, .-__xtensa_sync_caches