Linking 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: 3.
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: reading, by a computer, an object file comprising a plurality of code sequences; identifying a code sequence in the object file that specifies an offset from a base address, the offset from the base address corresponding to an offset location in a memory configured for storing one of an address of a variable and data, the identified code sequence comprising a plurality of instructions and configured
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Adve et al., "Changing Interaction of Compiler and Architecture", 1997.
- 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.