[PATCH] D32265: Add __CLANG_ATOMIC_<TYPE>_LOCK_FREE macros for use in MSVC compatibility mode.

Billy Robert O'Neal III via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 20 14:49:32 PDT 2017


BillyONeal added a comment.

(sorry for double post)

And of course since you folks don't care about supporting pre-Vista you probably also don't care about supporting Opterons from 2005, in which case you'd want unconditional cmpxchg16b on amd64 :). In our next major version I added a configuration macro `_STD_ATOMIC_ALWAYS_USE_CMPXCHG16B` users can set to ask for that.


https://reviews.llvm.org/D32265





More information about the cfe-commits mailing list