Dynamic Function Specialization

Arif Ali Ap 1, 2 Erven Rohou 2, 1
1 PACAP - Pushing Architecture and Compilation for Application Performance
Inria Rennes – Bretagne Atlantique , IRISA_D3 - ARCHITECTURE
Abstract : Function specialization is a compilation technique that consists in optimizing the body of a function for specific values of an argument. Different versions of a function are created to deal with the most frequent values of the arguments, as well as the default case. Compilers can do a better optimization with the knowledge of run-time behaviour of the program. Static compilers, however, can hardly predict the exact value/behaviour of arguments, and even profiling collected during previous runs is never guaranteed to capture future behaviour. We propose a dynamic function specialization technique, that captures the actual values of arguments during execution of the program and, when profitable, creates specialized versions and include them at runtime. Our approach relies on dynamic binary rewriting. We present the principles and implementation details of our technique, analyze sources of overhead, and present our results.
Type de document :
Communication dans un congrès
International Conference on Embedded Computer Systems: Architectures, MOdeling and Simulation, Jul 2017, Pythagorion, Samos, Greece
Liste complète des métadonnées

Littérature citée [19 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01597880
Contributeur : Erven Rohou <>
Soumis le : jeudi 28 septembre 2017 - 21:25:48
Dernière modification le : mercredi 16 mai 2018 - 11:24:13
Document(s) archivé(s) le : vendredi 29 décembre 2017 - 16:17:45

Fichier

SAMOS_2017.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01597880, version 1

Citation

Arif Ali Ap, Erven Rohou. Dynamic Function Specialization. International Conference on Embedded Computer Systems: Architectures, MOdeling and Simulation, Jul 2017, Pythagorion, Samos, Greece. 〈hal-01597880〉

Partager

Métriques

Consultations de la notice

311

Téléchargements de fichiers

91