-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[RISC-V] Atomics #92102
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
[RISC-V] Atomics #92102
Conversation
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsAdd atomic instructions (RV64A) to JIT. Part of #84834
|
|
@jakobbotsch @jkotas PR ready for review. |
|
@jakobbotsch @jkotas Could you look at this, please? |
|
cc @dotnet/jit-contrib |
clamp03
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you share tests to fix?
Please check the style and naming of existing sources? Please~~~
I stumbled on lack of atomics in JIT looking for Yes, I'll adjust style as per remarks in comments. |
To be clear, this is just an optimization, right? Not recognizing these as intrinsics should usually just result in the managed fallback, so these tests aren't broken on RISC-V. |
Exactly. |
clamp03
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much.
I know my initial codes are not good enough. I am so sorry for that. But that is the reason why we need you. Thank you for all your hard work.
Co-authored-by: Jakob Botsch Nielsen <[email protected]>
|
Please check CI build failures before merging. |
|
SPMI failures are the out-of-space ones we have been hitting recently. |
Add atomic instructions (RV64A) to JIT.
Intrinsify calls to Interlocked.ExchangeAdd|Exchange|And|Or|CompareExchange.
Part of #84834
cc @wscho77 @HJLeee @JongHeonChoi @t-mustafin @alpencolt @gbalykov @clamp03 @sirntar @yurai007