Skip to content

Commit

Permalink
x86 sse2: fix _mm_pause for RISCV systems
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Jan 2, 2025
1 parent 59dc12b commit 6feed7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simde/x86/sse2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6feed7f

Please sign in to comment.