pgsql: For all ppc compilers, implement compare_exchange and fetch_add

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: For all ppc compilers, implement compare_exchange and fetch_add
Дата
Msg-id E1iLfOg-0005hK-98@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Remove last traces of heap_open/close in the tree
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix most -Wundef warnings