Abstract
Shared-memory programmers traditionally assumed Sequential Consistency (SC), but modern systems have relaxed memory consistency. Here, the trend in languages is towards Data-Race-Free (DRF) models, where, assuming annotated synchronizations and the program being well-synchronized by those synchronizations, the hardware and compiler guarantee SC. However, legacy programs lack annotations, so even well-synchronized (legacy DRF) programs aren’t recognized. For legacy DRF programs, we can significantly prune the set of memory orderings determined by automated fence placement, by automatically identifying synchronization reads. We prove our rules for identifying them conservative, implement them within LLVM, and observe a 30% average performance improvement over previous techniques.
| Original language | English |
|---|---|
| Article number | 46 |
| Number of pages | 23 |
| Journal | ACM Transactions on Architecture and Code Optimization (TACO) |
| Volume | 12 |
| Issue number | 4 |
| DOIs | |
| Publication status | Published - 7 Jan 2016 |
Keywords
- Fence placement
- Relaxed memory models
Fingerprint
Dive into the research topics of 'Fence placement for legacy Data-Race-Free programs via synchronization read detection'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver