Mitosis compiler: an infrastructure for speculative threading based on pre-computation slices

  • Authors:
  • Carlos García Quiñones;Carlos Madriles;Jesús Sánchez;Pedro Marcuello;Antonio González;Dean M. Tullsen

  • Affiliations:
  • Universitat Politècnica de Catalunya, Barcelona;Universitat Politècnica de Catalunya, Barcelona;Universitat Politècnica de Catalunya, Barcelona;Universitat Politècnica de Catalunya, Barcelona;Universitat Politècnica de Catalunya, Barcelona;University of California, San Diego, CA

  • Venue:
  • Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Speculative parallelization can provide significant sources of additional thread-level parallelism, especially for irregular applications that are hard to parallelize by conventional approaches. In this paper, we present the Mitosis compiler, which partitions applications into speculative threads, with special emphasis on applications for which conventional parallelizing approaches fail.The management of inter-thread data dependences is crucial for the performance of the system. The Mitosis framework uses a pure software approach to predict/compute the thread's input values. This software approach is based on the use of pre-computation slices (p-slices), which are built by the Mitosis compiler and added at the beginning of the speculative thread. P-slices must compute thread input values accurately but they do not need to guarantee correctness, since the underlying architecture can detect and recover from misspeculations. This allows the compiler to use aggressive/unsafe optimizations to significantly reduce their overhead. The most important optimizations included in the Mitosis compiler and presented in this paper are branch pruning, memory and register dependence speculation, and early thread squashing.Performance evaluation of Mitosis compiler/architecture shows an average speedup of 2.2.