loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Ninth International Conference on Parallel Architectures and Compilation Techniques (PACT'00)
Hiding Relaxed Memory Consistency with Compilers
Philadelphia, Pennsylvania
October 15-October 19
ISBN: 0-7695-0622-4
Jaejin Lee, Michigan State University
David A. Padua, University of Illinois at Urbana-Champaign
We present a compiler technique, which is based on Shasha and Snir's delay set analysis, to hide the underlying relaxed memory consistency model for an optimizing compiler for explicitly parallel programs. The compiler presents programmers with a sequentially consistent view of the underlying machine irrespective of whether it follows a sequentially consistent model or a relaxed model. To hide the underlying relaxed memory consistency model and to guarantee sequential consistency, our algorithm inserts fence instructions by identifying memory-barrier nodes. We r educe the number of fence instructions by exploiting the ordering constraints of the underlying memory consistency model and the property of fence and synchronization operations. We introduce dominators with respect to a node in a control flow graph to identify memory-barrier nodes. We also show that minimizing the number of memory-barrier nodes by using dominators with respect to a node is NP-hard.
Citation:
Jaejin Lee, David A. Padua, "Hiding Relaxed Memory Consistency with Compilers," pact, pp.111, Ninth International Conference on Parallel Architectures and Compilation Techniques (PACT'00), 2000
Usage of this product signifies your acceptance of the Terms of Use.