Is dynamic compilation possible for embedded systems ? - CEA - Commissariat à l’énergie atomique et aux énergies alternatives Accéder directement au contenu
Communication Dans Un Congrès Année : 2015

Is dynamic compilation possible for embedded systems ?

Résumé

JIT compilation and dynamic compilation are powerful techniques allowing to delay the final code generation to the run-time. There is many benefits : improved portability, virtual machine security, etc. Unforturnately the tools used for JIT compilation and dynamic compilation does not met the classical requirement for embedded platforms: memory size is huge and code generation has big overheads. In this paper we show how dynamic code specialization (JIT) can be used and be beneficial in terms of execution speed and energy consumption with memory footprint kept under control. We based our approaches on our tool de-Goal and on LLVM, that we extended to be able to produce lightweight runtime specializers from annotated LLVM programs. Benchmarks are manipulated and transformed into templates and a specialization routine is build to instantiate the routines. Such approach allows to produce efficient special-izations routines, with a minimal energy consumption and memory footprint compare to a generic JIT application. Through some benchmarks, we present its efficiency in terms of speed, energy and memory footprint. We show that over static compilation we can achieve a speed-up of 21 % in terms of execution speed but also a 10 % energy reduction with a moderate memory footprint.
Fichier principal
Vignette du fichier
Charles.pdf (680.64 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

cea-01162180 , version 1 (09-06-2015)

Identifiants

Citer

Henri-Pierre Charles, Victor Lomüller. Is dynamic compilation possible for embedded systems ?. SCOPES ’15, June 01 - 0, Jun 2015, Sanckt Goar, Germany. ⟨10.1145/2764967.2782785⟩. ⟨cea-01162180⟩
231 Consultations
332 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More