1 //=- ARMScheduleM3.td - ARM Cortex-M3 Scheduling Definitions -*- tablegen -*-=//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the machine model for the ARM Cortex-M3 processor.
12 //===----------------------------------------------------------------------===//
14 def CortexM3Model : SchedMachineModel {
15 let IssueWidth = 1; // Only IT can be dual-issued, so assume single-issue
16 let MicroOpBufferSize = 0; // In-order
17 let LoadLatency = 2; // Latency when not pipelined, not pc-relative
18 let MispredictPenalty = 2; // Best case branch taken cost
20 let CompleteModel = 0;