We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e1f71b commit 16083b8Copy full SHA for 16083b8
1 file changed
bsp/xuantie/virt64/c906/libcpu/cache.h
@@ -50,12 +50,12 @@ rt_always_inline void rt_hw_cpu_dcache_clean_and_invalidate_all_local(void)
50
/*use fence.i to invalidate all icache*/
51
rt_always_inline void rt_hw_cpu_icache_invalidate_local(void *addr, int size)
52
{
53
- __asm__ __volatile__("fence.i" ::: "memory");
+
54
}
55
56
rt_always_inline void rt_hw_cpu_icache_invalidate_all_local(void)
57
58
59
60
61
/**
@@ -78,7 +78,7 @@ rt_always_inline void rt_hw_cpu_icache_invalidate_all_local(void)
78
/** instruction barrier */
79
static inline void rt_hw_cpu_sync(void)
80
81
82
83
84
0 commit comments