From 2bd8350187cf9595dcc33b8474ccd39891af9b36 Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Wed, 29 Jan 2014 18:26:59 +0000 Subject: [X86][SchedModel] Fix typos in the definitions of the ports for Haswell. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200403 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86SchedHaswell.td | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/Target/X86/X86SchedHaswell.td b/lib/Target/X86/X86SchedHaswell.td index 9748261262..997e6c9c88 100644 --- a/lib/Target/X86/X86SchedHaswell.td +++ b/lib/Target/X86/X86SchedHaswell.td @@ -29,7 +29,7 @@ let SchedModel = HaswellModel in { // Haswell can issue micro-ops to 8 different ports in one cycle. -// Ports 0, 1, 5, 6 and 7 handle all computation. +// Ports 0, 1, 5, and 6 handle all computation. // Port 4 gets the data half of stores. Store data can be available later than // the store address, but since we don't model the latency of stores, we can // ignore that. @@ -48,7 +48,7 @@ def HWPort7 : ProcResource<1>; def HWPort23 : ProcResGroup<[HWPort2, HWPort3]>; def HWPort237 : ProcResGroup<[HWPort2, HWPort3, HWPort7]>; def HWPort05 : ProcResGroup<[HWPort0, HWPort5]>; -def HWPort056 : ProcResGroup<[HWPort0, HWPort5, HWPort6]>; +def HWPort06 : ProcResGroup<[HWPort0, HWPort6]>; def HWPort15 : ProcResGroup<[HWPort1, HWPort5]>; def HWPort015 : ProcResGroup<[HWPort0, HWPort1, HWPort5]>; def HWPort0156: ProcResGroup<[HWPort0, HWPort1, HWPort5, HWPort6]>; @@ -88,6 +88,8 @@ multiclass HWWriteResPair; +// Store_addr on 237. +// Store_data on 4. def : WriteRes; def : WriteRes { let Latency = 4; } def : WriteRes; @@ -96,8 +98,8 @@ def : WriteRes; defm : HWWriteResPair; defm : HWWriteResPair; def : WriteRes { let Latency = 3; } -defm : HWWriteResPair; -defm : HWWriteResPair; +defm : HWWriteResPair; +defm : HWWriteResPair; // This is for simple LEAs with one or two input operands. // The complex ones can only execute on port 1, and they require two cycles on @@ -125,11 +127,11 @@ defm : HWWriteResPair; defm : HWWriteResPair; // Vector integer operations. -defm : HWWriteResPair; +defm : HWWriteResPair; defm : HWWriteResPair; defm : HWWriteResPair; defm : HWWriteResPair; -defm : HWWriteResPair; +defm : HWWriteResPair; def : WriteRes { let Latency = 100; } def : WriteRes { let Latency = 100; } -- cgit v1.2.3