Concurrent SSA Form in the Presence of Mutual Exclusion

  • Authors:
  • Diego Novillo;Ronald C. Unrau;Jonathan Schaeffer

  • Affiliations:
  • -;-;-

  • Venue:
  • ICPP '98 Proceedings of the 1998 International Conference on Parallel Processing
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

Most current compiler analysis techniques are unable to cope with the semantics introduced by explicit parallel and synchronization constructs in parallel programs. In this paper we propose new analysis and optimization techniques for compiling explicitly parallel programs that use mutual exclusion synchronization. We introduce the CSSAME form, an extension of the Concurrent Static Single Assignment (CSSA) form that incorporates mutual exclusion into a data flow framework for explicitly parallel programs. We show how this analysis can improve the effectiveness of constant propagation in a parallel program. We also modify a dead-code elimination algorithm to work on explicitly parallel programs. Finally, we introduce lock independent code motion, a new optimization technique that attempts to minimize the size of critical sections in the program.