Invention Grant
- Patent Title: Global entry point and local entry point for callee function
-
Application No.: US14263135Application Date: 2014-04-28
-
Publication No.: US09329875B2Publication Date: 2016-05-03
- Inventor: Michael K. Gschwind , Ulrich Weigand
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Agent Steven Bennett
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/445 ; G06F9/45

Abstract:
Embodiments relate to a global entry point and a local entry point for a callee function. An aspect includes executing, by a processor, a function call from a calling function to the callee function. Another aspect includes, based on the function call being a direct and external function call, entering the callee function at the global entry point and executing prologue code in the callee function that calculates and stores a table of contents (TOC) value for the callee function in a TOC register. Another aspect includes, based on the function call being a direct and local function call, entering the callee function at the local entry point, wherein entering the callee function at the local entry point skips the prologue code. Another aspect includes, based on the function call being an indirect function call, entering the callee function at the global entry point and executing the prologue code.
Public/Granted literature
- US20150309810A1 GLOBAL ENTRY POINT AND LOCAL ENTRY POINT FOR CALLEE FUNCTION Public/Granted day:2015-10-29
Information query