lib2funcs.S (__xtensa_sync_caches): Flush data cache even if it is configured to...
authorBob Wilson <bob.wilson@acm.org>
Thu, 10 Apr 2003 16:57:58 +0000 (16:57 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Thu, 10 Apr 2003 16:57:58 +0000 (16:57 +0000)
* config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache
even if it is configured to be write-through.

From-SVN: r65429

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

index 2883d45f410b5b9cb2dacaddf5653fd64232da27..19b3b037aa053683874f86ec12d0d5a5efbe591a 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-10  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache
+       even if it is configured to be write-through.
+
 2003-04-10  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * config/s390/s390.c (larl_operand): Do not allow symbols
index bdc26e85cc5c93b4c4315f7e098967db69063c1f..659f8d0108b94cdda2aa34aec16f0505c066263d 100644 (file)
@@ -159,7 +159,7 @@ __xtensa_nonlocal_goto:
        .type   __xtensa_sync_caches,@function
 __xtensa_sync_caches:
        entry   sp, 32
-#if XCHAL_DCACHE_SIZE > 0 && XCHAL_DCACHE_IS_WRITEBACK
+#if XCHAL_DCACHE_SIZE > 0
        # Flush the trampoline from the data cache
        extui   a4, a2, 0, XCHAL_DCACHE_LINEWIDTH
        addi    a4, a4, TRAMPOLINE_SIZE