IP Library › Granted Patent US 9,697,002
Granted Patent B2
US 9,697,002 · App. 13/251,458 · Granted Jul 4, 2017

Computer instructions for activating and deactivating operands

Inventors: Michael K Gschwind (Chappaqua, NY); Valentina Salapura (Chappaqua, NY)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F9/3836G06F9/3016G06F9/30076G06F9/30185G06F9/384G06F9/3832G06F9/3859G06F9/3861
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 9,697,002
App. No.
13/251,458
Granted
Jul 4, 2017
Kind
B2
Abstract

An instruction set architecture (ISA) includes instructions for selectively indicating last-use architected operands having values that will not be accessed again, wherein architected operands are made active or inactive after an instruction specified last-use by an instruction, wherein the architected operands are made active by performing a write operation to an inactive operand, wherein the activation/deactivation may be performed by the instruction having the last-use of the operand or another (prefix) instruction.

Claims (21)

1. A computer implemented method for deactivating an active operand, the active operand being an instruction accessible architecturally defined operand, wherein access to a deactivated operand need not return values previously stored to the operand, the method comprising:

executing, by a processor, a first instruction and a second instruction, wherein the second instruction is a next sequential instruction to the first instruction in program order, the second instruction comprising an opcode field having an opcode value, the second instruction having an associated operand, wherein the first instruction indicates that the associated operand of the second instruction is a last-use operand to be deactivated, the execution comprising:

determining, from the first instruction, a last-use of the associated operand of the second instruction;

performing an opcode defined function using the associated operand of the second instruction; and

placing the associated operand in a deactivated state.

2. The method according to claim 1 , wherein the associated operand consists of any one of an architected general register, an architected adjunct register or an architected floating point register, wherein a read of a deactivated operand returns a default value, the default value being any one of a value that is architecturally undefined or an architected default value.

3. The method according to claim 1 , wherein performing a write to an architected operand in a deactivated state causes the architected operand to be placed in an active state.

4. The method according to claim 1 , wherein performing a read of an operand in a deactivated state suppresses error reporting associated with the read of the operand.

5. The method according to claim 1 , wherein performing a read of an operand in a deactivated state comprises any one of:

obtaining the default value from a program accessible location;

returning a default value of all 1's or all 0's; or

returning any one of an incremented default value or a decremented default value.

6. The method according to claim 1 , wherein deactivating the associated operand comprises:

returning a physical register assigned as an architected register to a pool of available physical registers available for assignment as architected registers; and

activating an operand comprises assigning a physical register from the pool of available physical registers as an architected register in an active state.

7. The method according to claim 1 , further comprising performing a context switch, the context switch comprising:

saving to a context save area, operand values for active operands of a current context; and

saving any one of default values of deactivated operands or state information indicating operands that are deactivated of the current context; and

restoring from the context save area, saved operand values for saved active operands of another context; and

any one of restoring saved default values as active operands of the another context or restoring deactivated state of operands of the another context.

8. The method according to claim 1 , wherein an opcode of the first instruction indicates that the associated operand of the second instruction is a last-use operand.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 3, 2011
From: GSCHWIND, MICHAEL K; SALAPURA, VALENTINA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 027006/0289 →
Continuity (1)
Related Publication 20130086363A1 · Apr 4, 2013