@@ -1112,6 +1112,12 @@ def FeaturePointSampleAccel : SubtargetFeature<"point-sample-accel",
11121112 "Has point sample acceleration feature"
11131113>;
11141114
1115+ def FeatureWaitXcnt : SubtargetFeature<"wait-xcnt",
1116+ "HasWaitXcnt",
1117+ "true",
1118+ "Has s_wait_xcnt instruction"
1119+ >;
1120+
11151121//===------------------------------------------------------------===//
11161122// Subtarget Features (options and debugging)
11171123//===------------------------------------------------------------===//
@@ -1927,6 +1933,7 @@ def FeatureISAVersion12_50 : FeatureSet<
19271933 FeatureAshrPkInsts,
19281934 FeatureSupportsSRAMECC,
19291935 FeatureMaxHardClauseLength63,
1936+ FeatureWaitXcnt,
19301937 FeatureAtomicFMinFMaxF64GlobalInsts,
19311938 FeatureAtomicFMinFMaxF64FlatInsts,
19321939 FeatureFlatBufferGlobalAtomicFaddF64Inst,
@@ -2591,6 +2598,9 @@ def HasPrngInst : Predicate<"Subtarget->hasPrngInst()">,
25912598def HasBVHDualAndBVH8Insts : Predicate<"Subtarget->hasBVHDualAndBVH8Insts()">,
25922599 AssemblerPredicate<(all_of FeatureBVHDualAndBVH8Insts)>;
25932600
2601+ def HasWaitXcnt : Predicate<"Subtarget->hasWaitXcnt()">,
2602+ AssemblerPredicate<(all_of FeatureWaitXcnt)>;
2603+
25942604def HasFP8ConversionScaleInsts : Predicate<"Subtarget->hasFP8ConversionScaleInsts()">,
25952605 AssemblerPredicate<(all_of FeatureFP8ConversionScaleInsts)>;
25962606
0 commit comments