A data processing system for optimising a machine code instruction stream
Abstract
A method operable within an optimising compiler to move certain range check instructions out of single entry strongly connected regions or loops and into linear regions of the instruction stream whereby computational efficiency is increased with no loss of program accuracy. The method comprises placing a range check trap instruction into the head node of the SCR provided there is only one conditional exit from the SCR, modifying the conditional exit test based on the value of the induction variable v, and inserting a new check at the loop exit point(s) to insure that the induction variable has reached the value it would have obtained in the original - (unmodified) program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 1.
Claims (0)
No claim text indexed for this record.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| EP 1,049,011 A3 | Method and apparatus for handling exceptions as normal control flow | — | 0 |
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 4,656,583 A | Method for improving global common subexpression elimination and code motion in an optimizing compiler | 1987 | 43 |
Non-Patent Literature (5)
- A AHO; J ULLMAN: "Principles of Compiler Design", 1977, ADDISON-WESLEY
- J T SCHWARTZ: "On programming - An Interim Report on the SETL Language. Installment II: The SETL Language and Examples ot Its Use", COURANT INSTITUTE OF MATHEMATICAL SCIENCES, 1973, pages 293 - 310
- J WELSH: "Economic Range Checks in Pascal", SOFTWARE - PRACTICE AN EXPERIENCE, vol. 8, 1978, pages 85 - 91
- V MARKSTEIN; J COCKE; P MARKSTEIN: "Optimisation of Range Checking, Proc. of the SIGPLAN", SYMPOSIUM ON COMPILER CONSTRUCTION, 1982, pages 114 - 119
- W HARRISON: "Compiler Analysis of the Value Ranges for Variables", IEEE TRANSACTIONS OF SOFTWARE ENGINEERING, May 1974 (1974-05-01), pages 243 - 250