Compiling method, program, and information processing apparatus
Abstract
A method, program, and apparatus for optimizing compiled code using a dynamic compiler. The method includes the steps of: generating intermediate code from a trace, which is an instruction sequence described in machine language; computing an offset between an address value, which is a base point of an indirect branch instruction, and a start address of a memory page, which includes a virtual address referred to by the information processing apparatus immediately after processing a first instruction; determining whether an indirect branch instruction that is subsequent to the first instruction causes processing to jump to another memory page, by using a value obtained from adding the offset to a displacement made by the indirect branch instruction; and optimizing the intermediate code by using the result of the determining step.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A compiling method executed by an information processing apparatus for compiling a trace comprising the steps of: generating an intermediate code from said trace, which is an instruction sequence described in machine language; computing an offset between (i) an address value, which is a base point of an indirect branch instruction, and (ii) a start address of a memory page, which includes a virtual address referred to by said information processing apparatus, wherein said virtual address is referred to immediately after processing a first instruction contained in said intermediate code, wherei
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (3)
- Bala et al., "Dynamo: A Transparent Dynamic Optimization System," ACM, 2000, 12pg.
- Hiser et. al., "Evaluating Indirect Branch Handling Mechanisms in Software Dynamic Translation Systems," Paper, Mar. 2007, pp. 61-73, International Symposium on CGO '07.
- Jeang et al., "A Single-Stream Pipelined Instruction Decompression System for Embedded Microprocessors," IEEE, 2006, 4pg.