IP Library › Granted Patent US 10,891,133
Granted Patent B2
US 10,891,133 · App. 16/562,906 · Granted Jan 12, 2021

Code-specific affiliated register prediction

Inventors: Michael K. Gschwind (Chappaqua, NY); Valentina Salapura (Chappaqua, NY)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F9/30145G06F9/30061G06F9/30101G06F9/3806G06F9/3832
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,891,133
App. No.
16/562,906
Granted
Jan 12, 2021
Kind
B2
Abstract

Code-specific affiliated register prediction. A determination is made as to whether a unit of code is a candidate for affiliated register prediction. The determining employs a code specific indicator specific to the unit of code. Based on determining the unit of code is a candidate for affiliated register prediction, an indication of an affiliated register is loaded into a selected location. Based on the loading, the affiliated register is employed in speculative processing.

Claims (23)

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:

determining for a unit of code whether the unit of code is a candidate for affiliated register prediction, wherein the determining employs a code specific indicator specific to the unit of code, wherein the code specific indicator specific to the unit of code is part of configuration information associated with the unit of code;

loading into a selected location a location identifier of an affiliated register, based on determining the unit of code is a candidate for affiliated register prediction; and

employing, based on the loading, the affiliated register in speculative processing.

2. The computer system of claim 1 , wherein another unit of code has another code specific indicator specific to the other unit of code to be used to determine whether the other unit of code is a candidate for affiliated register prediction.

3. The computer system of claim 1 , wherein the selected location is selected from a group consisting of a machine state register, a program status word, a special purpose register, a page table entry, a segment table entry, and a specific control register.

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

determining a context switch has occurred; and

updating a configuration, based on the context switch, wherein the configuration comprises the code specific indicator.

5. The computer system of claim 4 , wherein the method further comprises:

determining whether the code specific indicator is located in a location specifically bound to the unit of code; and

performing the updating, based on determining the code specific indicator is located in a location not specifically bound to the unit of code.

6. The computer system of claim 5 , wherein the location specifically bound to the unit of code comprises a page table entry or a segment table entry.

7. The computer system of claim 5 , wherein the location not specifically bound to the unit of code comprises a control register.

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

determining that a hardware exception has been taken; and

storing the configuration information into an exception context, based on the hardware exception, the configuration information comprising the code specific indicator.

9. The computer system of claim 8 , wherein the method further comprises exiting hardware exception processing, the exiting including:

obtaining the configuration information from the exception context; and

storing the configuration information in a control register.

10. The computer system of claim 1 , wherein the affiliated register prediction comprises storing a predicted target address of a register-indirect branch in a predicted register and concurrently in an affiliated register that is affiliated with the predicted register on the basis of a known affiliation between the predicted register and the affiliated register.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 6, 2019
From: GSCHWIND, MICHAEL K.; SALAPURA, VALENTINA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 050293/0486 →
Continuity (2)
Continuation 15680881 · Aug 18, 2017
Related Publication 20200004539A1 · Jan 2, 2020