Skip to content

Commit 5b5b566

Browse files
committed
Add to gfx11.
RDNA 3 manual says "Floating-point addition handles NAN/INF/denorm" thought I'm not sure I trust it.
1 parent 5336548 commit 5b5b566

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPU.td

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,8 @@ def FeatureISAVersion11_Common : FeatureSet<
15471547
FeatureFlatAtomicFaddF32Inst,
15481548
FeatureImageInsts,
15491549
FeaturePackedTID,
1550-
FeatureVcmpxPermlaneHazard]>;
1550+
FeatureVcmpxPermlaneHazard,
1551+
FeatureMemoryAtomicFaddF32DenormalSupport]>;
15511552

15521553
// There are few workarounds that need to be
15531554
// added to all targets. This pessimizes codegen
@@ -1640,7 +1641,7 @@ def FeatureISAVersion12 : FeatureSet<
16401641
FeatureDPPSrc1SGPR,
16411642
FeatureMaxHardClauseLength32,
16421643
Feature1_5xVGPRs,
1643-
FeatureMemoryAtomicFaddF32DenormalSupport]>;
1644+
FeatureMemoryAtomicFaddF32DenormalSupport
16441645
]>;
16451646

16461647
def FeatureISAVersion12_Generic: FeatureSet<

0 commit comments

Comments
 (0)