IP Library › Granted Patent US 10,884,929
Granted Patent B2
US 10,884,929 · App. 15/708,207 · Granted Jan 5, 2021

Set table of contents (TOC) register instruction

Inventors: Michael K. Gschwind (Chappaqua, NY); Valentina Salapura (Chappaqua, NY)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F12/0826G06F2212/62
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,884,929
App. No.
15/708,207
Granted
Jan 5, 2021
Kind
B2
Abstract

A Set Table of Contents (TOC) Register instruction. An instruction to provide a pointer to a reference data structure, such as a TOC, is obtained by a processor and executed. The executing includes determining a value for the pointer to the reference data structure, and storing the value in a location (e.g., a register) specified by the instruction.

Claims (47)

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

a memory; and

a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising:

obtaining, by the processor, an instruction to execute, the instruction to provide a pointer to a reference data structure, the reference data structure to be used to populate variables included within code of a program; and

executing the instruction, the executing comprising:

determining a value for the pointer to the reference data structure, the value to be used to access the reference data structure that is to be used to populate variables included within the code; and

storing the value in a location specified by the instruction,

wherein the determining and the storing are performed as part of executing the instruction.

2. The computer system of claim 1 , wherein the location comprises a register specified by the instruction.

3. The computer system of claim 1 , wherein the determining the value comprises:

checking a reference data structure pointer cache for an entry that includes the value; and

performing the storing, based on finding the entry.

4. The computer system of claim 3 , wherein the determining the value further comprises performing, based on the value not being located in the reference data structure pointer cache, cache miss handling to determine the value and to store the value.

5. The computer system of claim 3 , wherein the determining the value further comprises:

raising, by the processor, a trap to a handler, based on the value not being located in the reference data structure pointer cache,

obtaining, by the handler, the value from a data structure populated with reference data structure pointer values; and

performing the storing by the handler.

6. The computer system of claim 5 , wherein the method further comprises storing the value in the reference data structure pointer cache.

7. The computer system of claim 1 , wherein the determining the value comprises performing a look-up of a data structure to determine the value.

8. The computer system of claim 7 , wherein the data structure comprises a reference data structure pointer cache.

9. The computer system of claim 7 , wherein the data structure comprises a table populated with reference data structure pointer values.

10. The computer system of claim 1 , wherein the method further comprises:

raising, by the processor, a trap to a handler; and

performing the determining and the storing by the handler.

11. 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:

obtaining, by a processor, an instruction to execute, the instruction to provide a pointer to a reference data structure, the reference data structure to be used to populate variables included within code of a program; and

executing the instruction, the executing comprising:

determining a value for the pointer to the reference data structure, the value to be used to access the reference data structure that is to be used to populate variables included within code of a program; and

storing the value in a location specified by the instruction,

wherein the determining and the storing are performed as part of executing the instruction.

12. The computer program product of claim 1 , wherein the determining the value comprises performing a look-up of a data structure to determine the value.

13. The computer program product of claim 12 , wherein the data structure comprises a reference data structure pointer cache.

14. The computer program product of claim 12 , wherein the data structure comprises a table populated with reference data structure pointer values.

15. The computer program product of claim 11 , wherein the location comprises a register specified by the instruction.

16. The computer program product of claim 11 , wherein the determining the value comprises:

checking a reference data structure pointer cache for an entry that includes the value; and

performing the storing, based on finding the entry.

17. The computer program product of claim 16 , wherein the determining the value further comprises:

raising, by the processor, a trap to a handler, based on the value not being located in the reference data structure pointer cache;

obtaining, by the handler, the value from a data structure populated with reference data structure pointer values; and

performing the storing by the handler.

18. The computer program product of claim 17 , wherein the method further comprises storing the value in the reference data structure pointer cache.

19. The computer program product of claim 6 , wherein the determining the value further comprises performing, based on the value not being located in the reference data structure pointer cache, cache miss handling to determine the value and to store the value.

20. The computer program product of claim 1 , wherein the method further comprises:

raising, by the processor, a trap to a handler; and

performing the determining and the storing by the handler.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 19, 2017
From: GSCHWIND, MICHAEL K.; SALAPURA, VALENTINA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 043622/0418 →
Continuity (1)
Related Publication 20190087334A1 · Mar 21, 2019