Hardware and software solutions to divergent branches in a parallel pipeline
Abstract
A system and method for efficiently processing instructions in hardware parallel execution lanes within a processor. In response to a given divergent point within an identified loop, a compiler arranges instructions within the identified loop into very large instruction words (VLIW's). At least one VLIW includes instructions intermingled from different basic blocks between the given divergence point and a corresponding convergence point. The compiler generates code wherein when executed assigns at runtime instructions within a given VLIW to multiple parallel execution lanes within a target processor. The target processor includes a single instruction multiple data (SIMD) micro-architecture. The assignment for a given lane is based on branch direction found at runtime for the given lane at the given divergent point. The target processor includes a vector register for storing indications indicating which given instruction within a fetched VLIW for an associated lane to execute.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer readable storage medium storing at least one program configured for execution by at least one processor of a computer system, wherein the at least one program comprising instructions executable to: identify loops and corresponding basic blocks within a plurality of program instructions; and in response to detecting a given divergence point within an identified loop of the plurality of program instructions: arrange a plurality of instructions within the identified loop into a plurality of variable length very large instruction words (VLIWs), wherein at least one variab
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (28)
Non-Patent Literature (5)
- Brunie, et al., "Simultaneous Branch and Warp Interweaving for Sustained GPU Performance", Proceedings of the 39th Annual International Symposium on Computer Architecture, Jun. 9, 2012, pp. 49-60, IEEE Computer Society, Washington, DC, USA.
- Extended European Search Report in European Application No. 14746711.2, dated Nov. 25, 2016, 10 pages.
- Fung, Wilson W.L. et al., "Dynamic Warp Formation and Scheduling for Efficient GPU Control Flow", In Proceedings of the 40th Annual International Symposium on Microarchitecture, 2007, 12 pages.
- International Search Report and Written Opinion in International Application No. PCT/US2014/013455, dated May 30, 2014, 10 pages.
- Krashinsky, Ronny et al., "The Vector-Thread Architecture", In Proceedings of the 31st Annual International Symposium on Computer Architecture, IEEE, 2004, pp. 84-90.