Dynamic Compilation for Transprecision Applications on Heterogeneous Platform

This article describes a software environment called <i>HybroGen</i>, which helps to experiment binary code generation at run time. As computing architectures are getting more complex, the application performance is becoming data-dependent. The proposed experimental platform is helpful i...

Fuld beskrivelse

Bibliografiske detaljer
Main Authors: Julie Dumas, Henri-Pierre Charles, Kévin Mambu, Maha Kooli
Format: Article
Sprog:English
Udgivet: MDPI AG 2021-06-01
Serier:Journal of Low Power Electronics and Applications
Fag:
Online adgang:https://www.mdpi.com/2079-9268/11/3/28
Beskrivelse
Summary:This article describes a software environment called <i>HybroGen</i>, which helps to experiment binary code generation at run time. As computing architectures are getting more complex, the application performance is becoming data-dependent. The proposed experimental platform is helpful in programming applications that can be reconfigured at run time in order to be adapted for a new data environment. The <i>HybroGen</i> platform is adapted to heterogeneous architectures and can generate instructions for different targets. This platform allows to go farther than classical JIT compilation in many directions: the code generator is smaller by three orders of magnitude and faster by three orders of magnitude, compared to JIT (Just-In-Time) platforms, and allows making code transformation that is impossible in traditional compilation schemes, such as code generation for non von Neumann accelerators or dynamic code transformations for transprecision. The latter is illustrated in a code example: the square root with Newton’s algorithm. We also illustrate the proposed <i>HybroGen</i> platform with two other examples: a multiplication with a specialization on a value determined at run time, and a conversion of degrees Celsius to degrees Fahrenheit. This article presents a proof of concept of the proposed <i>HybroGen</i> platform in terms of its functionalities, and demonstrates the working status.
ISSN:2079-9268