OSDN Git Service

* config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Apr 2003 16:57:58 +0000 (16:57 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Apr 2003 16:57:58 +0000 (16:57 +0000)
even if it is configured to be write-through.

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

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

index 2883d45..19b3b03 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 bdc26e8..659f8d0 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