Dynamic alias checking with transactional memory
Abstract
An approach to dynamic run-time alias checking comprising creating a main thread and a helper thread, computing an optimized first region of code in a rollback-only transactional memory associated with the main thread checking for one or more alias dependencies in an un-optimized first region of code, responsive to a determination in a predetermined amount of time that no alias dependencies are present in the un-optimized first region of code, committing a transaction and responsive to at least one of a failure to determine results of the check for one or more alias dependencies in the predetermined amount of time and a determination in the predetermined amount of time that alias dependencies are present in the un-optimized first region of code, performing a rollback of the transaction and executing the un-optimized first region of code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for alias dependence checking during speculative performance compiler optimizations using transactional memory rollbacks, the method comprising: creating, by a dependency checker, a main thread and a helper thread of a transaction, wherein the main thread and the helper thread are executed in parallel, and wherein a Load and Reserve/Store Conditional (larx/stcx) instruction enables a synchronization mechanism between the main thread and the helper thread; performing, by the dependency checker, a speculative computation of an optimized version of a first region of code in a rollback-on
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- "Version 2.07", IBM Power ISA™-Book II , May 3, 2013, 1 page.
- “Version 2.07”, IBM Power ISA™—Book II , May 3, 2013, 1 page.
- Ahn et al., "DeAliaser: Alias Speculation Using Atomic Region Support", ASPLOS'13, Mar. 16-20, 2013, Houston, Texas, USA. Copyright © 2013 ACM 978-1-4503-1870-9/13/03, pp. 167-180.
- Bhattacharyya et al., "Automatic Speculative Parallelization of Loops Using Polyhedral Dependence Analysis", COSMIC '13 Shenzhen, China, Copyright 2013 ACM 978-1-4503-1971-3/13/02, 9 pages.
- Cain et al., "Robust Architectural Support for Transactional Memory in the Power Architecture", ISCA '13 Tel-Aviv, Israel Copyright 2013 ACM 978-1-4503-2079-5/13/06, pp. 225-236.