-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Implement atomic operations for M68k #48236
Comments
@0x59616e Do you have any insight on how to implement support for AtomicStore and AtomicLoad? I've tried implementing it myself, but I'm currently lacking detailed knowledge on TableGen to define the proper macros. See also: M680x0/M680x0-mono-repo#13 |
No, it hasn't been put on my agenda. I'll take a look at it once I finish the disassembler ;) |
OK, thanks. I think, I'll give it another go myself over the weekend. |
Do you think you could have a look during the next weeks? I haven't found a solution myself, unfortunately as I'm not very experienced with the LLVM-IR syntax. |
Oh, I almost forgot this one. I've immersed myself in loop optimization and LLVM-IR in the past few weeks, and I believe that will be helpful as I dig into this issue ;) |
Is there any updaten this? I would try to help but I am probably lacking the right skill set 😉 |
Thanks for your kindness ;) Unfortunately, not much progress on this. If you need any help to work on this, please let me know. |
Thank you!! |
My pleasure;) |
Extended Description
The M68k is not implementing any atomic operations yet which include load and store operations and compare_and_swap.
Load operations:
Store operations:
Compare-and-swap:
Without support for atomic operations, compiling some C++ code currently fails with:
The text was updated successfully, but these errors were encountered: