pgsql: Replace xlc __fetch_and_add() with inline asm.

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: Replace xlc __fetch_and_add() with inline asm.
Дата
Msg-id E1i8y0J-00076h-NM@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.GA3251746@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-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Make tuplesort_set_bound() assertions more comprehensible,hopef
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: For all ppc compilers, implement pg_atomic_fetch_add_ with inlin