-
Notifications
You must be signed in to change notification settings - Fork 98
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
[Bug Report] Wrong result of +0
minus +0
#93
Comments
Thank you for finding this. Such a result is a bug. For any finite floating-point number (meaning "non-NaN")
Unfortunately, I couldn't reproduce the problem on my end. I used a test code in To better understand, could you please provide more details? Specifically, the following information would be helpful:
We want to resolve this issue and greatly appreciate your assistance. Thank you! |
Thanks for your reply. Here are the all files you will need for debugging: https://wormhole.app/zkkA4#yJpgCuoEpgaozwhhZ-2R0w |
I confirmed the test_spike.log file contains the following:
Since |
Sorry, I lost the hex file of this bug. I manually restored the instruction sequence this afternoon according to spike's commit log. Here are the final hex: For reproduce, you need to modify Moreover, here is the spike commit log: spike_zero_minus_zero.log In detail, there is a mismatch on |
Thank you for your cooperation. I'll try reproducing. |
It reproduced. Thank you restoring the hex file! The root of this bug is wrong behavior of In summary, the Please do not close this issue and keep it open until it is sure that #92 is resolved and this issue no longer occurs. |
The meaning of |
Yes, the problem #92 only happens on The current |
I see. Thanks for your patient reply! |
Hi,
when executing
+0
minus+0
, the result in rsd is-0
. However, i think it should be+0
.Is there something wrong in the implementation? Could you help me confirm this problem?
The text was updated successfully, but these errors were encountered: