For ppc gcc, implement 64-bit compare_exchange and fetch_add with asm. While xlc defines __64BIT__, gcc does not. Due to this oversight in commit 30ee5d17c20dbb282a9952b3048d6ad52d56c371, gcc builds continued implementing 64-bit atomics by way of intrinsics. Back-patch to v13, where that commit first appeared.
Reviewed by Tom Lane. Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f5c1167b173d6e7a5d4c938fe716f0d29ae7228d Modified Files -------------- src/include/port/atomics/arch-ppc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
