[llvm] [AMDGPU] Baseline gfx1250 speed model. (PR #145217)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 22 01:02:10 PDT 2025
================
@@ -455,3 +456,35 @@ def : HWWriteRes<WriteBarrier, [HWBranch], 2000>;
def : InstRW<[WriteCopy], (instrs COPY)>;
} // End SchedModel = GFX12SpeedModel
+
+multiclass GFX125xCommonWriteRes {
+
+def : HWWriteRes<Write32Bit, [HWVALU, HWRC], 5>;
+def : HWWriteRes<WriteFloatCvt, [HWVALU, HWRC], 5>;
+def : HWWriteRes<WriteTrans32, [HWTransVALU, HWRC], 7>;
+def : HWWriteRes<WriteQuarterRate32, [HWVALU, HWRC], 6>;
+def : HWWriteRes<WriteFloatFMA, [HWVALU, HWRC], 5>;
+def : HWWriteRes<WritePseudoScalarTrans, [HWVALU, HWRC], 8>;
----------------
rampitec wrote:
And yes, it is correct it is higher, because you also need to move data to the pipeline.
https://github.com/llvm/llvm-project/pull/145217
More information about the llvm-commits
mailing list