Method for generating short form instructions in an optimizing compiler
Abstract
A method for improving the quality of code generated by a compiler or assembler, for a target machine that has short and long forms of some of its instructions with the short forms executing faster or occupying less space. The method first determines which bits of the result of each computational instruction are significant, by a backwards pass over the program that is similar to liveness analysis. Then the significant bits thus computed are used to guide the code selection process to select the most efficient instruction that computes the correct result in all the significant bit positions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 59.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a high speed electronic computing system having an optimizing compiler or assembler program resident in the system memory together with a program to be optimized, the improvement which comprises a code optimizing method operable within said optimizing compiler or assembler after the register allocation phase for performing significant bit analysis, the results of said analysis being utilized during the final code generation phase of the compiler operations for generating the most efficient form of computer instruction available for producing the required result, said method comprising; esta
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 59 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (2)
- Programming the M6800, by Tim King et al., copyrighted 1983 (Addison Wesley Pub. Co.), pp. 1 89, 124 145.
- Programming the M6800, by Tim King et al., copyrighted 1983 (Addison--Wesley Pub. Co.), pp. 1-89, 124-145.