×

Predicting a table of contents pointer value responsive to branching to a subroutine

  • US 10,620,955 B2
  • Filed: 09/19/2017
  • Issued: 04/14/2020
  • Est. Priority Date: 09/19/2017
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product for facilitating processing within a computing environment, the computer program product comprising:

  • a computer readable storage medium readable by a processing circuit and storing instructions for performing a method comprising;

    calling a subroutine from a calling module executing on a processor;

    predicting, based on calling the subroutine, a value of a pointer to a reference data structure, the predicting being performed prior to executing a sequence of one or more instructions in the subroutine to compute the value of the pointer;

    determining whether a current instruction in the subroutine corresponds to the sequence of one or more instructions to compute the value of the pointer;

    inserting in the code, based on determining the current instruction corresponds to the sequence of one or more instructions to compute the value, a check instruction to check the prediction of the value, the inserting replacing the sequence of one or more instructions; and

    using the value that is predicted to access the reference data structure to obtain a variable value for a variable of the subroutine.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×