From: Michael van der Westhuizen (r1mikey_at_[hidden])
Date: 2006-07-04 14:06:26


Hi,

On 7/4/06, Tomas Puverle <Tomas.Puverle_at_[hidden]> wrote:
[snip]
> > The code is not valid for Solaris 9 or older unless Sun decides to
> > release patches for the older operating systems.
>
> Hold on, what do you mean? Surely the atomic intrinsics we've written will
> work on ANY version of Solaris, since they only use HW primitives? Are you
> talking about using the os provided ones? Why would you do that if you have
> the assembly for the former?

Yes, I'm talking about the OS provided intrinsics. The code I provided
in sp_counted_base_solaris only uses OS provided intrinsics.

Inline assembly versions will, of course, work anywhere that the
assembly is valid.

Michael