Do not disallow to define double_load using built-in atomics (Aarch64)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 5 Dec 2017 08:27:47 +0000 (11:27 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 22 Dec 2017 07:44:05 +0000 (10:44 +0300)
commitfde9541bfc8ec8bc14b0dc7a6981375a00a55d59
tree6cc8090d634d3287c294ca2068c995321e29fca0
parent6a8ace57b0631ab96d24323f5dde2350ce6e70b4
Do not disallow to define double_load using built-in atomics (Aarch64)
(fix commit 03a0465)

Clang 3.8 (and later) and GCC have the correct implementation of
double-word atomic load (containing STXP instruction) for Aarch64.

* src/atomic_ops/sysdeps/gcc/aarch64.h [AO_PREFER_BUILTIN_ATOMICS]
(AO_SKIPATOMIC_double_load, AO_SKIPATOMIC_double_load_acquire): Do not
define for GCC and if AO_CLANG_PREREQ(3, 8).
src/atomic_ops/sysdeps/gcc/aarch64.h