RISC-V: Add minimal support for Zvdota and Zvbdota extension family
Initial registration of Zvdota and Zvbdota extensions and their BF16 dependencies.
This commit introduces minimal support for the RISC-V Zvdota and Zvbdota extension families by registering them and their dependencies. It follows the 1.0 draft specifications for these extensions, which enable specialized dot-product operations. The changes include enabling BF16 data types for these dot-product extensions, ensuring that the compiler recognizes and can utilize these new capabilities.
In Details
This commit registers the Zvdota and Zvbdota RISC-V extensions and their associated BF16 type support in GCC's configuration. It updates riscv-ext.def, riscv-ext.opt, and riscv-common.cc to reflect the availability of these extensions and their requirements. This foundational step is necessary for subsequent commits that add specific intrinsics, machine patterns, and test cases for these dot-product vector operations.
- RISC-V
- An open-standard Instruction Set Architecture (ISA) based on Reduced Instruction Set Computing principles. GCC supports various RISC-V extensions for different architectures.
- Zvdota
- A RISC-V vector extension that provides dot-product instructions for various data types, including integer, BF16, and FP8, enabling efficient vector computations.
- Zvbdota
- A RISC-V vector extension that provides batched dot-product instructions, enabling efficient computation of multiple dot products in a single operation.
- BF16
- BFloat16. A 16-bit floating-point format with the same exponent range as IEEE 754 single-precision (32-bit) floats but a reduced precision. It is often used in machine learning and deep learning workloads.
- extension family
- A group of related instruction set extensions for a processor architecture, often sharing common features or targeting similar functionalities.