# US 2013/0275482 A1 · Processors, methods, systems, and instructions to generate sequences of consecutive integers in numerical order

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

- Number: US 2013/0275482 A1
- Document ID: US20130275482A1
- Status: Published application
- Kind: A1
- Application number: 13/976,766
- Filed: 2011-12-22
- Published: 2013-10-17
- Earliest claimed: 2011-12-22
- Assignees: Intel Corporation
- Inventors: Seth Abraham; Robert Valentine; Elmoustapha Ould-Hamed-Vall; Zeev Sperber; Amit Gradstein
- Web page: https://patentgrep.com/patent/US20130275482A1

## CPC

- G06F 17/10: Complex mathematical operations {(function generation by table look-up G06F1/03; evaluation of elementary functions by calculation G06F7/544)}
- G06F 9/3001: {Arithmetic instructions}
- 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/30038: {using a mask}
- G06F 9/30109: {having multiple operands in a single register}
- G06F 9/30163: {with implied specifier, e.g. top of stack}
- G06F 9/30167: {of immediate specifier, e.g. constants}
- G06F 9/3455: {using stride}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of an aspect includes receiving an instruction indicating a destination storage location. A result is stored in the destination storage location in response to the instruction. The result includes a sequence of at least four consecutive non-negative integers in numerical order. In an aspect, the instruction does not indicate a source packed data operand having a plurality of packed data elements in an architecturally-visible storage location. Other methods, apparatus, systems, and instructions are disclosed.

## Claims

### Claim 1

A method comprising:
receiving an instruction, the instruction indicating a destination storage location; and
storing a result in the destination storage location in response to the instruction, the result including a sequence of at least four consecutive non-negative integers in numerical order,
wherein the instruction does not indicate a source packed data operand having a plurality of packed data elements in an architecturally-visible storage location.

### Claim 2 (depends on 1)

The method of claim 1, wherein receiving the instruction comprises receiving a packed data rearrangement control indexes generation instruction, and wherein storing the result comprises storing the at least four consecutive non-negative integers in the numerical order as at least four corresponding packed data rearrangement control indexes.

### Claim 3 (depends on 1)

The method of claim 1, wherein storing the consecutive non-negative integers in the numerical order is fixed by an opcode of the instruction.

### Claim 4 (depends on 1)

The method of claim 1, wherein receiving the instruction comprises receiving an instruction indicating an integer offset, and wherein storing comprises storing a smallest one of the at least four consecutive non-negative integers which differs from zero by the integer offset.

### Claim 5 (depends on 1)

The method of claim 1, wherein receiving the instruction comprises receiving an instruction indicating a rotation amount, and wherein storing the result includes storing a rotated sequence of at least four consecutive non-negative integers that has been rotated by the rotation amount.

### Claim 6 (depends on 1)

The method of claim 1, wherein receiving the instruction comprises receiving an instruction that does not indicate a source operand in an architecturally-visible storage location.

### Claim 7 (depends on 1)

The method of claim 1, wherein storing the result comprises storing a sequence of at least eight consecutive non-negative integers in the numerical order.

### Claim 8 (depends on 7)

The method of claim 7, wherein storing the result comprises storing a sequence of at least thirty-two consecutive non-negative integers in the numerical order.

### Claim 9

(canceled)

### Claim 10 (depends on 1)

The method of claim 1, further comprising accessing the sequence of the at least four consecutive non-negative integers from a non-architecturally visible storage location that is on-die with an execution unit that is executing the instruction.

### Claim 11 (depends on 1)

The method of claim 1, wherein storing comprises storing a sequence of at least four consecutive non-negative integers that has been predetermined prior to execution of the instruction.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
receiving a second instruction indicating the result, indicating a constant integer stride, indicating an integer offset, and indicating a second destination storage location; and
storing a second result in the second destination storage location in response to the second instruction, the second result including a sequence of at least four non-negative integers in numerical order with all consecutive integers of the second result differing by the constant integer stride and with a smallest of the integers of the second result differing from zero by the integer offset.

### Claim 13

An apparatus comprising:
a destination storage location; and
an execution unit coupled with the destination storage location, the execution unit, in response to an instruction indicating the destination storage location, to store a result in the destination storage location, the result including a sequence of at least four consecutive non-negative integers in numerical order,
wherein the execution unit is to store the result in response to an instruction that does not indicate a source packed data operand having a plurality of packed data elements in an architecturally-visible storage location.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the instruction comprises a packed data rearrangement control indexes generation instruction, and wherein the execution unit, in response to the packed data rearrangement control indexes generation instruction, is to store the sequence of the at least four consecutive non-negative integers in the numerical order as at least four corresponding packed data rearrangement control indexes.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein an opcode of the instruction fixes that the execution unit is to store the consecutive non-negative integers in the numerical order.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein the instruction is to indicate an integer offset, and wherein the execution unit, in response to the instruction, is to store a smallest one of the at least four consecutive non-negative integers which differs from zero by the integer offset.

### Claim 17 (depends on 13)

The apparatus of claim 13, wherein the instruction is to indicate an integer rotation amount, and wherein the execution unit, in response to the instruction, is to store a rotated sequence of the at least four consecutive non-negative integers that has been rotated by the rotation amount.

### Claim 18

(canceled)

### Claim 19 (depends on 13)

The apparatus of claim 13, wherein the execution unit, in response to the instruction, is to store a sequence of at least eight consecutive non-negative integers in numerical order.

### Claim 20 (depends on 13)

The apparatus of claim 13, wherein the execution unit, in response to the instruction, is to store a sequence of at least thirty-two consecutive non-negative integers in numerical order.

### Claim 21 (depends on 13)

The apparatus of claim 13, wherein the execution unit, in response to the instruction, is to store, from lowest to highest order in the destination storage location, one of:
0, 1, 2, 3, 4, 5, 6, 7;
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15;
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31; and
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63.

### Claim 22 (depends on 13)

The apparatus of claim 13, wherein the execution unit, in response to the instruction, is to store, from lowest to highest order in the destination storage location, one of:
7, 6, 5, 4, 3, 2, 1, 0;
15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0;
31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0; and
63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0.

### Claim 23 (depends on 13)

The apparatus of claim 13, further comprising a non-architecturally visible storage location on-die with the execution unit storing the sequence of the at least four consecutive non-negative integers, and wherein the execution unit, in response to the instruction, is to access the at least four consecutive non-negative integers from the non-architecturally visible storage location.

### Claim 24

A system comprising:
an interconnect;
a processor coupled with the interconnect, the processor including a destination register, the processor, in response to an instruction indicating the destination register, to store a result in the destination register, the result including a sequence of at least four consecutive non-negative integers in numerical order,
wherein the processor is to store the result including the sequence of the at least four consecutive non-negative integers in the numerical order without calculating values of the at least four consecutive non-negative integers from a result of a preceding instruction; and
a dynamic random access memory (DRAM) coupled with the interconnect.

### Claim 25

(canceled)

### Claim 26 (depends on 24)

The system of claim 24, wherein the instruction indicates an integer offset, and wherein the processor is to store a smallest one of the at least four consecutive non-negative integers that differs from zero by the offset.

### Claim 27

An article of manufacture comprising:
a machine-readable storage medium including one or more solid storage materials, the machine-readable storage medium storing an instruction,
the instruction to indicate a destination storage location, and the instruction, if executed by a machine, to cause the machine to perform operations comprising:
storing a result in the destination storage location, the result including a sequence of at least four consecutive non-negative integers in numerical order,
wherein the instruction is to cause the machine to store the result including the sequence of the at least four consecutive non-negative integers in the numerical order without calculating values of the at least four consecutive non-negative integers in the numerical order using a result of a preceding instruction.

### Claim 28

(canceled)

### Claim 29 (depends on 27)

The article of claim 27, wherein the instruction indicates an integer offset, and wherein the instruction is to cause the machine to store a smallest one of the at least four consecutive non-negative integers that differs from zero by the offset.
