Use the unlocked atomic path in Mesa when just __arm__ is defined and
don't assume the builtin atomics are present with __ARM_ARCH_6__ and later as base gcc with -march=armv6 doesn't have them.
This commit is contained in:
parent
1eaac10a9a
commit
c503a0e73b
@ -23,10 +23,7 @@
|
|||||||
#define PIPE_ATOMIC_OS_SOLARIS
|
#define PIPE_ATOMIC_OS_SOLARIS
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
#define PIPE_ATOMIC_MSVC_INTRINSIC
|
#define PIPE_ATOMIC_MSVC_INTRINSIC
|
||||||
#elif defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_4T__) || \
|
#elif defined(__arm__) || defined(__hppa__) || defined(__sh__)
|
||||||
defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) || \
|
|
||||||
defined(__ARM_ARCH_5TE__) || defined(__ARM_ARCH_5E__) || \
|
|
||||||
defined(__hppa__) || defined(__sparc__) || defined(__sh__)
|
|
||||||
#define PIPE_ATOMIC_UNLOCKED
|
#define PIPE_ATOMIC_UNLOCKED
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
#define PIPE_ATOMIC_GCC_INTRINSIC
|
#define PIPE_ATOMIC_GCC_INTRINSIC
|
||||||
|
Loading…
Reference in New Issue
Block a user