util/u_atomic: Add implementation of __sync_val_compare_and_swap_8
authorMatt Turner <mattst88@gmail.com>
Thu, 14 Sep 2017 18:00:26 +0000 (11:00 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 15 Sep 2017 16:37:30 +0000 (09:37 -0700)
commit1bbe18087312e1b8ccdba6ca6dd8f1c9740a8454
treef6941d04218a97d8821f98d2c563856fb2076566
parentd075a4089ec62c489c8a3423f82371bf85f2ea6c
util/u_atomic: Add implementation of __sync_val_compare_and_swap_8

Needed for 32-bit PowerPC.

Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Fixes: a6a38a038bd ("util/u_atomic: provide 64bit atomics where
they're missing")
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/util/u_atomic.c