-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Some constants not included in output #315
Comments
Yeah, looks like they are get parsed as "generic directive" and are simplified away by the pretty printer. Should be fixable. |
I'm not sure that this is entirely fixed. I have a function that has 7 constants used, but only seems to show 3 of them.
|
for reference, this is what's generated from rustc with
|
Is it using latest git release? It's not published yet at crates.io, I'm still looking at fixing some windows/mac regressions. |
This is using commit |
I see. I appreciate the second report, will try to fix that a bit better :) |
If it helps, this seems to be the regex for Compiler Explorer's detection for data directives |
Yup, |
It's BSD-2 so I think you need to include the license and copyright. Not a lawyer, though, so not totally sure. |
I just tested the latest commit, and it seems to still have a small issue.
|
Hmm... Off by one somewhere it seems. Checking. |
When writing SIMD code, I've noticed that some constants don't get shown, even with --include-constants.
Example:
Command:
cargo asm --include-constants test
Output:
In this example,
.LCPI21_0
should be shown.The text was updated successfully, but these errors were encountered: