
3 Jul
2006
3 Jul
'06
3:46 p.m.
On 7/3/06, Peter Dimov <pdimov@mmltd.net> 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. Michael