Commit 4b900704 authored by Michael R. Crusoe's avatar Michael R. Crusoe Committed by Michael R. Crusoe

x86 sse2: fix `_mm_pause` for RISCV systems

parent 0be41ec7
......@@ -5150,7 +5150,7 @@ simde_mm_pause (void) {
#elif defined(SIMDE_LOONGARCH_LSX_NATIVE)
__asm__ __volatile ("dbar 0");
#elif defined(HEDLEY_GCC_VERSION)
#if defined(SIMDE_ARCH_RISCV)
#if defined(SIMDE_ARCH_RISCV32) || defined(SIMDE_ARCH_RISCV64)
__builtin_riscv_pause();
#else
__asm__ __volatile__ ("nop" ::: "memory");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment