-
Notifications
You must be signed in to change notification settings - Fork 2
riscv_zvef_allow_zfinx
- Branch:
riscv-zvef-allow-zfinx - Tracking PR: #117 (view Pull Request and Diff)
- Mailing List:
- Not yet
In the RISC-V "V" Vector Extension specification, it states that Zve*f require either F or Zfinx and Zve64d requires either D or Zdinx.
Current Binutils lacks support for following configurations:
-
Zve32fandZfinx -
Zve64fandZfinx -
Zve64dandZdinx
The reason behind it is probably because Zfinx and Zdinx are not ratified at the time when the V support is added.
Since all V, Zfinx and Zdinx are ratified, it's time to implement vector configurations for embedded systems as this commit does.
This commit doesn't normally affect the programs that use the V extension since it does not allow Zfinx-based configuration.
However, if the program is compiled with Zve*[fd] extensions, it might need additional F or Zfinx extension to the "-march" option.
Note that all F registers are replaced to even-numbered X registers (GPRs) in the new instruction test.