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; defining a set of target registers associated with each block for holding target addresses for the set branch instructions in that block; defining as a live range of blocks a set of blocks for which a target address of a particular set branch instruction is in a live state; and using the set of target registers and the live range to ensure that target registers holding target addresses in a live state are not available for other uses.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 13.
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: 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; defining a set of target registers associated with each block for holding target addresses for the set branch instructions in that block; defining as a live range of blocks a set of blocks for which a target address of a part
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (10)
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.
- 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.
- Register Allocation over the Program Dependence Graph, Norris et al., ACM Sigplan Notices, US. Association for Computer Machinery, New York, vol. 29, No. 6, Jun. 1, 1994, pp. 266-277, XP000450423.
- Standard European Search Report from British patent application No. 0025052, filed Oct. 12, 2001.
- Standard European Search Report from British patent application No. 0025053, filed Oct. 12, 2001.