mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
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…
x
Reference in New Issue
Block a user