-
Notifications
You must be signed in to change notification settings - Fork 362
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
Inline assembly support #3911
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a tracking issue for allowing to use inline assembly from Scala Native programs.
The mechanism by which this can be achieved is using the "Inline assembler expressions" in LLVM IR: https://llvm.org/docs/LangRef.html#inline-assembler-expressions
Prior art:
asm!
macro: https://doc.rust-lang.org/rust-by-example/unsafe/asm.htmlasm
function: https://firexfly.com/clang-inline-assembly/Considerations:
Example:
Reading material:
I'm not actually working on it, especially given I can't get any C examples to run on my Mac. This is merely an information dump
The text was updated successfully, but these errors were encountered: