riscvarchive / riscv-v-spec

Working draft of the proposed RISC-V V vector extension
https://jira.riscv.org/browse/RVG-122
Creative Commons Attribution 4.0 International
973 stars 272 forks source link

Proposal: Make `Zvfh` to depend on `Zvfhmin` instead of `Zve32f` #911

Open a4lg opened 1 year ago

a4lg commented 1 year ago

Although that this is functionally equivalent (since Zvfhmin depends on Zve32f), it makes clearer that Zvfh is a strict superset of Zvfhmin.

Again, it will not change the contents of both extensions. But I believe that this change will ease some developers that depend on the expanded ISA string (e.g. after expanding GIMAFD_Zicsr_Zifencei) or similar data structure (like which QEMU uses) because if we need to probe the vector FP16 conversion capability, we just need to probe for the Zvfhmin extension, not Zvfhmin or Zvfh.