From: Michael van der Westhuizen (r1mikey_at_[hidden])
Date: 2006-07-03 11:46:31
On 7/3/06, Peter Dimov <pdimov_at_[hidden]> wrote:
> Bronek Kozicki kindly reminded me of a g++/Sparc version of sp_counted_base
> by Piotr Wyderski he sent me some months ago, which I'd completely forgotten
> about. I've attached it to this message; it requires the V9 instruction set
> and can be enabled by
> #elif defined( __GNUC__ ) && ( defined( __sparc ) ||
> defined(__sparc_v9__ ) )
> # include <boost/detail/sp_counted_base_gcc_sparc.hpp>
> in sp_counted_base.hpp. We might want to use it in preference to the Solaris
> version. Anybody using g++ on Sparc care to comment or give it a try?
Just a note: I had to delete the last ":" in the inline ASM (both 32
and 64 bit versions) for compare_exchange to get this to compile.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk