Skip to content

Commit

Permalink
sse2 MSVC _mm_pause implementaiton for x86
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Apr 3, 2024
1 parent 487507d commit 8d95f83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion simde/x86/sse2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4771,7 +4771,11 @@ simde_mm_pause (void) {
#if defined(SIMDE_X86_SSE2_NATIVE)
_mm_pause();
#elif defined(SIMDE_ARCH_X86)
__asm__ __volatile__("pause");
#if defined(_MSC_VER)
__asm pause;
#else
__asm__ __volatile__("pause");
#endif
#elif defined(SIMDE_ARCH_ARM_NEON)
#if defined(_MSC_VER)
__isb(_ARM64_BARRIER_SY);
Expand Down

0 comments on commit 8d95f83

Please sign in to comment.