Only emit movw on ARMv6T2+
[oota-llvm.git] / lib / Target / X86 / X86ScheduleSLM.td
index f29c987c96ef4d1e347757f778140fd8cc4669f9..90d85878812462efa8eb3c2defa508f08542f7f7 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file defines the machine model for Intal Silvermont to support
+// This file defines the machine model for Intel Silvermont to support
 // instruction scheduling and other instruction cost heuristics.
 //
 //===----------------------------------------------------------------------===//
@@ -19,6 +19,10 @@ def SLMModel : SchedMachineModel {
   let MicroOpBufferSize = 32; // Based on the reorder buffer.
   let LoadLatency = 3;
   let MispredictPenalty = 10;
+  let PostRAScheduler = 1;
+
+  // For small loops, expand by a small factor to hide the backedge cost.
+  let LoopMicroOpBufferSize = 10;
 
   // FIXME: SSE4 is unimplemented. This flag is set to allow
   // the scheduler to assign a default model to unrecognized opcodes.
@@ -27,7 +31,7 @@ def SLMModel : SchedMachineModel {
 
 let SchedModel = SLMModel in {
 
-// Silveromnt has 5 reservation stations for micro-ops
+// Silvermont has 5 reservation stations for micro-ops
 
 def IEC_RSV0 : ProcResource<1>;
 def IEC_RSV1 : ProcResource<1>;