# US 2024/0004648 A1 · Vector unpack based on selection information

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

- Number: US 2024/0004648 A1
- Document ID: US20240004648A1
- Status: Published application
- Kind: A1
- Application number: 17/856,981
- Filed: 2022-07-02
- Published: 2024-01-04
- Earliest claimed: 2022-07-02
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Venkateswara Rao MADDURI; Jason BRANDT; Jeff WIEDEMEIER; Michael ESPIG
- Web page: https://patentgrep.com/patent/US20240004648A1

## CPC

- G06F 9/30032: {Movement instructions, e.g. MOVE, SHIFT, ROTATE, SHUFFLE}
- G06F 9/30036: {Instructions to perform operations on packed data, e.g. vector, tile or matrix operations}
- G06F 9/30098: {Register arrangements}
- G06F 9/30185: {according to one or more bits in the instruction, e.g. prefix, sub-opcode}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for vector unpacking are described. In some examples a single instruction is executed to perform vector unpacking. In some examples the instruction is to include one or more fields for an opcode, a destination operand identifier, a first source operand identifier, a second source operand identifier, and an immediate, wherein the opcode is to indicate execution circuitry is to interleave data elements from the identified first and second source operands according to an encoding of the immediate wherein the encoding of the immediate to include multiple controls with each control dictating what is to be written into a particular data element position of the identified destination operand;

## Claims

### Claim 1

An apparatus comprising:
decoder circuitry to decode an instance of a single instruction, the single instruction to include one or more fields for an opcode, a destination operand identifier, a first source operand identifier, a second source operand identifier, and an immediate, wherein the opcode is to indicate execution circuitry is to interleave data elements from the identified first and second source operands according to an encoding of the immediate wherein the encoding of the immediate to include multiple controls with each control dictating what is to be written into a particular data element position of the identified destination operand;
execution circuitry to execute the decoded instruction according to the opcode.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the field for the identifier of the first source operand is to identify a vector register.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the field for the identifier of the first source operand is to identify a memory location.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein two bits of the immediate are to be used as element selectors for a 4:1 multiplexer.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the data elements to interleave of the identified first and second source operands are 32-bit in size.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the data elements of the identified first and second source operands are 64-bit in size.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the apparatus is a digital signal processing core.

### Claim 8

A method comprising:
translating an instance of a single instruction of a first instruction set architecture to one or more instructions of a second instruction set architecture, the instance of the single instruction to include one or more fields for an opcode, a destination operand identifier, a first source operand identifier, a second source operand identifier, and an immediate, wherein the opcode is to indicate execution circuitry is to interleave data elements from the identified first and second source operands according to an encoding of the immediate wherein the encoding of the immediate to include multiple controls with each control dictating what is to be written into a particular data element position of the identified destination operand;
decoding the one or more instructions of a second instruction set architecture; and
executing the decoded instruction according to the opcode of the instance of the single instruction of the first instruction set architecture.

### Claim 9 (depends on 8)

The method of claim 8, wherein the field for the identifier of the first source operand is to identify a vector register.

### Claim 10 (depends on 8)

The method of claim 8, wherein the field for the identifier of the first source operand is to identify a memory location.

### Claim 11 (depends on 8)

The method of claim 8, wherein two bits of the immediate are to be used as element selectors for a 4:1 multiplexer.

### Claim 12 (depends on 8)

The method of claim 8, wherein the data elements to interleave of the identified first and second source operands are 32-bit in size.

### Claim 13 (depends on 8)

The method of claim 8, wherein the data elements of the identified first and second source operands are 64-bit in size.

### Claim 14 (depends on 8)

The method of claim 8, wherein the apparatus is a digital signal processing core.

### Claim 15

A system comprising:
a general purpose processor core; and
a digital signal processing core coupled to the general purpose processor core, the digital signal processing core including:
decoder circuitry to decode an instance of a single instruction, the single instruction to include one or more fields for an opcode, a destination operand identifier, a first source operand identifier, a second source operand identifier, and an immediate, wherein the opcode is to indicate execution circuitry is to interleave data elements from the identified first and second source operands according to an encoding of the immediate wherein the encoding of the immediate to include multiple controls with each control dictating what is to be written into a particular data element position of the identified destination operand;
execution circuitry to execute the decoded instruction according to the opcode.

### Claim 16 (depends on 15)

The system of claim 15, wherein the field for the identifier of the first source operand is to identify a vector register.

### Claim 17 (depends on 15)

The system of claim 15, wherein the field for the identifier of the first source operand is to identify a memory location.

### Claim 18 (depends on 15)

The system of claim 15, wherein two bits of the immediate are to be used as element selectors for a 4:1 multiplexer.

### Claim 19 (depends on 15)

The system of claim 15, wherein the data elements to interleave of the identified first and second source operands are 32-bit in size.

### Claim 20 (depends on 15)

The system of claim 15, wherein the data elements of the identified first and second source operands are 64-bit in size.

### Claim 21 (depends on 15)

The system of claim 15, wherein the apparatus is a digital signal processing core.
