src\common\cm_utils\cm_memory.h +#elif defined(__riscv) +#define RISCV_FENCE(p, s) \
-
__asm__ __volatile__ ("fence " #p "," #s : : : "memory")
+#define CM_MFENCE RISCV_FENCE(iorw,iorw)
+#else
\src\common\cm_concurrency\cm_spinlock.h
#if defined(arm) || defined(aarch64) || defined(__riscv)
#define fas_cpu_pause()
{
asm volatile("nop");
}
#else
#define fas_cpu_pause()
{
asm volatile("pause");
}
#endif