-
Richard Henderson authored
GCC7+ will no longer advertise support for 16-byte __atomic operations if only cmpxchg is supported, as for x86_64. Fortunately, x86_64 still has support for __sync_compare_and_swap_16 and we can make use of that. AArch64 does not have, nor ever has had such support, so open-code it. Reviewed-by:
Emilio G. Cota <cota@braap.org>
Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>Richard Henderson authoredGCC7+ will no longer advertise support for 16-byte __atomic operations if only cmpxchg is supported, as for x86_64. Fortunately, x86_64 still has support for __sync_compare_and_swap_16 and we can make use of that. AArch64 does not have, nor ever has had such support, so open-code it. Reviewed-by:
Emilio G. Cota <cota@braap.org>
Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Loading