Back out rev 1.3 and use __sync builtins on alpha. gcc no longer

triggers an ICE with p_atomic_cmpxchg/__sync_val_compare_and_swap.

Tested by matthieu.
This commit is contained in:
jsg 2016-02-28 04:44:02 +00:00
parent 9b8f3577af
commit dfa30dc686

View File

@ -24,8 +24,7 @@
#elif defined(_MSC_VER)
#define PIPE_ATOMIC_MSVC_INTRINSIC
#elif defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_5__) || \
defined(__hppa__) || defined(__sparc__) || defined(__sh__) \
|| defined(__alpha__)
defined(__hppa__) || defined(__sparc__) || defined(__sh__)
#define PIPE_ATOMIC_UNLOCKED
#elif defined(__GNUC__)
#define PIPE_ATOMIC_GCC_INTRINSIC