Update src/unix/async.c

This commit is contained in:
Ben Noordhuis 2026-02-04 22:06:44 +01:00 committed by GitHub
parent 17ca83145a
commit b98d74e0a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -415,6 +415,6 @@ static void uv__cpu_relax(void) {
#elif !defined(__APPLE__) && (defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__))
__asm__ __volatile__ ("or 1,1,1; or 2,2,2" ::: "memory");
#elif defined(__riscv) && __riscv_xlen == 64
__asm__ volatile(".insn 0x0100000f" ::: "memory");
__asm__ volatile(".insn 0x0100000f" ::: "memory"); /* FENCE */
#endif
}