You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand correctly from spec, mtinst is a WARL register that can be written by machine mode. However, reading it in machine mode when the H extension is not opened, caused an illegal instruction exception.
Should not the correct behaviour be reading legal value of mtinst in machine mode?
The text was updated successfully, but these errors were encountered:
mtinst is part of H, so if misa.H is unset (which I assume is what you mean by "H extension is not opened"), reads to mtinst will trap with illegal instruction.
If I understand correctly from spec, mtinst is a WARL register that can be written by machine mode. However, reading it in machine mode when the H extension is not opened, caused an illegal instruction exception.
Should not the correct behaviour be reading legal value of mtinst in machine mode?
The text was updated successfully, but these errors were encountered: