For all ppc compilers, implement pg_atomic_fetch_add_ with inline asm.
authorNoah Misch <[email protected]>
Sat, 14 Sep 2019 02:34:30 +0000 (19:34 -0700)
committerNoah Misch <[email protected]>
Sat, 14 Sep 2019 02:34:30 +0000 (19:34 -0700)
commite7ff59686eacf5021fb84be921116986c3828d8a
tree4c6d88469db0c15dd741e25cebd9f1187738df06
parentdd50f1a43290bb3c67e24e808d4d8656e9532c9a
For all ppc compilers, implement pg_atomic_fetch_add_ with inline asm.

This is more like how we handle s_lock.h and arch-x86.h.  This does not
materially affect code generation for gcc 7.2.0 or xlc 13.1.3.

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20190831071157[email protected]
configure
configure.in
src/include/pg_config.h.in
src/include/port/atomics/arch-ppc.h
src/include/port/atomics/generic-xlc.h