Method and apparatus for predicting and scheduling copy instruction for software pipelined loops
Abstract
A method for scheduling instructions for execution on a computer system includes scanning a plurality of loop instructions that are modulo scheduled to identify a first instruction and a second instruction that both utilize a register of the computer system upon execution of the plurality of instructions. The loop has a first initiation interval. The first instruction defines a first value of the register in a first iteration of the loop and the second instruction redefines the value of the register to a second value in a subsequent iteration of the loop prior to a use of the first value in the first iteration of the loop. A copy instruction is inserted in the loop instructions to copy the first value prior to execution of the second instruction. A schedule is determined after the insertion of the one or more copy instructions giving a second initiation interval.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for scheduling instructions for execution on a computer system, the method comprising: scanning a plurality of loop instructions of a loop that are modulo scheduled to identify a first loop instruction and a second loop instruction of the plurality of loop instructions that both utilize a register of the computer system upon execution of the plurality of loop instructions, the loop having a first initiation interval, the first loop instruction defining a first register value of the register in a first iteration of the loop, the second instruction defining a second register value to th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- Hagog, Mostafa, and Ayal Zaks. “Swing modulo scheduling for gcc.” In Proceedings of the 2004 GCC Developers' Summit, pp. 55-64. 2004.
- Huff, Richard A. “Lifetime-sensitive modulo scheduling.” In ACM SIGPLAN Notices, vol. 28, No. 6, pp. 258-267. ACM, 1993.
- Llosa, Josep, Antonio González, Eduard Ayguadé, and Mateo Valero. “Swing module scheduling: a lifetime-sensitive approach.” In Proceedings of the 1996 Conference on Parallel Architectures and compilation Technique, pp. 80-86 IEEE, 1996.
- Rau, B. Ramakrishna. “Iterative modulo scheduling: An algorithm for software pipelining loops.” In Proceedings of the 27th annual international symposium on Microarchitecture, pp. 63-74. ACM, 1994.
- Stoutchinin, Artour. “An integer linear programming model of software pipelining for the MIPS R8000 processor.” In International Conference on Parallel Computing Technologies, pp. 121-135. Springer, Berlin, Heidelberg, 1997.