1//=- ARMScheduleM3.td - ARM Cortex-M3 Scheduling Definitions -*- tablegen -*-=// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file defines the machine model for the ARM Cortex-M3 processor. 11// 12//===----------------------------------------------------------------------===// 13 14def 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 19 20 let CompleteModel = 0; 21} 22