From 5e208dc21bbf926bcb9e00a8fdbe71cc6d139986 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Wed, 7 Apr 2010 18:20:47 +0000 Subject: [PATCH] Fix itins for VPAL llvm-svn: 100658 --- llvm/lib/Target/ARM/ARMScheduleV7.td | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/ARM/ARMScheduleV7.td b/llvm/lib/Target/ARM/ARMScheduleV7.td index d313754afb92..03b0ce891fba 100644 --- a/llvm/lib/Target/ARM/ARMScheduleV7.td +++ b/llvm/lib/Target/ARM/ARMScheduleV7.td @@ -516,11 +516,11 @@ def CortexA8Itineraries : ProcessorItineraries<[ // // Double-register Integer Pair Add Long InstrItinData, - InstrStage<1, [FU_NPipe]>], [6, 3, 2, 1]>, + InstrStage<1, [FU_NPipe]>], [6, 3, 1]>, // // Quad-register Integer Pair Add Long InstrItinData, - InstrStage<2, [FU_NPipe]>], [7, 3, 2, 1]>, + InstrStage<2, [FU_NPipe]>], [7, 3, 1]>, // // Double-register Absolute Difference and Accumulate InstrItinData, @@ -923,7 +923,21 @@ def CortexA9Itineraries : ProcessorItineraries<[ // Extra 3 latency cycle since wbck is 6 cycles InstrStage2<7, [FU_DRegsVFP], 0, Reserved>, InstrStage<1, [FU_Pipe0, FU_Pipe1]>, - InstrStage<2, [FU_NPipe]>], [6, 3, 2, 1]> + InstrStage<2, [FU_NPipe]>], [6, 3, 2, 1]>, + // + // Double-register Integer Pair Add Long + InstrItinData, + // Extra 3 latency cycle since wbck is 6 cycles + InstrStage2<7, [FU_DRegsVFP], 0, Reserved>, + InstrStage<1, [FU_Pipe0, FU_Pipe1]>, + InstrStage<1, [FU_NPipe]>], [6, 3, 1]>, + // + // Quad-register Integer Pair Add Long + InstrItinData, + // Extra 3 latency cycle since wbck is 6 cycles + InstrStage2<7, [FU_DRegsVFP], 0, Reserved>, + InstrStage<1, [FU_Pipe0, FU_Pipe1]>, + InstrStage<2, [FU_NPipe]>], [6, 3, 1]> ]>;