Stop using sched_yield on non-Windows x86_64
This commit is contained in:
parent
cc9713aa20
commit
07b1c0bc10
18
common.h
18
common.h
|
@ -358,12 +358,6 @@ typedef int blasint;
|
||||||
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop; \n");
|
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop; \n");
|
||||||
#endif
|
#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)
|
#if defined(POWER8) || defined(POWER9) || defined(POWER10)
|
||||||
#ifndef YIELDING
|
#ifndef YIELDING
|
||||||
|
@ -371,21 +365,13 @@ typedef int blasint;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
#ifdef PILEDRIVER
|
|
||||||
#ifndef YIELDING
|
|
||||||
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
#if defined(ARCH_X86_64)
|
||||||
#ifdef STEAMROLLER
|
|
||||||
#ifndef YIELDING
|
#ifndef YIELDING
|
||||||
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
|
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __EMSCRIPTEN__
|
#ifdef __EMSCRIPTEN__
|
||||||
#define YIELDING
|
#define YIELDING
|
||||||
|
|
Loading…
Reference in New Issue