Method and apparatus for subroutine call-return prediction
AssigneeInternational Business Machines Corporation
InventorRavindra K. Nair
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorRavindra K. Nair
Estimating the term…
A method for associating subroutine calls with corresponding targets includes the step of maintaining a first table of entries. Each entry in the first table includes: a first table first address identifying an entry point address for a corresponding subroutine; and a first table second address identifying a return address of a return for the corresponding subroutine. A second table of entries is also maintained. Each entry in the second table includes: a second table first address identifying a return address of a return for a respective subroutine called by a corresponding subroutine call instruction; a second table second address identifying a target address of the return for the respective subroutine; and a second table third address identifying an entry point address for the respective subroutine. It is determined whether the second table stores an entry whose second table first address corresponds to a return address of a return for a considered subroutine. If so, a target address of the return for the considered subroutine is predicted to be the second table second address of the corresponding entry.
A method for associating subroutine return branches with corresponding targets, comprising the steps of:
An apparatus for associating subroutine return branches with corresponding targets, comprising:
A method for associating subroutine calls with corresponding targets, comprising the steps of:
Dependencies are inferred from the claim text.