pipeline: Don't use yield ASM intruction on ARM < 7
This commit is contained in:
parent
fc8c07a949
commit
bdb0f0b56a
|
|
@ -232,7 +232,7 @@ relax() {
|
|||
YieldProcessor();
|
||||
#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64))
|
||||
__asm__ __volatile__("pause");
|
||||
#elif defined(__arm__) || defined(__aarch64__)
|
||||
#elif __ARM_ARCH >= 7
|
||||
__asm__ __volatile__ ("yield" ::: "memory");
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue