funct7 values of SRA,SUBW,SRAW appear to be incorrect in unpriv section 4.2.2 of version 20240411.
puyogo-suzuki opened this issue · 2 comments
puyogo-suzuki commented
Hi,
I think that the funct7 values in unpriv section 4.2.2 of version 20240411 are incorrect.
In the V20191213, funct7 values are 7-bits (in section 5.2).
The values are 0000000 or 0100000.
However, in the version 20240411, funct7 values have only 6-bits; the least significant bits seem to be missing.
The values are 000000 or 010000.
Is this correct?
The relevant file is:
aswaterman commented
@wmat this is indeed a bug; these funct7 fields should all have another 0 appended on the right.