Towards a source level compiler: Source level modulo scheduling

Yosi Ben-Asher, Danny Meisler

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Modulo scheduling is a major optimization of high performance compilers wherein the body of a loop is replaced by an overlapping of instructions from different iterations. Hence the compiler can schedule more instructions in parallel than in the original option. Modulo scheduling, being a scheduling optimization, is a typical backend optimization relying on detailed description of the underlying CPU and its instructions to produce a good scheduling. This work considers the problem of applying modulo scheduling at source level as a loop transformation, using only general information of the underlying CPU architecture. By doing so it is possible: a) Create a more retargeble compiler as modulo scheduling is now applied in source level, b) Study possible interactions between modulo scheduling and common loop transformations. c) Obtain a source level optimizer whose output is readable to the programmer, yet its final output can be efficiently compiled by a relatively "simple" compiler. Experimental results show that source level modulo scheduling can improve performance also when low level modulo scheduling is applied by the final compiler, indicating that high level modulo scheduling and low level modulo scheduling can co-exist to improve performance. An algorithm for source level modulo scheduling modifying the abstract syntax tree of a program is presented. This algorithm has been implemented in an automatic parallelizer (Tiny). Preliminary experiments yield runtime and power improvements also for the ARM CPU for embedded systems.

Original languageEnglish
Title of host publicationProceedings of the 2006 International Conference on Parallel Processing Workshops, ICPP 2006
Pages298-305
Number of pages8
DOIs
StatePublished - 2006
Event2006 International Conference on Parallel Processing Workshops, ICPP 2006 - Columbus, OH, United States
Duration: 14 Aug 200618 Aug 2006

Publication series

NameProceedings of the International Conference on Parallel Processing Workshops
ISSN (Print)1530-2016

Conference

Conference2006 International Conference on Parallel Processing Workshops, ICPP 2006
Country/TerritoryUnited States
CityColumbus, OH
Period14/08/0618/08/06

ASJC Scopus subject areas

  • General Engineering

Fingerprint

Dive into the research topics of 'Towards a source level compiler: Source level modulo scheduling'. Together they form a unique fingerprint.

Cite this