From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: stange@rentec.com
Cc: pgsql-ports@postgresql.org
Subject: Re: solaris build problem with Sun compilers
Date: Fri, 12 May 2006 14:14:47 -0400 (EDT)
Message-ID: <200605121814.k4CIEl614655@candle.pha.pa.us> (raw)
In-Reply-To: <12675.1147457431@sss.pgh.pa.us>
Tom Lane wrote:
> Alan Stange <stange@rentec.com> writes:
> > Hmmm. I've just been looking at the last snapshot of the HEAD and
> > s_lock.h is still using an ldstub instruction instead of a cas for the
> > inlined tas() function when gcc is being used. Having a cas
> > instruction here would probably be an improvement too, right?
>
> [ shrug... ] The person who submitted the solaris_sparc.s change failed
> to provide any evidence that it was anything but cosmetic, so I didn't
> worry about changing the equivalent gcc code. If there's actually a
> performance win, please cite chapter and verse. Also, shouldn't we be
> worrying about breaking older Sparc chips? Does CAS go all the way
> back?
I don't think it is a good idea to be using different ASM instructions
based for different compilers --- they should be the same.
--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
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-ports@postgresql.org
Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, stange@rentec.com
Subject: Re: solaris build problem with Sun compilers
In-Reply-To: <200605121814.k4CIEl614655@candle.pha.pa.us>
References: <12675.1147457431@sss.pgh.pa.us> <200605121814.k4CIEl614655@candle.pha.pa.us>
* 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