From: Hal Finkel Date: Sun, 22 Sep 2013 00:08:14 +0000 (+0000) Subject: Correct the pre-increment load latencies in the PPC A2 itinerary X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=50019d8f7e1af96b85098ba501acbb9845682e4a;p=oota-llvm.git Correct the pre-increment load latencies in the PPC A2 itinerary Pre-increment loads are microcoded on the A2, and the address increment occurs only after the load completes. As a result, the latency of the GPR address update is an additional 2 cycles on top of the load latency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191156 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCScheduleA2.td b/lib/Target/PowerPC/PPCScheduleA2.td index 2e41edf8990..1612cd2a0b8 100644 --- a/lib/Target/PowerPC/PPCScheduleA2.td +++ b/lib/Target/PowerPC/PPCScheduleA2.td @@ -70,7 +70,7 @@ def PPCA2Itineraries : ProcessorItineraries< InstrItinData], [6, 1, 1]>, InstrItinData], - [6, 2, 1, 1]>, + [6, 8, 1, 1]>, InstrItinData], [6, 1, 1]>, InstrItinData], @@ -86,11 +86,11 @@ def PPCA2Itineraries : ProcessorItineraries< InstrItinData], [7, 1, 1]>, InstrItinData], - [7, 2, 1, 1]>, + [7, 9, 1, 1]>, InstrItinData], [6, 1, 1]>, InstrItinData], - [6, 2, 1, 1]>, + [6, 8, 1, 1]>, InstrItinData], [82, 1, 1]>, // L2 latency InstrItinData],