Skip to content
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

Float coversion returns incorrect value, for the signed (+/-) raw integer inputs #159

Closed
ptprasanna opened this issue Apr 8, 2022 · 2 comments

Comments

@ptprasanna
Copy link

Issue Description: With reference to the attached log, at PC 260 we are expecting the value 0xFFFFFFFFDE924770 to be stored, but rather the sail is storing 0xFFFFFFFF5E924770. like the same at PC 274 and 284 the actual value is different than the expected. Also we did observe that the issue might be around the sign bit. Have attached the log and disassembler, please let me know if more information would help.

Log - https://github.com/ptprasanna/IssuesAndBugs/blob/main/fcvt.s.l_b25-01.log
Disass - https://github.com/ptprasanna/IssuesAndBugs/blob/main/ref.disass

@ptprasanna
Copy link
Author

This issue is more of an issue with the generator, and also it is being tracked under riscv-software-src/riscv-isac#38 and riscv-software-src/riscv-isac#39
Hence Closing this issue.

@allenjbaum
Copy link
Collaborator

allenjbaum commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants