Compiling computer programs including branch instructions
Abstract
This patent describes a method of compiling a computer program from a sequence of computer instructions including a plurality of first, set branch, instructions which each identify a target address for a branch and a plurality of associated second, effect branch instructions which each implement a branch to a target address. The method comprising the steps of: reading the computer instructions in blocks; allocating each set branch instruction to an initial node in a dominator tree, the initial node being the node which contains the corresponding effect branch instruction; for the first determining the effect of migrating set branch instructions to each of a set of ancestor nodes in the dominator tree based on a performance cost parameter and selecting an ancestor node with the best performance cost parameter; locating said set branch instruction at the selected ancestor node. Repeating the determining and locating steps for each of the set branch instructions
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of compiling a computer program from a sequence of computer instructions, the method comprising; a) reading, in blocks, said computer instructions including a plurality of first set branch instructions which each identify a target address for a branch and a plurality of associated second, effect branch instructions which each implement a branch to a target address; b) allocating each set branch instruction to an initial node in a dominator tree, said initial node being the node which contains the corresponding effect branch instruction; c) determining the effect of migrating set branc
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 15 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- An Evaluation of Branch Architectures, DeRosa et al., 14<SUP>th </SUP>annual Intern'l Symposium on Computer Architecture. Pittsburgh, PA, Jun. 2-5, 1987, pp. 10-16, XP000212074.
- Duvvuru, Sreeram, Arya, Siamak, "Evaluation of a Branch Target Address Cache", Sun Microsystems, Inc., 1995 IEEE p. 173-180, retrieved from IEEE Jul. 15, 2004.
- Gupta, Fajiv, Berson, David A., Fang, Jesse Z., Resource-Sensitive Profile-Directed Data Flow Analysis for Code optimization 1997 IEEE, p. 358-368, retrieved from IEEE Jul. 15, 2004.
- Integrating Register Allocation and Instruction Scheduling for Riscs, Bradlee et al.,Computer Architecture News, US. Association for Computing Machinery, New York, vol. 19, No. 2, Apr. 1, 1991, pp. 122-131, XP000203255.
- Moon, Soo-Mook, Ebcioglu, Kemal, "Parallelizing Nonnumerical Code with Selective Scheduling and Software Pipelining", 199 ACM, p. 853-898, retrieved from ACM database Jul. 15, 2004.