Commit 9502767b by Sterling Augustine Committed by Bob Wilson

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
parent 12187c13
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> 2007-09-07 Richard Guenther <rguenther@suse.de>
Reapply Reapply
...@@ -184,7 +184,7 @@ __xtensa_sync_caches: ...@@ -184,7 +184,7 @@ __xtensa_sync_caches:
addi a2, a2, (1 << XCHAL_ICACHE_LINEWIDTH) addi a2, a2, (1 << XCHAL_ICACHE_LINEWIDTH)
addi a4, a4, -1 addi a4, a4, -1
bnez a4, .Licache_loop bnez a4, .Licache_loop
isync
#endif #endif
isync
retw retw
.size __xtensa_sync_caches, .-__xtensa_sync_caches .size __xtensa_sync_caches, .-__xtensa_sync_caches
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