Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit the supported atomic types per platform #35497

Merged
merged 2 commits into from
Apr 20, 2020
Merged

Conversation

vchuravy
Copy link
Member

Makes sure that we only allow construction of Atomic{T} for
T where LLVM gives reasonable answers. As of right now this
means excluding floating point number types on power #32153.

C++20 is adding limited support for atomics on floating point numbers,
but I haven't had a chance to test a compiler that supports that.

@vchuravy vchuravy added multithreading Base.Threads and related functionality system:powerpc PowerPC labels Apr 16, 2020
@vchuravy vchuravy requested a review from JeffBezanson April 16, 2020 19:59
@vchuravy vchuravy merged commit 8d8f46d into master Apr 20, 2020
@vchuravy vchuravy deleted the vc/platform_atomics branch April 20, 2020 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multithreading Base.Threads and related functionality system:powerpc PowerPC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant