• DocumentCode
    1578417
  • Title

    Code Compilation for an Explicitly Parallel Register-Sharing Architecture

  • Author

    Gontmakher, Alex ; Mendelson, Avi ; Schuster, Assaf ; Shklover, Gregory

  • Author_Institution
    Technion - Israel Inst. of Technol., Haifa
  • fYear
    2007
  • Firstpage
    58
  • Lastpage
    58
  • Abstract
    Code generation for a multithreaded register sharing architecture is inherently complex and involves some issues absent in conventional code compilation. To approach the problem, we define a consistency contract between the program and the hardware and require the compiler to preserve the contract during code transformations. To apply the contract to compiler implementation, we develop a correctness framework that ensures preservation of the contract and use it to adjust the code optimizations for correctness under parallel code. One area that is naturally affected by register sharing is register allocation. We discuss adaptation of existing coloring-based algorithms for shared code and show how they benefit from the consistency contract. Another benefit affects the general compiler optimizations. We show that these optimizations need very little restrictions in order to be correct for parallel code, allowing the compiler to realize its potential to a high degree.
  • Keywords
    parallelising compilers; software architecture; code compilation; code generation; code transformations; coloring-based algorithms; consistency contract; explicitly parallel register-sharing architecture; multithreaded register sharing architecture; register allocation; Contracts; Hardware; Laboratories; Multithreading; Optimizing compilers; Program processors; Registers; Space technology; Surface-mount technology; Yarn; Fine grain parallelization; explicitly parallel code; multithreading; optimizations.; register allocation; register sharing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Processing, 2007. ICPP 2007. International Conference on
  • Conference_Location
    Xi´an
  • ISSN
    0190-3918
  • Print_ISBN
    978-0-7695-2933-2
  • Type

    conf

  • DOI
    10.1109/ICPP.2007.24
  • Filename
    4343865