pg.ddx.io  pgsql-committers@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 pg_atomic_fetch_add_ with inlin
Date: Sat, 14 Sep 2019 02:41:39 +0000
Message-ID: <E1i8y0J-00076V-LN@gemulon.postgresql.org> (raw)

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.GA3251746@rfd.leadboat.com

Branch
------
master

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

Modified Files
--------------
configure                              | 40 ++++++++++++++
configure.in                           | 20 +++++++
src/include/pg_config.h.in             |  3 ++
src/include/port/atomics/arch-ppc.h    | 98 ++++++++++++++++++++++++++++++++++
src/include/port/atomics/generic-xlc.h | 66 -----------------------
5 files changed, 161 insertions(+), 66 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1i8y0J-00076V-LN@gemulon.postgresql.org>
Permalink:  ../E1i8y0J-00076V-LN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1i8y0J-00076V-LN@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: For all ppc compilers, implement pg_atomic_fetch_add_ with inlin
  In-Reply-To: <E1i8y0J-00076V-LN@gemulon.postgresql.org>
  References: <E1i8y0J-00076V-LN@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