Stop using sched_yield on non-Windows x86_64

This commit is contained in:
Martin Kroeker
2024-03-11 08:01:49 +01:00
committed by GitHub
parent cc9713aa20
commit 07b1c0bc10

View File

@@ -358,12 +358,6 @@ typedef int blasint;
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop; \n");
#endif
#ifdef BULLDOZER
#ifndef YIELDING
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
#endif
#endif
#if defined(POWER8) || defined(POWER9) || defined(POWER10)
#ifndef YIELDING
@@ -371,21 +365,13 @@ typedef int blasint;
#endif
#endif
/*
#ifdef PILEDRIVER
#ifndef YIELDING
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
#endif
#endif
*/
/*
#ifdef STEAMROLLER
#if defined(ARCH_X86_64)
#ifndef YIELDING
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
#endif
#endif
*/
#ifdef __EMSCRIPTEN__
#define YIELDING