riscv-v-spec icon indicating copy to clipboard operation
riscv-v-spec copied to clipboard

Implication for zvfh

Open eopXD opened this issue 1 year ago • 2 comments

Just noticed that 18.5. Zvfh: Vector Extension for Half-Precision Floating-Point mentions

The Zvfh extension depends on the Zve32f and Zfhmin extensions.

Should there be an implication for Zvfh to zvfhmin?

eopXD avatar Jun 01 '23 17:06 eopXD

It doesn’t need to. It’s already fully specified without that implication. Instructions can appear in multiple unrelated extensions, so either depending on Zvfhmin or not depending on it is valid.

Note also that Zfh doesn’t depend on Zfhmin; those two are analogously independent.

aswaterman avatar Jun 01 '23 20:06 aswaterman

I was thinking of this because the Zve* extensions seems to have the implications to its subset (e.g. zve32f implies zve32x), and Zvfhmin is a proper subset of zvfh.

Is there a reason behind this asymmetry?

eopXD avatar Jun 02 '23 00:06 eopXD