2007-09-07 Sterling Augustine <sterling@tensilica.com>
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Sep 2007 23:08:39 +0000 (23:08 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Sep 2007 23:08:39 +0000 (23:08 +0000)
* config/xtensa/lib2funcs.S (__xtensa_sync_caches): Use an ISYNC even
if there is no i-cache.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128256 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/xtensa/lib2funcs.S

index c6e6daa..d57ec12 100644 (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
index 9ccf29d..7e01a6e 100644 (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