aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/xtensa/lib2funcs.S
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2003-04-10 16:57:58 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2003-04-10 16:57:58 +0000
commit1839841c90469b92929b3ce58fa74a8fd05039fc (patch)
tree8790c28cc74f1e96e51d0dc6f69fb4f09bdf8b1c /gcc/config/xtensa/lib2funcs.S
parente23795ea609d7b28ab71d161d84b2ca882d8560a (diff)
downloadgcc-1839841c90469b92929b3ce58fa74a8fd05039fc.zip
gcc-1839841c90469b92929b3ce58fa74a8fd05039fc.tar.gz
gcc-1839841c90469b92929b3ce58fa74a8fd05039fc.tar.bz2
lib2funcs.S (__xtensa_sync_caches): Flush data cache even if it is configured to be write-through.
* config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache even if it is configured to be write-through. From-SVN: r65429
Diffstat (limited to 'gcc/config/xtensa/lib2funcs.S')
-rw-r--r--gcc/config/xtensa/lib2funcs.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/xtensa/lib2funcs.S b/gcc/config/xtensa/lib2funcs.S
index bdc26e8..659f8d0 100644
--- a/gcc/config/xtensa/lib2funcs.S
+++ b/gcc/config/xtensa/lib2funcs.S
@@ -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