Open ASintzoff opened 1 week ago
I agree with the Github issue, but which specification tells us that an exception is raised when bit25 is equal to zero ?
I agree with the Github issue, but which specification tells us that an exception is raised when bit25 is equal to zero ?
if the 25th bit isn't equal to zero these instruction are treated as RV64 instruction base on the RISCV bitmanip spec
Is there an existing CVA6 bug for this?
Bug Description
According to RISC-V ISA specification, for RV32, the bit 25 of instructions
BCLRI
,BINVI
,BSETI
,BEXTI
andRORI
must be equal to zero. So when this bit is set, an illegal instruction exception has to be raised.With the current implementation, when bit 25 is set, there is no exception for RV32.