@@ -356,7 +356,7 @@ multiclass VPseudoSiFiveVQMACCDOD<string Constraint = ""> {
356
356
}
357
357
358
358
multiclass VPseudoSiFiveVQMACCQOQ<string Constraint = ""> {
359
- foreach i = [0, 1, 2, 3] in
359
+ foreach i = 0-3 in
360
360
let VLMul = MxListVF4[i].value in
361
361
defm NAME : VPseudoSiFiveVMACC<MxListVF4[i].MX, MxListVF8[i].vrclass,
362
362
MxListVF4[i].vrclass, Constraint>;
@@ -560,17 +560,15 @@ class GetFTypeInfo<int Sew> {
560
560
}
561
561
562
562
multiclass VPatVMACC<string intrinsic, string instruction, string kind,
563
- list<VTypeInfoToWide> info_pairs, ValueType vec_m1,
564
- bit lmul_follows_vd = 0> {
563
+ list<VTypeInfoToWide> info_pairs, ValueType vec_m1> {
565
564
foreach pair = info_pairs in {
566
565
defvar VdInfo = pair.Wti;
567
566
defvar Vs2Info = pair.Vti;
568
- defvar LMul = !if(!eq(lmul_follows_vd, 1), VdInfo.LMul, Vs2Info.LMul);
569
567
let Predicates = [HasVInstructions] in
570
568
def : VPatTernaryNoMaskWithPolicy<"int_riscv_sf_" # intrinsic,
571
569
"Pseudo" # instruction, kind, VdInfo.Vector,
572
570
vec_m1, Vs2Info.Vector,
573
- Vs2Info.Log2SEW, LMul,
571
+ Vs2Info.Log2SEW, Vs2Info. LMul,
574
572
VdInfo.RegClass, VR, Vs2Info.RegClass>;
575
573
}
576
574
}
@@ -590,7 +588,7 @@ defset list<VTypeInfoToWide> VQMACCQOQInfoPairs = {
590
588
}
591
589
592
590
multiclass VPatVQMACCDOD<string intrinsic, string instruction, string kind>
593
- : VPatVMACC<intrinsic, instruction, kind, VQMACCDODInfoPairs, vint8m1_t, 1 >;
591
+ : VPatVMACC<intrinsic, instruction, kind, VQMACCDODInfoPairs, vint8m1_t>;
594
592
595
593
multiclass VPatVQMACCQOQ<string intrinsic, string instruction, string kind>
596
594
: VPatVMACC<intrinsic, instruction, kind, VQMACCQOQInfoPairs, vint8m1_t>;
0 commit comments