Unverified Commit ee73b811 authored by Scott Johnson's avatar Scott Johnson
Browse files

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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment