-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
asm!: constraints to select specific registers are undocumented #17885
Labels
A-inline-assembly
Area: Inline assembly (`asm!(…)`)
Comments
You can get specific registers via |
nodakai
changed the title
x86_64 asm!: some types of constraints don't work
asm!: constraints to select specific registers are undocumented
Oct 9, 2014
This needs |
This is now documented!. We're just using LLVM syntax, so their documentation suffices for ours now at least. |
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Aug 29, 2024
minor: Add a doc comment for OpQueue Add an explanatory sentence and some sample code to help readers understand why this struct exists.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
None of the "a" -- "d" constraints (to use the
eax
--edx
registers) works as expected.If I enable the commented-out line, I get:
But Clang/LLVM 3.0 (Ubuntu 12.04 package) understands them:
The text was updated successfully, but these errors were encountered: