From 9113052a1ff9a78a91d980c3205eb958efe94ae3 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Wed, 7 Apr 2010 18:21:52 +0000 Subject: [PATCH] Add some A8-based approximation for instructions with unknown cycle times git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100669 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMScheduleV7.td | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/lib/Target/ARM/ARMScheduleV7.td b/lib/Target/ARM/ARMScheduleV7.td index d856cb9ac7a..91c6cc3e544 100644 --- a/lib/Target/ARM/ARMScheduleV7.td +++ b/lib/Target/ARM/ARMScheduleV7.td @@ -1025,6 +1025,58 @@ def CortexA9Itineraries : ProcessorItineraries<[ InstrStage<1, [FU_Pipe0, FU_Pipe1]>, InstrStage<1, [FU_NPipe]>], [3]>, // + // Double-register Permute Move + InstrItinData, + // FIXME: all latencies are arbitrary, no information is available + InstrStage<3, [FU_DRegsVFP], 0, Reserved>, + InstrStage<1, [FU_Pipe0, FU_Pipe1]>, + InstrStage<1, [FU_NLSPipe]>], [2, 1]>, + // + // Quad-register Permute Move + // Result written in N2, but that is relative to the last cycle of multicycle, + // so we use 3 for those cases + InstrItinData, + // FIXME: all latencies are arbitrary, no information is available + InstrStage<4, [FU_DRegsVFP], 0, Reserved>, + InstrStage<1, [FU_Pipe0, FU_Pipe1]>, + InstrStage<2, [FU_NPipe]>], [3, 1]>, + // + // Integer to Single-precision Move + InstrItinData, + // FIXME: all latencies are arbitrary, no information is available + InstrStage<3, [FU_DRegsVFP], 0, Reserved>, + InstrStage<1, [FU_Pipe0, FU_Pipe1]>, + InstrStage<1, [FU_NPipe]>], [2, 1]>, + // + // Integer to Double-precision Move + InstrItinData, + // FIXME: all latencies are arbitrary, no information is available + InstrStage<3, [FU_DRegsVFP], 0, Reserved>, + InstrStage<1, [FU_Pipe0, FU_Pipe1]>, + InstrStage<1, [FU_NPipe]>], [2, 1, 1]>, + // + // Single-precision to Integer Move + InstrItinData, + // FIXME: all latencies are arbitrary, no information is available + InstrStage<3, [FU_DRegsVFP], 0, Reserved>, + InstrStage<1, [FU_Pipe0, FU_Pipe1]>, + InstrStage<1, [FU_NPipe]>], [2, 1]>, + // + // Double-precision to Integer Move + InstrItinData, + // FIXME: all latencies are arbitrary, no information is available + InstrStage<3, [FU_DRegsVFP], 0, Reserved>, + InstrStage<1, [FU_Pipe0, FU_Pipe1]>, + InstrStage<1, [FU_NPipe]>], [2, 2, 1]>, + // + // Integer to Lane Move + InstrItinData, + // FIXME: all latencies are arbitrary, no information is available + InstrStage<4, [FU_DRegsVFP], 0, Reserved>, + InstrStage<1, [FU_Pipe0, FU_Pipe1]>, + InstrStage<2, [FU_NPipe]>], [3, 1, 1]>, + + // // Double-register FP Unary InstrItinData, // Extra latency cycles since wbck is 6 cycles -- 2.34.1