diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-04-05 23:28:58 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-04-05 23:28:58 +0000 |
commit | de80951ae9bb86ab6b4183f0d482d426c02ab708 (patch) | |
tree | d2dcd64a6682a8cfb31490bc54d115046ef55ed1 | |
parent | e8b3c2e48aa597f08d029ecaed6c1f7ae3a1d111 (diff) | |
download | external_llvm-de80951ae9bb86ab6b4183f0d482d426c02ab708.zip external_llvm-de80951ae9bb86ab6b4183f0d482d426c02ab708.tar.gz external_llvm-de80951ae9bb86ab6b4183f0d482d426c02ab708.tar.bz2 |
Correct the PPC A2 misprediction penalty
The manual states that there is a minimum of 13 cycles from when the
mispredicted branch is issued to when the correct branch target is
issued.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178925 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/PPCScheduleA2.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCScheduleA2.td b/lib/Target/PowerPC/PPCScheduleA2.td index ae084aa..8d5838e 100644 --- a/lib/Target/PowerPC/PPCScheduleA2.td +++ b/lib/Target/PowerPC/PPCScheduleA2.td @@ -759,7 +759,7 @@ def PPCA2Model : SchedMachineModel { let LoadLatency = 6; // Optimistic load latency assuming bypass. // This is overriden by OperandCycles if the // Itineraries are queried instead. - let MispredictPenalty = 6; + let MispredictPenalty = 13; let Itineraries = PPCA2Itineraries; } |