When mstatus.VS exists, P-extension instructions must respect it
Any instruction that may write vxsat will take an illegal instruction exception if mstatus.VS exists and is Off. In Spike today, mstatus.VS exists iff misa.V=1, which is true iff the --isa string enables the V extension. I went through the riscv-p-spec looking for "OV = 1" and added this behavior to every matching instruction. See #823 for discussion.
parent
894a2d77
Please register or sign in to comment