Executing optimized local entry points
Abstract
Embodiments relate to using a local entry point with an indirect call function. More specifically, an indirect call function configuration comprises a first application module having a target function of the indirect function call, a second application module with a symbolic reference to the target function of the indirect function call, and a third application module to originate an indirect function call. A compiler is provided to determine and indicate in the program code that the function pointer value resulting from a non-call reference of a function symbol is solely used to perform indirect calls in the same module, e.g. local-use-only. A linker or loader can read the indication the compiler made in the program code. The linker or loader use the local entry point associated with the target function if the target function is defined in the same module as the reference and is local-use-only.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system comprising: a memory; a processor, communicatively coupled to the memory; an indirect function call configuration, the configuration to define a first application module with a target function of an indirect function call, a second application module with a symbolic reference to the target function of the indirect function call, and a third application module to originate the indirect function call; and the processor executing program code from an application module loaded into memory, the loaded application selected from the group consisting of: the first application module,
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 (30)
Non-Patent Literature (5)
- Bartlett; Assembly Language for Power Architecture, Part 4: Function Calls and the PowerPC 64-Bit ABI, Feb. 28, 2007, http://www.ibm.com/developerworks/library/l-powasm4/.
- Debray et al., "Compiler Techniques for Code Compaction," Transactions on Programming Languages and Systems, vol. 22, No. 2, Mar. 2000, pp. 378-415.
- Ho et al., Optimizing the Performance of Dynamically-Linked Programs, Silicon Graphics, Inc., USENIX, 1995.
- Jose et al., Cause Clue Clauses: Error Localization using Maximum Satisfiability, University of California, Los Angeles, 2011, pp. 1-10.
- Lin et al., Improve the Performance of Function Calls with Open Power ABI, Anatomy of Function Calls with OpenPower ABI Supplement, Jul. 10, 2015, ibm.com/developerWorks/.