-
Notifications
You must be signed in to change notification settings - Fork 13.5k
FR: Add cacheline size macros sufficient to support C++17 std::hardware_{con,de}structive_interference_size #60174
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
Comments
@llvm/issue-subscribers-c-17 |
Note that #83603 implements the library feature even on Clang, by hardcoding values per platform. |
Even if libcxx moves forward independently, copying an outline how to proceed for clang from the discourse thread on this:
|
These macros are used by STL implementations to support implementation of std::hardware_destructive_interference_size and std::hardware_constructive_interference_size Fixes llvm#60174
These macros are used by STL implementations to support implementation of std::hardware_destructive_interference_size and std::hardware_constructive_interference_size Fixes #60174 --------- Co-authored-by: Louis Dionne <[email protected]>
libc++ implements std::hardware_{con,de}structive_interference_size on gcc only due to clang lacking sufficient macro support. This bug requests that clang add sufficient support to implement this C++17ism in libc++.
The text was updated successfully, but these errors were encountered: