[clang] [llvm] [Clang][RISCV][P-ext] Add Packed Widening Multiply Accumulate intrinsics (PR #226505)

via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 18 20:18:31 PDT 2026


================
@@ -13550,6 +13563,45 @@ SDValue RISCVTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
 
     return DAG.getNode(Opc, DL, VT, Rs1, Rs2);
   }
+  case Intrinsic::riscv_pwmacc_i32x2:
+  case Intrinsic::riscv_pwmaccu_u32x2:
+  case Intrinsic::riscv_pwmaccsu_i32x2: {
+    EVT VT = Op.getValueType();
+    SDValue Acc = Op.getOperand(1);
+    SDValue Rs1 = Op.getOperand(2);
+    SDValue Rs2 = Op.getOperand(3);
+    MVT XLenVT = Subtarget.getXLenVT();
----------------
StarryCSF wrote:

Done,thank you.https://github.com/llvm/llvm-project/pull/226505/commits/fef519413bbecb07c66771b781bdf19d92607394

https://github.com/llvm/llvm-project/pull/226505


More information about the cfe-commits mailing list