Compiling code for an enhanced application binary interface (ABI) with decode time instruction optimization
Abstract
A code sequence made up multiple instructions and specifying an offset from a base address is identified in an object file. The offset from the base address corresponds to an offset location in a memory configured for storing an address of a variable or data. The identified code sequence is configured to perform a memory reference function or a memory address computation function. It is determined that the offset location is within a specified distance of the base address and that a replacement of the identified code sequence with a replacement code sequence will not alter program semantics. The identified code sequence in the object file is replaced with the replacement code sequence that includes a no-operation (NOP) instruction or having fewer instructions than the identified code sequence. Linked executable code is generated based on the object file and the linked executable code is emitted.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product comprising a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: identifying, by a computer, a code sequence configured to perform a variable address reference table function including an access to a variable at an offset outside of a location in a variable address reference table, the code sequence comprising an internal representation (IR) of a first instruction and an IR of a second instruction, the second instruction dependent on the first instruction; modify
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Adve et al., "Changing Interaction of Compiler and Architecture", 1997, 8 pages.
- Bednarski et al.; "Energy-Optimal Integrated VLIW Code Generation"; Proceedings of 11th Workshop on Compliers for Parallel Computers; 2004; pp. 1-14.
- Butts et al.; "Use-Based Register Caching with Decoupled Indexing"; Proceedings of the 31st Annual Symposium on Computer Architecture; Jun. 2004; pp. 1-12.
- Cruz et al.; "Multiple-Banked Register File Architecture"; Proceedings of the 27th International Symposium on Computer Architecture; Jun. 2000; pp. 316-325.
- Ebcioglu et al.; "Optimizations and Oracle Parallelism with Dynamic Translation"; Proceeding MICRO 32 Proceedings of the 32nd Annual ACM/IEEE International Symposium on Microarchitecture; 1999; pp. 1-12.