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
- [HACKERS] Re: Alpha tas() patch Tom Lane
- [HACKERS] Re: Alpha tas() patch Brent Verner
- Re: [HACKERS] Re: Alpha tas() patch Adriaan Joubert
- Re: [HACKERS] Re: Alpha tas() patch Brent Verner
- Re: [HACKERS] Re: Alpha tas() patch Tom Lane
- [HACKERS] Re: Alpha tas() patch Tom Lane
- [HACKERS] Re: Alpha tas() patch Brent Verner
- [HACKERS] Re: Alpha tas() patch Tom Lane
- [HACKERS] Re: Alpha tas() patch Brent Verner
- [HACKERS] Re: Alpha tas() patch Tom Lane
- [HACKERS] Re: Alpha tas() patch Brent Verner
- [HACKERS] Re: Alpha tas() patch Tom Lane
- [HACKERS] Re: Alpha tas() pa... Brent Verner
