Re: 7.1 vs. 7.2 on AIX 5L - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: 7.1 vs. 7.2 on AIX 5L
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA41EB4AB@m0114.s-mxs.net
Whole thread Raw
In response to 7.1 vs. 7.2 on AIX 5L  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: 7.1 vs. 7.2 on AIX 5L
List pgsql-hackers
> > isync only affects the running processor.
> 
> I have tried LinuxPPC's TAS code but AIX's assembler complains that
> lwarx and stwcx are unsupported op. So it seems that we need to tweak
> your code actually.

The problem is, that the default on AIX is to produce architecture independent
code (arch=COM). Unfortunately not all AIX architectures seem to have these 
instructions. With arch=ppc it works (two lines adjusted .globl .tas and .tas:).
My worry is, that the Architecture book sais that the isync is necessary on SMP. 
I wonder why that would not also apply to LinuxPPC or Apple.

Andreas


pgsql-hackers by date:

Previous
From: "Andy Samuel"
Date:
Subject: Tablespace and clustering
Next
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: again on index usage