From 9502767b8821b1fd9ea6f480b961c769b0271a62 Mon Sep 17 00:00:00 2001 From: Sterling Augustine Date: Fri, 7 Sep 2007 23:08:39 +0000 Subject: [PATCH] lib2funcs.S (__xtensa_sync_caches): Use an ISYNC even if there is no i-cache. 2007-09-07 Sterling Augustine * config/xtensa/lib2funcs.S (__xtensa_sync_caches): Use an ISYNC even if there is no i-cache. From-SVN: r128256 --- gcc/ChangeLog | 5 +++++ gcc/config/xtensa/lib2funcs.S | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6e6daa6a83..d57ec124179 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-09-07 Sterling Augustine + + * config/xtensa/lib2funcs.S (__xtensa_sync_caches): Use an ISYNC even + if there is no i-cache. + 2007-09-07 Richard Guenther Reapply diff --git a/gcc/config/xtensa/lib2funcs.S b/gcc/config/xtensa/lib2funcs.S index 9ccf29d410a..7e01a6ea6e1 100644 --- a/gcc/config/xtensa/lib2funcs.S +++ b/gcc/config/xtensa/lib2funcs.S @@ -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 -- 2.30.2