Promotion of a child procedure in heterogeneous architecture software
AssigneeInternational Business Machines Corporation
InventorsRaul Silvera, Ettore Tiotto, Guansong Zhang
Life of this patent
Estimating the term…
Abstract
A method for promotion of a child procedure in a software application for a heterogeneous architecture, wherein the heterogeneous architecture comprises a first architecture type and a second architecture type, comprises inserting a parameter representing a parallel frame pointer to a parent procedure of the child procedure into the child procedure; and modifying a reference in the child procedure to a stack variable of the parent procedure to include an indirect access to the parent procedure via the parallel frame pointer.
Claims19
A method for promotion of a child procedure in a software application for a heterogeneous architecture, wherein the heterogeneous architecture comprises a first architecture type and a second architecture type, the method comprising:
- inserting via a microprocessor a parameter representing a parallel frame pointer to a parent procedure of the child procedure into the child procedure;
- and
- modifying via the microprocessor a reference in the child procedure to a stack variable of the parent procedure to include an indirect access to the parent procedure via the parallel frame pointer.
A computer program product comprising a non-transitory computer readable storage medium containing computer code that, when executed by a computer, implements a method for promotion of a child procedure in a software application for a heterogeneous architecture, wherein the heterogeneous architecture comprises a first architecture type and a second architecture type, wherein the method comprises:
- inserting via a microprocessor of the computer a parameter representing a parallel frame pointer to a parent procedure of the child procedure into the child procedure;
- and
- modifying via the microprocessor a reference in the child procedure to a stack variable of the parent procedure to include an indirect access to the parent procedure via the parallel frame pointer.
A system for promotion of a child procedure in a software application for a heterogeneous architecture, the system comprising:
- a first architecture type;
- a second architecture type;
- a compiler configured to compile the software application for the first architecture type and the second architecture type;
- and
- a promotion module having a microprocessor, the microprocessor of the promotion module configured to insert a parameter representing a parallel frame pointer to a parent procedure of the child procedure into the child procedure and modify a reference in the child procedure to a stack variable of the parent procedure to include an indirect access to the parent procedure via the parallel frame pointer.
Dependencies are inferred from the claim text.