[Mesa-dev] [PATCH] Implement x86_64 atomics for compilers w/o intrinsics.

tom fogal tfogal at sci.utah.edu
Sun Sep 26 18:45:23 PDT 2010


A friend of mine had trouble building 7.8.2 on an old gcc3.3 system
(no gcc intrinsics).  I put together this patch and he said his build
worked.  Our software doesn't thread so it's not really verified
otherwise.

I was a bit surprised we didn't need int64_t variants for x86_64.
Maybe that's needed in general, but just not in swrast / under Mesa w/
our particular option set?

Anyway, okay for 7.8 and master?

-tom

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 1964 bytes
Desc: 0001-Implement-x86_64-atomics-for-compilers-w-o-intrinsic.patch
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100926/d8dcdfdf/attachment.diff>


More information about the mesa-dev mailing list