Methods and apparatuses for compiler-creating helper threads for multi-threading
Abstract
Methods and apparatuses for compiler-created helper thread for multi-threading are described herein. In one embodiment, exemplary process includes identifying a region of a main thread that likely has one or more delinquent loads, the one or more delinquent loads representing loads which likely suffer cache misses during an execution of the main thread, analyzing the region for one or more helper threads with respect to the main thread, and generating code for the one or more helper threads, the one or more helper threads being speculatively executed in parallel with the main thread to perform one or more tasks for the region of the main thread. Other methods and apparatuses are also described.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: analyzing source codes of a main thread to identify helper thread candidate code regions, the source codes including one or more code regions, each code region corresponding to a sequence of instructions representing an iteration loop in the source codes, the one or more code regions sharing at least one instruction in the source codes; estimating a communication cost to communicate live-in information computed by the main thread from the main thread to a helper thread for each code region; estimating a computation cost to compute live-in information by the helper thread
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Agrawal et al., "Dynamic Program Slicing", Proceedings of the ACM SIGPLAN'90 Conference on Programming Language Design and Implementation, While Plains, New York, Jun. 20-22, 1990, pp. 246-256.
- Ammons et al., "Exploiting Hardware Performance Counters with Flow and Context Sensitive Profiling", 1997, ACM SIGPLAN, pp. 85-96.
- Annavaram et al., "Data Prefetching by Dependence Graph Precomputation", IEEE 2001, pp. 52-61.
- Chappell et al., "Simultaneous Subordinate Microthreading (SSMT)", IEEE,1999, pp. 186-195.
- Collins et al., "Dynamic Speculative Precomputation", IEEE 2001, pp. 306-317.