Re: test-and-set for s390x and powerpc64 - Mailing list pgsql-patches

From Tom Lane
Subject Re: test-and-set for s390x and powerpc64
Date
Msg-id 7869.1036084636@sss.pgh.pa.us
Whole thread Raw
In response to test-and-set for s390x and powerpc64  (Reinhard Max <max@suse.de>)
Responses Re: test-and-set for s390x and powerpc64  (Reinhard Max <max@suse.de>)
List pgsql-patches
Reinhard Max <max@suse.de> writes:
> the attached patches provide test-and-set assembler code for s390x
> (64bit) and ppc64.

Why do we need that ppc64 code?  It appears identical to the ppc code
(except for missing isync, which means it's broken on multi-CPU boxes).

> It also changes the -fpic compiler flag to
> -fPIC which is needed for some Linux platforms, and AFAIK doesn't hurt
> on the others.

Evidence?

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Compiler options for plperl
Next
From: Reinhard Max
Date:
Subject: Re: test-and-set for s390x and powerpc64