Skip site navigation (1) Skip section navigation (2)

[patch] src/include/storage/s_lock.h

From: Brent Verner <brent(at)rcfile(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: [patch] src/include/storage/s_lock.h
Date: 2000-12-28 00:48:48
Message-ID: 20001227194848.C6638@rcfile.org (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
hi,

  This is a revised patch that I sent earlier to allow building
pg-7.1 with gcc as well as DEC's cc. I've had good results with this
applied. Could some other Alpha users try this out. Even better, could
an Alpha asm guru look over the asm that I'm using (instead of the
original asm in the file).

in brief:
  the original s_lock.h file tested for __alpha and __osf__ to use
the builtin __INTERLOCKED_BITSS_QUAD for our TAS. I've changed this
to check for the DEC compiler (__DECC || __DECCXX), removed the
__asm__(...) which appeared to be gcc-specific, and moved the whole
#if (__alpha) block inside the #else of #if defined(__GNUC__).

  brent

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-12-28 01:02:27
Subject: Re: Re: [HACKERS] Re: Tuple-valued datums on Alpha (was Re: 7.1 on DEC/Alpha)
Previous:From: Brent VernerDate: 2000-12-28 00:38:05
Subject: Re: [HACKERS] Re: Tuple-valued datums on Alpha (was Re: 7.1 on DEC/Alpha)

pgsql-patches by date

Next:From: Tom LaneDate: 2000-12-28 01:02:27
Subject: Re: Re: [HACKERS] Re: Tuple-valued datums on Alpha (was Re: 7.1 on DEC/Alpha)
Previous:From: Brent VernerDate: 2000-12-28 00:38:05
Subject: Re: [HACKERS] Re: Tuple-valued datums on Alpha (was Re: 7.1 on DEC/Alpha)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group