riscv-non-isa/riscv-arch-test

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

Opened this issue · 1 comments

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