Re: Re: Alpha tas() patch

Adriaan Joubert <a.joubert@albourne.com>

From: Adriaan Joubert <a.joubert@albourne.com>
To: Brent Verner <brent@rcfile.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2000-12-28T15:03:26Z
Lists: pgsql-hackers
Hi,

	I missed the beginning of this thread. Are you doing this for Tru64 or
for Linux? For Tru64 there are macros in /usr/include/alpha/builtins.h
which do the job.

Doing this in assembler is totally non-trivial, as most versions are
only liable to work on single-processor machines and not on SMP boxes
(the problem with the previous linux TAS, I believe).

Adriaan