Revert "Prefer intrinsics to handrolled atomic ops."
authorTom Fogal <tfogal@alumni.unh.edu>
Thu, 30 Sep 2010 20:39:14 +0000 (14:39 -0600)
committerTom Fogal <tfogal@alumni.unh.edu>
Thu, 30 Sep 2010 20:41:53 +0000 (14:41 -0600)
This reverts commit 5f66b340aa49c6bc8d0acb2d1a6f8e9a7ef2cb2e, quickly
fixing 30514.

src/gallium/auxiliary/util/u_atomic.h

index 4ae6def495a1161dccfd921c2f074129d3c2a06e..8434491a42129534314174ec2b68ee1d7ce82492 100644 (file)
 #define PIPE_ATOMIC_MSVC_INTRINSIC
 #elif (defined(PIPE_CC_MSVC) && defined(PIPE_ARCH_X86))
 #define PIPE_ATOMIC_ASM_MSVC_X86                
-#elif defined(PIPE_CC_GCC) && (PIPE_CC_GCC_VERSION >= 401)
-#define PIPE_ATOMIC_GCC_INTRINSIC
 #elif (defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86))
 #define PIPE_ATOMIC_ASM_GCC_X86
 #elif (defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86_64))
 #define PIPE_ATOMIC_ASM_GCC_X86_64
+#elif defined(PIPE_CC_GCC) && (PIPE_CC_GCC_VERSION >= 401)
+#define PIPE_ATOMIC_GCC_INTRINSIC
 #else
 #error "Unsupported platform"
 #endif