# US 2010/0146315 A1 · Software Selectable Adjustment of SIMD Parallelism

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

- Number: US 2010/0146315 A1
- Document ID: US20100146315A1
- Status: Published application
- Kind: A1
- Application number: 12/706,987
- Filed: 2010-02-17
- Published: 2010-06-10
- Earliest claimed: 2005-06-09
- Assignees: QUALCOMM Incorporated
- Inventors: Kenneth Alan Dockser
- Web page: https://patentgrep.com/patent/US20100146315A1

## CPC

- G06F 9/30076: {to perform miscellaneous control operations, e.g. NOP}
- G06F 9/30036: {Instructions to perform operations on packed data, e.g. vector, tile or matrix operations}
- G06F 9/30083: {Power or thermal control instructions}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Selective power control of one or more processing elements matches a degree of parallelism to requirements of a task performed in a highly parallel programmable data processor. For example, when program operations require less than the full width of the data path, a software instruction of the program sets a mode of operation requiring a subset of the parallel processing capacity. At least one parallel processing element, that is not needed, can be shut down to conserve power. At a later time, when the added capacity is needed, execution of another software instruction sets the mode of operation to that of the wider data path, typically the full width, and the mode change reactivates the previously shut-down processing element.

## Claims

### Claim 1

A method of processing a Single Instruction Multiple Data (SIMD) instruction when the SIMD instruction requires a data path width greater than an active data path width in a SIMD data processor, comprising:
executing one or more operations in parallel in at least two arithmetic logic units of the data processor, so as to process data of a first width;
upon execution of a mode change instruction, placing a first one of the two arithmetic logic units into a reduced power state; and
while the first arithmetic logic unit is in the reduced power state, executing one or more instructions in a second one of the two arithmetic logic units, so as to process data of a second width smaller than the first width;
receiving a SIMD instruction calling for processing of data of the first width;
expanding the SIMD instruction in response to the received SIMD instruction calling for processing of data of the first width to at least two instructions calling for processing of data of the second width; and
executing the at least two instructions resulting from expansion in sequence through the second arithmetic logic unit.

### Claim 2 (depends on 1)

The method of claim 1, wherein the arithmetic logic units are SIMD arithmetic logic units.

### Claim 3 (depends on 1)

The method of claim 1, wherein the arithmetic logic units are scalar arithmetic logic units.

### Claim 4 (depends on 1)

The method of claim 1, wherein placing the first arithmetic logic unit into a reduced power state comprises gating a clock signal to the first arithmetic logic unit.

### Claim 5 (depends on 1)

The method of claim 1, wherein placing the first arithmetic logic unit into a reduced power state comprises interrupting a connection between at least a portion of the first arithmetic logic unit and at least one of a voltage supply and ground.

### Claim 6 (depends on 1)

The method of claim 1, wherein placing the first arithmetic logic unit into a reduced power state is delayed until an in-flight operation of the first width has been completely processed by the first arithmetic logic unit.

### Claim 7 (depends on 1)

The method of claim 1, wherein during a time between execution of a mode change instruction and a time when the first arithmetic logic unit has been placed into a reduced power state, the SIMD data processor continues to execute operations at the second width in the second arithmetic logic unit.

### Claim 8

A SIMD data processor, comprising:
a first processing element responsive to program instructions, for processing data of a first width;
a second processing element responsive to program instructions, connected to operate in parallel with the first processing unit, the parallel operation of the first and second processing elements providing SIMD processing of data of a second width greater than the first width, wherein the combination of said first and second processing elements are configured to process data in response to SIMD type instructions;
control logic for selectively activating and deactivating the second processing element in response to setting of a mode by program instructions calling for processing of data of the second width and calling for processing of data of the first width, respectively; and
an instruction expansion stage configured to convert a SIMD instruction calling for processing of data of the second width to a plurality of instructions calling for processing of data of the first width and configured to supply the expanded plurality of instructions sequentially to the first processing element for execution, when the second processing element has been deactivated.

### Claim 9 (depends on 8)

The SIMD data processor of claim 8, wherein the first and second processing elements comprise arithmetic logic units.

### Claim 10 (depends on 8)

The SIMD data processor of claim 8, wherein the processing elements are SIMD processing elements.

### Claim 11 (depends on 8)

The SIMD data processor of claim 8, wherein the processing elements are scalar processing elements.

### Claim 12 (depends on 8)

The SIMD data processor of claim 8, wherein deactivating the second processing element comprises gating a clock signal to the second processing element.

### Claim 13 (depends on 8)

The SIMD data processor of claim 8, wherein deactivating the second processing element comprises interrupting a connection between at least a portion of the second processing element and at least one of a voltage supply and ground.

### Claim 14 (depends on 8)

The SIMD data processor of claim 8, wherein deactivating the second processing element is delayed until an in-flight operation of the second width has been completely processed by the second processing element.

### Claim 15 (depends on 8)

The SIMD data processor of claim 8, wherein during a time between execution of a mode change instruction and a time when the second processing element has been deactivated, the SIMD data processor continues to execute operations at the first width in the first processing element.

### Claim 16

A method of processing a SIMD instruction in a SIMD data processor when a width of a data path required by the SIMD instruction is greater than a width of an active data path, comprising:
receiving a SIMD instruction requiring a data path width greater than the width of the active data path;
expanding the SIMD instruction into two or more instructions in response to the received SIMD instruction requiring a data path width greater than the width of the active data path, wherein each expanded instruction requires at most the width of the active data path; and
sequentially processing the two or more expanded instructions utilizing the active data path.

### Claim 17 (depends on 16)

The method of claim 16 wherein expanding the SIMD instruction into two or more instructions is based on a current operating mode.

### Claim 18

A SIMD data processor, comprising:
a first processing means having a first data path width;
a second processing means connected to operate in parallel with the first processing means, the parallel operation of the first and second processing means providing a second data path width greater than the first data path width;
means for activating the second processing means in response to an instruction calling for processing of data of the second width and for deactivating the second processing means in response to an instruction calling for processing of data of the first width; and
expansion means for converting an instruction calling for processing of data of the second width to a plurality of instructions calling for processing of data of the first width when the second processing means has been deactivated and supplying the plurality of instructions sequentially to the first arithmetic logic unit for execution.

### Claim 19 (depends on 18)

The SIMD data processor of claim 18, wherein the first and second processing means are SIMD type arithmetic logic units.

### Claim 20 (depends on 18)

The SIMD data processor of claim 18, wherein the first and second processing means are scalar type arithmetic logic units.
