ACM Transactions on Programming Languages and Systems · 1996 · 98 citations · 10 references
ComputingComputer EngineeringComputer ScienceAlgorithmsCompilersComputer ArchitectureData-flow AnalysisInstruction SelectionMemory HierarchyRegister AllocationAddress AssignmentCode Size OptimizationHeuristic AlgorithmsRegister AssignmentRegistersStorageStorage Location Assignment
DSP architectures typically provide indirect addressing modes with autoincrement and decrement. In addition, indexing mode is generally not available, and there are usually few, if any, general-purpose registers. Hence, it is necessary to use address registers and perform address arithmetic to access automatic variables. Subsuming the address arithmetic into autoincrement and decrement modes improves the size of the generated code. In this article we present a formulation of the problem of optimal storage assignment such that explicit instructions for address arithmetic are minimized. We prove that for the case of a single address register the decision problem is NP-complete, even for a single basic block. We then generalize the problem to multiple address registers. For both cases heuristic algorithms are given, and experimental results are presented.
10
Register allocation via coloring
Gregory J. Chaitin, Marc Auslander, Ashok K. Chandra et al. · Computer Languages · 1981 · 731 citations
Robert P. Wilson, Robert Stanton French, Christopher Wilson et al. · ACM SIGPLAN Notices · 1994 · 540 citations · Full text
Code generation for embedded processors
Rainer Leupers · 2002 · 155 citations