DocumentCode :
3353058
Title :
On the optimality of register saturation
Author :
Touati, S.-A.-A.
Author_Institution :
University of Versailles
fYear :
2004
fDate :
18-18 Aug. 2004
Firstpage :
563
Lastpage :
570
Abstract :
In an optimizing compiler, the register allocation process is still a crucial phase since it allows to reduce spill code that damages the performances. The register constraints are generally taken into account during the instruction scheduling phase of an acyclic data dependence graph (DAG): any schedule must minimize the register requirement. However, in a previous work [13], we introduced and mathematically studied the register saturation (RS) concept. It consists of computing the exact upper-bound of the register need for all the valid schedules, independently of the functional unit constraints. The goal of RS is to decouple register constraints from instruction scheduling. In this paper, we continue our theoretical efforts and we present two main results. First, we give an exact solution with integer linear programming for both the problems of computing the RS of a DAG and reducing it. Our integer program brings a new way to model register constraints that allows us to produce the lowest number of constraints and variables in the literature (till now). Indeed, given a DAG with n nodes and m arcs, we need O(n2) integer variables and O(m + n2) linear constraints, which is better than the actual size complexity in the literature that model register constraints. Second, we prove that the problem of reducing the register saturation is NP-hard.
Keywords :
Banking; Constraint optimization; Delay; Dynamic scheduling; Integer linear programming; Laboratories; Optimizing compilers; Parallel processing; Processor scheduling; Registers;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Processing Workshops, 2004. ICPP 2004 Workshops. Proceedings. 2004 International Conference on
Conference_Location :
Montreal, QC, Canada
ISSN :
1530-2016
Print_ISBN :
0-7695-2198-3
Type :
conf
DOI :
10.1109/ICPPW.2004.1328069
Filename :
1328069
Link To Document :
بازگشت