-
Notifications
You must be signed in to change notification settings - Fork 230
umaal instruction #112
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
Comments
This is a Cortex-M4 or newer instruction and shouldn't be generated by the thumbv7m target. Do you have steps to reproduce? This sounds like the built-in thumbv7m target could be missing a "negative" LLVM feature. Are you passing any extra compiler flag related to codegen, like |
you can compile the code in question, it is on https://github.com/pftbest/rplayground |
The instruction doesn't seem to come from compiler-builtins-snapshot AFAICT:
|
I see you have two .json files in your project. Could you, by mistake, by using the |
no, it is commented out in the
This may be the case, I'm not sure where it comes from, maybe it is from libcore, as is suggested by the |
Yes, they are coming from libcore. This is a bug in the target definition and should be fixed upstream, in rust-lang/rust. |
Filed rust-lang/rust#37227 |
Thank you |
112: [WIP]: implement atan2 r=japaric a=P1n3appl3 This depends on `atan()`. There was a pr for that but it seems to have been closed without adding it? Co-authored-by: Joseph Ryan <[email protected]> Co-authored-by: Jorge Aparicio <[email protected]>
So I was playing with compiler-builtins-snapshot in qemu, and my program was hanging for no apparent reason. Then I looked into the code that was causing problems and found this instruction:
This instruction should not be used on thumbv7m-none-eabi target.
The text was updated successfully, but these errors were encountered: