Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions llvm/lib/Target/X86/X86SchedSkylakeClient.td
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ def SKLPortAny : ProcResGroup<[SKLPort0, SKLPort1, SKLPort2, SKLPort3, SKLPort4,
let BufferSize=60;
}

// Skylake can retire up to four (potentially fused) uops per cycle. Set the
// limit to twice that given we do not model fused uops as only taking up one
// retirement slot. I could not find any documented sources on how many
// in-flight micro-ops can be tracked.
def SKRCU : RetireControlUnit<0, 8>;

// Integer loads are 5 cycles, so ReadAfterLd registers needn't be available until 5
// cycles after the memory operand.
def : ReadAdvance<ReadAfterLd, 5>;
Expand Down
6 changes: 6 additions & 0 deletions llvm/lib/Target/X86/X86SchedSkylakeServer.td
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ def SKXPortAny : ProcResGroup<[SKXPort0, SKXPort1, SKXPort2, SKXPort3, SKXPort4,
let BufferSize=60;
}

// Skylake can retire up to four (potentially fused) uops per cycle. Set the
// limit to twice that given we do not model fused uops as only taking up one
// retirement slot. I could not find any documented sources on how many
// in-flight micro-ops can be tracked.
def SKXRCU : RetireControlUnit<0, 8>;

// Integer loads are 5 cycles, so ReadAfterLd registers needn't be available until 5
// cycles after the memory operand.
def : ReadAdvance<ReadAfterLd, 5>;
Expand Down
Loading