-
Notifications
You must be signed in to change notification settings - Fork 1
riscv_zvfh
Tsukasa OI edited this page Aug 3, 2023
·
6 revisions
- Status: Merged for Binutils 2.42
- Branch:
riscv-zvfh
- Tracking PR: #118 (view Pull Request and Diff)
- Mailing List:
- PATCH v1 (2023-08-03)
This commit adds support for vector FP16 extensions: Zvfh
and Zvfhmin
.
This is based on:
- https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#zvfhmin-vector-extension-for-minimal-half-precision-floating-point
- https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#zvfh-vector-extension-for-half-precision-floating-point
Despite not having any new instructions, it will be necessary since those extensions are already implemented in GCC.
Note that however, in this commit, following dependencies are implemented.
-
Zvfhmin
→Zve32f
-
Zvfh
→Zvfhmin
(notZvfh
→Zve32f
as in the documentation) -
Zvfh
→Zfhmin
This is because the instructions and configurations supported by the Zvfh
extension is a strict superset of the Zvfhmin
extension and Zvfh
→ Zve32f
dependency is indirectly derived from that fact.