Skip to Main content Skip to Navigation
New interface
Conference papers

Is dynamic compilation possible for embedded systems ?

Abstract : 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.
Document type :
Conference papers
Complete list of metadata

Cited literature [6 references]  Display  Hide  Download
Contributor : Henri-Pierre Charles Connect in order to contact the contributor
Submitted on : Tuesday, June 9, 2015 - 6:48:19 PM
Last modification on : Thursday, February 17, 2022 - 10:08:04 AM
Long-term archiving on: : Tuesday, April 25, 2017 - 6:10:07 AM


Files produced by the author(s)



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⟩



Record views


Files downloads