Vector Status flag mstatus[VS] is not updated correctly #569
Labels
bug
Something isn't working
good first issue
Good for newcomers
vector
Issues related to the Vector extension
The spec says:
However currently VS is only dirtied when you write to
vcsr
. I think a call todirty_v_context_if_present()
is missing for most of the other CSRs.Also I'm not sure about
dirty_v_context_if_present()
since it seem to be checking whether vector is supported which is always the case if we're modifying those CSRs so it's at best redundant, and at worst should it checkmisa[V]
instead ofsys_enable_vext()
?The text was updated successfully, but these errors were encountered: