-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Description
We currently treat V
as meaning "vector is supported", as you might logically expect.
In fact it doesn't mean that - it means vector is supported and vlen
>= 128 and elen
== 64 (and F & D support).
This affects the ISA string, and misa.v
.
I think the simplest fix, congruent with our planned handling of Zvl128 etc. is:
- Change the "vector is supported" knob in the config from
extensions.V.supported
to something likebase.vector_supported
. - Change
function clause hartSupports(Ext_V) = config extensions.V.supported
to something like:
function vectorSupported() -> bool = config base.vector_supported
function clause hartSupports(Ext_V) = vectorSupported() & vlen >= 128 & elen == 64
Similarly for currentlyEnabled(Ext_V)
.
Open to other suggestions though.
Metadata
Metadata
Assignees
Labels
No labels