OSDN Git Service

Implement x86_64 atomics for compilers w/o intrinsics.
authorTom Fogal <tfogal@alumni.unh.edu>
Mon, 27 Sep 2010 00:57:59 +0000 (18:57 -0600)
committerTom Fogal <tfogal@alumni.unh.edu>
Thu, 30 Sep 2010 19:20:51 +0000 (13:20 -0600)
commit76a60faf529e6107e3f50406c0d40e64bc484686
treeb2210e433ec2276467603ca556777bec2e241145
parent0c86e1f29483d9557f30796c03b94a34d965c095
Implement x86_64 atomics for compilers w/o intrinsics.

Really old gcc's (3.3, at least) don't have support for the
intrinsics we need.  This implements a fallback for that case.
src/gallium/auxiliary/util/u_atomic.h