forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 22
Floating point number regression (LLVM-67) #20
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
Hi, @lexxvir ! Could you check this example using new branch xtensa_release_11.0.0, please? We corrected some FP comparison operations |
Hi @andreisfr I've checked xtensa_release_11.0.0 branch and confirm that the issue is fixed! Thanks for the support! |
Hi, @lexxvir , thank you very much for your help! |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have encountered into the regression in the current xtensa_release_9.0.1 branch.
Previously I used GCC based branch and it works fine.
Worth noting that I also changed the Rust version, so it may be related.
To reproduce the issue I have prepared minimal version of Rust code:
10.0
and exitsSome comments for the code:
f32
to human readable stringu32
to hexadecimal numberto_bits
convertsf32
tou32
as is at bits representationPrintf
is thin wrapper around regular C's `printf:I've attached archive with: Rust source code demo, disassembled code for "good" and "bad" cases, final binary and LLVM bitcode files:
float-issue.zip
P.S. Actually I use https://github.com/mabezdev/llvm-project fork, but now it contains only one commit ahead of this branch.
The text was updated successfully, but these errors were encountered: