[Mesa-dev] [PATCH 2/2] util/u_atomic: Add implementation of __sync_val_compare_and_swap_8

Emil Velikov emil.l.velikov at gmail.com
Fri Sep 15 13:58:18 UTC 2017


On 14 September 2017 at 20:07, Matt Turner <mattst88 at gmail.com> wrote:
> Needed for 32-bit PowerPC.
I hope GCC/Clang will get smart enough and provide these for all architectures.
Be that via built-ins or automatically pulling it's appropriate aux library.

Fixes: a6a38a038bd ("util/u_atomic: provide 64bit atomics where
they're missing")
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list