diff options
author | Bob Wilson <bob.wilson@acm.org> | 2003-04-10 16:57:58 +0000 |
---|---|---|
committer | Bob Wilson <bwilson@gcc.gnu.org> | 2003-04-10 16:57:58 +0000 |
commit | 1839841c90469b92929b3ce58fa74a8fd05039fc (patch) | |
tree | 8790c28cc74f1e96e51d0dc6f69fb4f09bdf8b1c /gcc | |
parent | e23795ea609d7b28ab71d161d84b2ca882d8560a (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/xtensa/lib2funcs.S | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2883d45..19b3b03 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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 |