pgsql: Replace xlc __fetch_and_add() with inline asm.

2019-09-13 Thread Noah Misch
Replace xlc __fetch_and_add() with inline asm.

PostgreSQL has been unusable when built with xlc 13 and newer, which are
incompatible with our use of __fetch_and_add().  Back-patch to 9.5,
which introduced pg_atomic_fetch_add_u32().

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20190831071157.ga3251...@rfd.leadboat.com

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/dd50f1a43290bb3c67e24e808d4d8656e9532c9a

Modified Files
--
src/include/port/atomics/generic-xlc.h | 39 ++
1 file changed, 35 insertions(+), 4 deletions(-)



pgsql: Replace xlc __fetch_and_add() with inline asm.

2019-09-13 Thread Noah Misch
Replace xlc __fetch_and_add() with inline asm.

PostgreSQL has been unusable when built with xlc 13 and newer, which are
incompatible with our use of __fetch_and_add().  Back-patch to 9.5,
which introduced pg_atomic_fetch_add_u32().

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20190831071157.ga3251...@rfd.leadboat.com

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/8972ac69666550535a885aebe0930550c151b4a3

Modified Files
--
src/include/port/atomics/generic-xlc.h | 39 ++
1 file changed, 35 insertions(+), 4 deletions(-)



pgsql: Replace xlc __fetch_and_add() with inline asm.

2019-09-13 Thread Noah Misch
Replace xlc __fetch_and_add() with inline asm.

PostgreSQL has been unusable when built with xlc 13 and newer, which are
incompatible with our use of __fetch_and_add().  Back-patch to 9.5,
which introduced pg_atomic_fetch_add_u32().

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20190831071157.ga3251...@rfd.leadboat.com

Branch
--
REL_11_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/40ad4202513c72f5c1beeb03e26dfbc8890770c0

Modified Files
--
src/include/port/atomics/generic-xlc.h | 39 ++
1 file changed, 35 insertions(+), 4 deletions(-)



pgsql: Replace xlc __fetch_and_add() with inline asm.

2019-09-13 Thread Noah Misch
Replace xlc __fetch_and_add() with inline asm.

PostgreSQL has been unusable when built with xlc 13 and newer, which are
incompatible with our use of __fetch_and_add().  Back-patch to 9.5,
which introduced pg_atomic_fetch_add_u32().

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20190831071157.ga3251...@rfd.leadboat.com

Branch
--
REL_12_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/1c6b62a7d0e57bf9ac7a91d47484b1ea9f2857cd

Modified Files
--
src/include/port/atomics/generic-xlc.h | 39 ++
1 file changed, 35 insertions(+), 4 deletions(-)



pgsql: Replace xlc __fetch_and_add() with inline asm.

2019-09-13 Thread Noah Misch
Replace xlc __fetch_and_add() with inline asm.

PostgreSQL has been unusable when built with xlc 13 and newer, which are
incompatible with our use of __fetch_and_add().  Back-patch to 9.5,
which introduced pg_atomic_fetch_add_u32().

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20190831071157.ga3251...@rfd.leadboat.com

Branch
--
REL9_6_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/a1df9a015dac30d467a00f2d42510765d4f0dd5b

Modified Files
--
src/include/port/atomics/generic-xlc.h | 39 ++
1 file changed, 35 insertions(+), 4 deletions(-)



pgsql: Replace xlc __fetch_and_add() with inline asm.

2019-09-13 Thread Noah Misch
Replace xlc __fetch_and_add() with inline asm.

PostgreSQL has been unusable when built with xlc 13 and newer, which are
incompatible with our use of __fetch_and_add().  Back-patch to 9.5,
which introduced pg_atomic_fetch_add_u32().

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20190831071157.ga3251...@rfd.leadboat.com

Branch
--
REL9_5_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/75941f257aacbc68b08e1cbf2e55110d00a06fff

Modified Files
--
src/include/port/atomics/generic-xlc.h | 39 ++
1 file changed, 35 insertions(+), 4 deletions(-)