# US 2020/0393887 A1 · Instruction subset implementation for low power operation

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

- Number: US 2020/0393887 A1
- Document ID: US20200393887A1
- Status: Published application
- Kind: A1
- Application number: 16/912,035
- Filed: 2020-06-25
- Published: 2020-12-17
- Earliest claimed: 2017-10-27
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Elliot H. MEDNICK; Edward MCLELLAN
- Web page: https://patentgrep.com/patent/US20200393887A1

## CPC

- G06F 1/324: by lowering clock frequency
- G06F 1/3243: {Power saving in microcontroller unit}
- G06F 1/3287: by switching off individual functional units in the computer system
- G06F 1/3293: by switching to a less power-consuming processor, e.g. sub-CPU
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0625: {Power saving in storage systems}
- G06F 3/065: {Replication mechanisms}
- G06F 3/068: {Hybrid storage device}
- G06F 9/3851: {from multiple instruction streams, e.g. multistreaming}
- G06F 11/1666: {where the redundant component is memory or memory area}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 9/3009: {Thread control instructions}
- G06F 9/3877: {using a secondary processor, e.g. coprocessor (peripheral processor G06F13/12)}
- G06F 12/084: with a shared cache
- G06F 2212/1016: Performance improvement
- G06F 2212/286: Mirrored cache memory
- G06F 2212/452: Instruction code
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A heterogeneous processor system includes a first processor implementing an instruction set architecture (ISA) including a set of ISA features and configured to support a first subset of the set of ISA features. The heterogeneous processor system also includes a second processor implementing the ISA including the set of ISA features and configured to support a second subset of the set of ISA features, wherein the first subset and the second subset of the set of ISA features are different from each other. When the first subset includes an entirety of the set of ISA features, the lower-feature second processor is configured to execute an instruction thread by consuming less power and with lower performance than the first processor.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A system, comprising:
a first processor configured to support a first subset of a set of instruction set architecture (ISA) features;
a second processor configured to support a second subset of the set of ISA features different than the first subset of the set of ISA features; and
wherein in response to a detected underutilization of the first processor, the system is configured to switch execution of an instruction thread being executed at the first processor to execution by the second processor by writing a first state of the instruction thread to a shared memory accessible by the first and second processors.

### Claim 22 (depends on 21)

The system of claim 21, wherein the first subset comprises an entirety of the set of ISA features.

### Claim 23 (depends on 21)

The system of claim 21, wherein the second processor is further configured to:
execute the instruction thread by consuming less power and with lower performance than the first processor.

### Claim 24 (depends on 21)

The system of claim 21, wherein the first processor is further configured to:
save one or more registers associated with the first processor to one or more shared registers accessible by the first and second processors in response to switching execution of the instruction thread from the first processor to the second processor.

### Claim 25 (depends on 24)

The system of claim 24, wherein the second processor is further configured to:
restore the first state of the instruction thread from the shared memory and the one or more registers to the second processor and to continue execution of the instruction thread using the restored first state.

### Claim 26 (depends on 21)

The system of claim 21, wherein in response to detection of an overutilization of the second processor while the second processor is executing the instruction thread, the system is further configured to switch execution of the instruction thread from the second processor back to the first processor by writing a second state of the instruction thread being executed at the second processor to the shared memory accessible by the first and second processors.

### Claim 27 (depends on 26)

The system of claim 26, wherein the first processor is further configured to:
restore the second state of the instruction thread from the shared memory to the first processor and to continue execution of the instruction thread based on the restored second state.

### Claim 28 (depends on 21)

The system of claim 21, wherein the ISA features include at least one of an instruction set, a set of resources accessible by instructions of the instruction set, and a set of operating modes in which the first and second processors operate to process instructions of the instruction set.

### Claim 29 (depends on 21)

The system of claim 21, wherein the shared memory is a shared cache memory.

### Claim 30

A method, comprising:
in response to detecting that a first processor that supports a set of instruction set architecture (ISA) features is being underutilized while executing an instruction thread, switching execution of the instruction thread from the first processor to a second processor that supports fewer of the ISA features than the first processor; and
wherein switching execution of the instruction thread includes writing a first state of the instruction thread being executed at the first processor to a shared memory accessible by the first and second processors.

### Claim 31 (depends on 30)

The method of claim 30, wherein the underutilization of the first processor is detected by a cache controller monitoring one or more workloads of the first and second processors.

### Claim 32 (depends on 30)

The method of claim 30, wherein switching execution of the instruction thread further includes:
stopping execution of the instruction thread at the first processor;
restoring the first state of the instruction thread from the shared memory to the second processor; and
continuing execution of the instruction thread at the second processor using the restored first state.

### Claim 33 (depends on 32)

The method of claim 32, further comprising:
saving, in response to detecting that the first processor is being underutilized, a copy of register data associated with the first processor to one or more shared registers; and
migrating the register data from the one or more shared registers to the second processor.

### Claim 34 (depends on 32)

The method of claim 32, further comprising:
switching execution of the instruction thread from the second processor back to the first processor in response to detecting that the second processor is being overutilized while executing the instruction thread, wherein switching execution of the instruction thread back to the first processor includes writing a second state of the instruction thread being executed at the second processor to the shared memory.

### Claim 35 (depends on 30)

The method of claim 30, wherein the set of ISA features includes at least one of an instruction set, a set of resources accessible by instructions of the instruction set, and a set of operating modes in which the first and second processors operate to process instructions of the instruction set.

### Claim 36

A method, comprising:
in response to detecting that a first processor implementing a first subset of a set of instruction set architecture (ISA) features is overutilized while executing an instruction thread, switching execution of the instruction thread from the first processor to a second processor that supports a second subset of the set of ISA features that is different than the first subset of ISA features; and
wherein switching execution of the instruction thread from the first processor to the second processor includes writing a state of the instruction thread being executed at the first processor to a memory shared by the first and second processors and saving register data associated with the first processor to one or more registers shared by the first and second processors.

### Claim 37 (depends on 36)

The method of claim 36, wherein the set of ISA features includes at least one of an instruction set, a set of resources accessible by instructions of the instruction set, and a set of operating modes in which the first and second processors operate to process instructions of the instruction set.

### Claim 38 (depends on 36)

The method of claim 36, wherein switching execution of the instruction thread further includes:
stopping execution of the instruction thread at the first processor;
restoring the state of the instruction thread from the memory to the second processor; and
continuing execution of the instruction thread at the second processor using the restored state.

### Claim 39 (depends on 36)

The method of claim 36, wherein switching execution of the instruction thread further includes:
migrating the register data from the one or more shared registers to the second processor.

### Claim 40 (depends on 39)

The method of claim 39, further comprising:
stopping, in response to detecting the overutilization of the first processor, execution of the instruction thread at the first processor;
restoring the state of the instruction thread from the memory to the second processor; and
continuing execution of the instruction thread at the second processor.
