Add SpacemiT vendor extensions for RISC-V
Adds support for SpacemiT's xsmtvdot and xsmtvdotii vector dot product extensions to the RISC-V assembler.
This patch series adds support for the xsmtvdot and xsmtvdotii extensions to the RISC-V assembler. These extensions implement subsets of the SpacemiT Intrinsic Matrix Extension (IME) specification, specifically the Vector Dot Product and Vector Dot Product II extensions. The series includes updates to the assembler, documentation, and test suite to incorporate the new instructions.
- proposer
Proposes adding support for the xsmtvdot and xsmtvdotii extensions, which are subsets of SpacemiT's IME specification.
“This series adds support for two SpacemiT vendor extensions implementing subsets of the SpacemiT Intrinsic Matrix Extension (IME) specification: - XsmtVdot v1.0: Vector Dot Product Extension, implemented by SpacemiT X60 - XsmtVdotII v1.0: Vector Dot Product II Extension, implemented by SpacemiT A100”
In Details
This series adds support for SpacemiT vendor extensions to the RISC-V assembler, specifically xsmtvdot and xsmtvdotii. These extensions define new vector dot product instructions. The patch modifies gas/config/tc-riscv.c, include/opcode/riscv-opc.h, and the test suite, and adds documentation to gas/doc/c-riscv.texi.
For Context
The RISC-V architecture allows for custom extensions to the base instruction set. These extensions can add new instructions or modify existing ones to improve performance for specific workloads. This patch series adds support in the GNU assembler (gas) for two extensions defined by SpacemiT, a vendor that produces RISC-V processors. These extensions implement vector dot product operations, which are commonly used in machine learning and signal processing.