summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_atomic.h
AgeCommit message (Collapse)Author
2010-09-30Revert "Prefer intrinsics to handrolled atomic ops."Tom Fogal
This reverts commit 5f66b340aa49c6bc8d0acb2d1a6f8e9a7ef2cb2e, quickly fixing 30514.
2010-09-30Prefer intrinsics to handrolled atomic ops.Tom Fogal
2010-09-30Implement x86_64 atomics for compilers w/o intrinsics.Tom Fogal
Really old gcc's (3.3, at least) don't have support for the intrinsics we need. This implements a fallback for that case.
2010-04-03util: Use GCC atomic bultins on GCC 4.1 and higher only.Vinson Lee
2010-02-06Gallium: Add Solaris atomic function definitions to u_atomic.hAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-02-03util: Cast to match the MSVC intrinsics.José Fonseca
The cast is not optional in C++.
2010-02-03util: Don't include system headers inside extern "C" { ... }José Fonseca
That breaks when some of the system headers have C++ code.
2010-02-02gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca
Into os/os_thread.h and util/u_atomic.h respectively.