Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ffts.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ ffts_flush_instruction_cache(void *start, size_t length)
#ifdef __APPLE__
sys_icache_invalidate(start, length);
#elif __ANDROID__
#if __ARM_ARCH_ISA_A64
__builtin___clear_cache((long) start, (long) start + length);
#else
cacheflush((long) start, (long) start + length, 0);
#endif
#elif __linux__
#if GCC_VERSION_AT_LEAST(4,3)
__builtin___clear_cache(start, (char*) start + length);
Expand Down