[clang] [llvm] [RISCV][P-ext] Support Packed "Q-format" Multiply Parts Accumulate (PR #217918)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 23 06:26:22 PDT 2026
================
@@ -2717,6 +2712,26 @@ let append Predicates = [IsRV32] in {
(NCLIPI (BuildGPRPair GPR:$lo, GPR:$hi), timm:$imm)>;
def : Pat<(XLenVT (riscv_nclipu XLenVT:$lo, XLenVT:$hi, timm:$imm)),
(NCLIPIU (BuildGPRPair GPR:$lo, GPR:$hi), timm:$imm)>;
+
+ // Packed "Q-format" multiply parts accumulate, scalar halfword (RV32).
+ def : Pat<(XLenVT (riscv_mqacc_h00 (XLenVT GPR:$rd),
+ (XLenVT GPR:$rs1), (XLenVT GPR:$rs2))),
----------------
TelGome wrote:
Done. SDT_RISCVQFormatAccS now takes v2i16 for the sources instead of XLenVT.
https://github.com/llvm/llvm-project/pull/217918
More information about the llvm-commits
mailing list