Boost logo

Boost :

Subject: Re: [boost] [atomic] Support for specialized instructions
From: Matthew Markland (markland_at_[hidden])
Date: 2013-11-22 09:03:09

Andrey Semashev <andrey.semashev <at>> writes:

> > but, yes ... if you think it is reasonable to add them, please go ahead!
> Thanks.

If you do add these using either gcc inline assembly or intrinsics, please
make sure to fence the changes with a macro and provide implementations for
compilers that don't support those features. Some compilers, Cray's CCE for
instance, do set __GNUC__ so that they can use glibc, but don't support all
gcc features.



Boost list run by bdawes at, gregod at, cpdaniel at, john at