-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand std::atomic feature tests to include compare_exchange, fetch_a…
…dd, etc. E.g. clang 18 with libstdc++ 14 can do loads and stores of 128-bit atomics without libatomic, but can't do compare_exchange without libatomic. libatomic does not seem to support 128-bit fetch_add/sub, but we don't need it so leave it out of the 128-bit feature test.
- Loading branch information
Showing
2 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters