3 Commits

Author SHA1 Message Date
Jim Lin
024262421d [RISCV] Split the pre-defined macro tests for SiFive extensions to riscv-target-features-sifive.c. NFC. 2025-07-28 13:08:07 +08:00
Jim Lin
45104662c0
[RISCV] Add negative pre-defined macro test for XSfmm* extension. NFC. (#150596) 2025-07-28 09:31:37 +08:00
Craig Topper
a0b6cfd975
[RISCV] Add MC layer support for XSfmm*. (#133031)
This adds assembler/disassembler support for XSfmmbase 0.6 and related
SiFive matrix multiplication extensions based on the spec here
https://www.sifive.com/document-file/xsfmm-matrix-extensions-specification

Functionality-wise, this is the same as the Zvma extension proposal that
SiFive shared with the Attached Matrix Extension Task Group. The
extension names and instruction mnemonics have been changed to use
vendor prefixes.

Note this is a non-conforming extension as the opcodes used here are in
the standard opcode space in OP-V or OP-VE.

---------

Co-authored-by: Brandon Wu <brandon.wu@sifive.com>
2025-05-21 08:26:35 -07:00