Skip to content

Commit 8094119

Browse files
committed
[X86] IceLakeServer - ZMM FMA can only use Port0
Fix discrepancy from when this was forked from the SkylakeServer model Confirmed with Agner + uops.info
1 parent 1de5fe1 commit 8094119

File tree

2 files changed

+110
-110
lines changed

2 files changed

+110
-110
lines changed

llvm/lib/Target/X86/X86SchedIceLake.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ defm : ICXWriteResPair<WriteFRsqrtZ,[ICXPort0,ICXPort5], 9, [2,1], 3, 7>;
316316
defm : ICXWriteResPair<WriteFMA, [ICXPort01], 4, [1], 1, 5>; // Fused Multiply Add.
317317
defm : ICXWriteResPair<WriteFMAX, [ICXPort01], 4, [1], 1, 6>;
318318
defm : ICXWriteResPair<WriteFMAY, [ICXPort01], 4, [1], 1, 7>;
319-
defm : ICXWriteResPair<WriteFMAZ, [ICXPort05], 4, [1], 1, 7>;
319+
defm : ICXWriteResPair<WriteFMAZ, [ICXPort0], 4, [1], 1, 7>;
320320
defm : ICXWriteResPair<WriteDPPD, [ICXPort5,ICXPort015], 9, [1,2], 3, 6>; // Floating point double dot product.
321321
defm : ICXWriteResPair<WriteDPPS, [ICXPort5,ICXPort015], 13, [1,3], 4, 6>;
322322
defm : ICXWriteResPair<WriteDPPSY,[ICXPort5,ICXPort015], 13, [1,3], 4, 7>;

0 commit comments

Comments
 (0)