# US 2013/0086363 A1 · Computer Instructions for Activating and Deactivating Operands

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

- Number: US 2013/0086363 A1
- Document ID: US20130086363A1
- Status: Published application
- Kind: A1
- Application number: 13/251,458
- Filed: 2011-10-03
- Published: 2013-04-04
- Earliest claimed: 2011-10-03
- Assignees: International Business Machines Corporation
- Inventors: Michael K. Gschwind; Valentina Salapura
- Web page: https://patentgrep.com/patent/US20130086363A1

## CPC

- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/30076: {to perform miscellaneous control operations, e.g. NOP}
- G06F 9/3016: {Decoding the operand specifier, e.g. specifier format}
- G06F 9/30185: {according to one or more bits in the instruction, e.g. prefix, sub-opcode}
- G06F 9/3832: {Value prediction for operands; operand history buffers}
- G06F 9/384: {Register renaming}
- G06F 9/38585: {with result invalidation, e.g. nullification}
- G06F 9/3861: {Recovery, e.g. branch miss-prediction, exception handling (error detection or correction G06F11/00)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

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

### Claim 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, an operand deactivating (OD) instruction, the OD instruction comprising an opcode field having an opcode value, the OD instruction having an associated operand to be deactivated, the execution comprising:
determining a last-use of the associated operand;
performing an opcode defined function using the associated operand; and
placing the associated operand in a deactivated state.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising executing, by the processor, any one of the OD instruction or another instruction to indicate the use of the associated operand by the OD instruction is the last-use.

### Claim 3 (depends on 2)

The method according to claim 2, 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.

### Claim 4 (depends on 3)

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

### Claim 5 (depends on 3)

The method according to claim 3, further comprising:
performing the read of an operand in a deactivated state suppresses error reporting associated with the read of the operand.

### Claim 6 (depends on 3)

The method according to claim 3, further comprising performing the 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.

### Claim 7 (depends on 3)

The method according to claim 3, further comprising:
the 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.

### Claim 8 (depends on 3)

The method according to claim 3, 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.

### Claim at position 9

9-24. (canceled)
