Does 4.0 support atomic instructions?

Does 4.0 support atomic instructions?

Hi all,
Does anyone know if the 4.0 release supports atomic instructions such as __sync_bool_compare_and_swap()?

Thanks.

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

No the 4.0 compiler does not assume it is transaction safe, nor does it record information to roll back in case of a conflict.

So they work, they just aren't supported inside transactions? To clarify, the previous version, 3.0, was based on an intel compiler that did not support atomic builtins *at all*, does this version support atomic builtins? It does not matter to me if they are not supported inside transactions.

Thanks.

There is no change in 4.0 compiler basic functionality compared to 3.0, except for support of the Transaction Language Constructs for C++

Leave a Comment

Please sign in to add a comment. Not a member? Join today