×

Replacing table of contents (TOC)-setting instructions in code with TOC predicting instructions

  • US 10,713,051 B2
  • Filed: 11/17/2017
  • Issued: 07/14/2020
  • Est. Priority Date: 09/19/2017
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of facilitating processing within a computing environment, the computer-implemented method comprising:

  • determining whether code includes an instruction sequence to compute a value of a pointer to a reference data structure;

    replacing, based on determining the code includes the instruction sequence, the instruction sequence in the code with a set instruction, the set instruction predicting the value of the pointer to the reference data structure;

    adding a verify instruction to the code to verify the value that was predicted; and

    verifying the value using the verify instruction, the verifying including;

    adding an offset obtained from the verify instruction to a first value obtained from a first location specified using the verify instruction to obtain a result;

    comparing the result to a second value obtained from a second location specified using the verify instruction; and

    determining a successful verification based on the comparing indicating a particular relationship between the result and the second value.

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