pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: For all ppc compilers, implement compare_exchange and fetch_add
Date: Sat, 19 Oct 2019 03:27:18 +0000
Message-ID: <E1iLfOg-0005hK-98@gemulon.postgresql.org> (raw)

For all ppc compilers, implement compare_exchange and fetch_add with asm.

This is more like how we handle s_lock.h and arch-x86.h.

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20191005173400.GA3979129@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/30ee5d17c20dbb282a9952b3048d6ad52d56c371

Modified Files
--------------
configure                              |  40 ++++++
configure.in                           |  20 +++
src/include/pg_config.h.in             |   3 +
src/include/port/atomics.h             |  11 +-
src/include/port/atomics/arch-ppc.h    | 231 +++++++++++++++++++++++++++++++++
src/include/port/atomics/generic-xlc.h | 142 --------------------
src/tools/pginclude/cpluspluscheck     |   1 -
src/tools/pginclude/headerscheck       |   1 -
8 files changed, 298 insertions(+), 151 deletions(-)



Message-ID: <E1iLfOg-0005hK-98@gemulon.postgresql.org>
Permalink:  ../E1iLfOg-0005hK-98@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iLfOg-0005hK-98@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: noah@leadboat.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: For all ppc compilers, implement compare_exchange and fetch_add
  In-Reply-To: <E1iLfOg-0005hK-98@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox