• DocumentCode
    2200505
  • Title

    Embedding functional simulators in compilers for debugging and profiling

  • Author

    Delavallée, Thibault ; Manet, Philippe ; Vandierendonck, Hans ; Legat, Jean-Didier

  • Author_Institution
    ICTEAM Inst., Univ. Catholique de Louvain, Louvain-la-Neuve, Belgium
  • fYear
    2011
  • fDate
    May 30 2011-June 1 2011
  • Firstpage
    55
  • Lastpage
    58
  • Abstract
    In embedded systems, achieving good performances for signal processing applications is crucial for power management. Good compilation is required to have maximal use of the available processing capabilities. Compiling for communication-exposed architectures such as ADRES, TRIPS and Wavescalar is however a complex task. Dataflow graphs are mapped on execution unit grids in order to increase the instruction-level parallelism while minimizing communication. Complex algorithms and the large number of code optimizations make debugging hard for the developer. Moreover, iterative approaches are used to optimize the compiled code quality. This paper proposes to embed functional simulators in compilers in order to enable debugging and profiling-driven iterative compilation. Debugging of optimization passes is achieved by means of functional simulators, running the original code and the transformed code. Intermediate and output values results comparison allows to verify the correctness of the optimization pass. Using embedded simulators also allows to extract code and execution characteristics convenient for iterative compilation. We present the mechanisms required to control those simulators. A case study based on the TRIPS processor demonstrates the usefulness of our approach.
  • Keywords
    data flow graphs; embedded systems; iterative methods; optimisation; program compilers; program debugging; program diagnostics; ADRES; TRIPS; Wavescalar; code optimizations; communication-exposed architectures; dataflow graphs; debugging; embedded systems; functional simulators; instruction-level parallelism; optimization pass; profiling-driven iterative compilation; Computer architecture; Debugging; Embedded systems; Optimization; Processor scheduling; Registers; USA Councils; compiler; debug; embedded systems; profiling; simulation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Faible Tension Faible Consommation (FTFC), 2011
  • Conference_Location
    Marrakech
  • Print_ISBN
    978-1-61284-646-0
  • Type

    conf

  • DOI
    10.1109/FTFC.2011.5948917
  • Filename
    5948917