Methods and systems to vectorize scalar computer program loops having loop-carried dependences
Abstract
Methods and systems to convert a scalar computer program loop having loop-carried dependences into a vector computer program loop are disclosed. One such method includes, replacing the scalar recurrence operation in the scalar computer program loop with a first vector summing operation and a first vector recurrence operation. The first vector summing operation is to generate a first running sum and the first vector recurrence operation is to generate a first vector. In some examples, the first vector recurrence operation is based on the scalar recurrence operation. Disclosed methods also include inserting: 1) a renaming operation to rename the first vector, 2) a second vector summing operation that is to generate a second running sum; and 3) a second vector recurrence operation to generate a second vector based on the renamed first vector.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method to convert a scalar computer program loop having loop-carried dependences arising from a scalar recurrence operation into a vector computer program loop, the method comprising: in response to receiving the scalar computer program loop having a scalar recurrence operation that defines a variable based on the variable and an addend, replacing the scalar recurrence operation in the scalar computer program loop with a first vector summing operation and a first vector recurrence operation, the first vector summing operation to generate a first running sum vector and the first vector recurr
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Bik et al., "Efficient Exploitation of Parallelism on Pentium III and Pentium 4 Processor-Based Systems", 2001 (9 pages).
- European Patent Office, "European Search Report", issued in connection with European Patent Application No. 13877658.8, dated Sep. 16, 2016 (12 pages).
- Horwitz et al., "Dependence analysis for pointer variables", ResearchGate, ACM SIGPLAN Notices, vol. 24, No. 7, Jul. 1989 (14 pages).
- International Searching Authority, "International Preliminary Report on Patentability", issued in connection with International Patent Application No. PCT/US2013/032111, dated Sep. 15, 2015 (6 pages).
- Krall et al., "Compilation Techniques for Multimedia Processors", International Journal of Parallel Programming, Aug. 2000, vol. 28, Issue 4, (pp. 347-361).