Skip to content

Enable RISC-V atomic compare and swap #56564

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

Closed
fintelia opened this issue Dec 6, 2018 · 2 comments
Closed

Enable RISC-V atomic compare and swap #56564

fintelia opened this issue Dec 6, 2018 · 2 comments
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.

Comments

@fintelia
Copy link
Contributor

fintelia commented Dec 6, 2018

Now that LLVM has support for atomic CAS on RISC-V it would be good to enable it in rustc for that backend. I think this should just be a matter of updating LLVM (or cherry picking the relevant commit? Not entirely sure how that works) and then flipping the switch.

@nikic nikic added the A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. label Dec 6, 2018
@fintelia
Copy link
Contributor Author

What is necessary to move this along?

@nikic
Copy link
Contributor

nikic commented Jan 11, 2019

@fintelia There will be an LLVM update soon (as part of the LLVM monorepo migration), which will pull in the necessary LLVM changes. Afterwards it can be enabled on the rustc side.

Centril added a commit to Centril/rust that referenced this issue Jan 27, 2019
bors added a commit that referenced this issue Jan 27, 2019
Enable RISC-V atomic compare and swap

Fixes #56564
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
Projects
None yet
Development

No branches or pull requests

2 participants