Presenting machine instructions in a machine-independent tree form suitable for post-link optimizations
Abstract
A machine-independent representation of computer instructions can serve as a standard for machine instruction description that is suitable for post-link transformation tools, such as post-link optimizers, and for education of users. In one embodiment the instructions are presented as expression trees in a XML file. An optimizer operates on the transformed code representations, after which optimized code is re-transformed into machine-readable code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for computer program optimization, comprising the steps of: representing first machine instructions of a first program comprising post-linked execution code having a function therein as respective expression trees having nodes and leaves and edges, the nodes representing assignment operators, calculation operators, and resolution operators, and logical equivalence operators, and resources, the edges representing execution paths between the nodes, and the leaves representing machine resources and operations; reorganizing at least a portion of the expression trees in the function of the
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 |
|---|---|---|---|
| US 11,321,236 B2 | Reduced instructions to generate global variable addresses | 2022 | 0 |
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- Aho et al., "Optimal Code Generation for Expression Trees", Journal of the Association for Computing Machinery, vol. 23, No. 3, Jul. 1976, pp. 488-501.
- B. De Bus et al., "Post-pass compaction techniques", Communications of the ACM, v 46, n 8, Aug. 2003, p. 41-6.
- B. De Sutter et al., "Sifting out the mud: Low level C++ code reuse", Proceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA, 2002, p. 275-29.
- B. Wess, Automatic Instruction Code Generation Based On Trellis Diagrams, published by IEEE, 1992, pp. 645-648.
- D. Ung et al., "Dynamic re-engineering of binary code with run-time feedbacks", Proceedings Seventh Working Conference on Reverse Engineering, 2000, p. 2-10.