Dealing with data dependent conditions to enable general global source code transformations

Martin Palkovic, Henk Corporaal, Francky Catthoor

Research output: Contribution to journalArticleAcademicpeer-review

2 Citations (Scopus)

Abstract

Global source code transformations, such as Global Loop Transformations (GLT), are usually performed on a Geometrical Model (GM) which is very effective in dealing with complex transformations. However, this model imposes strict limitations on the input code, and it is not capable to deal with data dependent conditions. The technique presented in this paper can deal with data dependent conditions at any loop level. At the outermost loop level hot code paths are grouped together into limited number of clusters called scenarios to maximise the GLT benefit for a given code size growth. On the middle and innermost loop level we manipulate the abstract syntax tree to move the data dependent conditions out of the GLT optimisation scope. Results show up to 45.8% improvement compared to state-of-the-art.

Original languageEnglish
Pages (from-to)27-39
Number of pages13
JournalInternational Journal of Embedded Systems
Volume4
Issue number1
DOIs
Publication statusPublished - 21 Jul 2009

Keywords

  • Condition moving
  • Data dependent conditions
  • Function encapsulation
  • Global loop transformations
  • GLT
  • High-level transformations
  • Hot code paths grouping
  • Selective code duplication
  • Ssource code preprocessing

Fingerprint

Dive into the research topics of 'Dealing with data dependent conditions to enable general global source code transformations'. Together they form a unique fingerprint.

Cite this