# US 2019/0377680 A1 · Set table of contents (toc) register instruction

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0377680 A1
- Document ID: US20190377680A1
- Status: Published application
- Kind: A1
- Application number: 16/542,830
- Filed: 2019-08-16
- Published: 2019-12-12
- Earliest claimed: 2017-09-19
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Michael K. Gschwind; Valentina Salapura
- Web page: https://patentgrep.com/patent/US20190377680A1

## CPC

- G06F 12/0826: {Limited pointers directories; State-only directories without pointers}
- G06F 12/0862: with prefetch
- G06F 8/41: Compilation
- G06F 9/3004: {to perform operations on memory}
- G06F 9/30076: {to perform miscellaneous control operations, e.g. NOP}
- G06F 9/30101: {Special purpose registers}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 2212/6024: History based prefetching
- G06F 2212/62: Details of cache specific to multiprocessor cache arrangements
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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

### Claim 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:
obtaining, by a processor, an instruction to execute, the instruction to provide a pointer to a reference data structure; and
executing the instruction, the executing comprising:
determining a value for the pointer to the reference data structure; and
storing the value in a location specified by the instruction.

### Claim 2 (depends on 1)

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.

### Claim 3 (depends on 2)

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

### Claim 4 (depends on 2)

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

### Claim 5 (depends on 1)

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

### Claim 6 (depends on 1)

The computer program product 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.

### Claim 7 (depends on 6)

The computer program product of claim 6, 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.

### Claim 8 (depends on 7)

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

### Claim 9 (depends on 6)

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.

### Claim 10 (depends on 1)

The computer program product of claim 1, wherein the method further comprises:
raising, by the processor, a trap to a handler, based on obtaining the instruction; and
performing the determining and the storing by the handler.

### Claim 11

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; and
executing the instruction, the executing comprising:
determining a value for the pointer to the reference data structure; and
storing the value in a location specified by the instruction.

### Claim 12 (depends on 11)

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

### Claim 13 (depends on 11)

The computer system 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.

### Claim 14 (depends on 13)

The computer system of claim 13, 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.

### Claim 15 (depends on 11)

The computer system of claim 11, wherein the method further comprises:
raising, by the processor, a trap to a handler, based on obtaining the instruction; and
performing the determining and the storing by the handler.
