inria-00431103, version 1
Experimental Study of Register Saturation in Basic Blocks and Super-Blocks: Optimality and heuristics
Sébastien Briais
a, 1Sid-Ahmed-Ali TOUATI 1
(2009)
Résumé : Register saturation (RS) is the exact maximal register need of all valid schedules of a data dependence graph \cite{Touati:RSILP05}. Its optimal computation is NP-complete. This report proposes two variants of heuristics for computing the acyclic RS of directed acyclic graphs (DAG). The first one improves the previous greedy-k heuristic \cite{Touati:RSILP05} in terms of approximating the RS with equivalent computation times. The second heuristic is faster, has better RS approximation than greedy-k, but scarifies the computation of saturating values. In order to evaluate the efficiency of these two heuristics, we designed an optimal combinatorial algorithm computing the optimal RS for tractable cases, which turns out to be satisfactory in practice. Extensive experiments have been conducted on thousands of data dependence graphs extracted from FFMPEG, MEDIABENCH, SPEC2000 and SPEC2006 benchmarks. Numerical results are presented to demonstrate the efficiency of the two proposed heuristics, so hence they can replace the greedy-k heuristic presented in \cite{Touati:RSILP05}. Our RS computation methods are distributed as a C independent library (\texttt{RSlib}) under LGPL licence.
- a – Université de Versailles-Saint Quentin en Yvelines
- 1 : Parallélisme, Réseaux, Systèmes d'information, Modélisation (PRISM)
- CNRS : UMR8144 – Université de Versailles Saint-Quentin-en-Yvelines
- Domaine : Informatique/Autre
- Mots-clés : Compilation – Code optimisation – Register saturation – Instruction level parallelism
- Commentaire : experimental data and free software are included (made public)
- inria-00431103, version 1
- http://hal.inria.fr/inria-00431103
- oai:hal.inria.fr:inria-00431103
- Contributeur : Sid Touati
- Soumis le : Vendredi 27 Novembre 2009, 16:51:44
- Dernière modification le : Samedi 28 Novembre 2009, 07:31:55






Documents associés
Exporter