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

Atomic Test cases for amominu (and potentially others) Sail is not generating the correect signature #430

Open
InspireSemi opened this issue Jan 23, 2024 · 1 comment

Comments

@InspireSemi
Copy link
Contributor

Ref.disass code for inst_0 for amominu.w
0000000080000400 <inst_0>:
80000400: bff00f13 li t5,-1025
80000404: 01e0b023 sd t5,0(ra)
80000408: fff00f13 li t5,-1
8000040c: 03ff1f13 slli t5,t5,0x3f
80000410: 00008f93 mv t6,ra
80000414: c1efafaf amominu.w t6,t5,(t6)
80000418: 01f0b423 sd t6,8(ra)

The first signature should have been FFFF FFFF FFFF FBFF What Sail is storing is: FFFF_FFFF_0000_0000
I have not looked further into the signature to see if others are also wrong.

I have attached all the files from the ref dir under riscof_work for amominu.w

amominu.w.zip

@allenjbaum
Copy link
Collaborator

allenjbaum commented Jan 23, 2024 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