# US 2018/0321940 A1 · Rotate instructions that complete execution either without writing or reading flags

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

- Number: US 2018/0321940 A1
- Document ID: US20180321940A1
- Status: Published application
- Kind: A1
- Application number: 15/939,693
- Filed: 2018-03-29
- Published: 2018-11-08
- Earliest claimed: 2009-12-26
- Assignees: lntel Corporation
- Applicants: lntel Corporation
- Inventors: Vinodh Gopal; James D. Guilford; Gilbert M. Wolrich; Wajdi K. Feghali; Erdinc Ozturk; Martin G. Dixon; Sean P. Mirkes; Bret L. Toll; Maxim Loktyukhin; Mark C. Davis; Alexandre J. Farcy
- Web page: https://patentgrep.com/patent/US20180321940A1

## CPC

- G06F 9/30032: {Movement instructions, e.g. MOVE, SHIFT, ROTATE, SHUFFLE}
- G06F 9/30094: {Condition code generation, e.g. Carry, Zero flag}
- G06F 9/30098: {Register arrangements}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of one aspect may include receiving a rotate instruction. The rotate instruction may indicate a source operand and a rotate amount. A result may be stored in a destination operand indicated by the rotate instruction. The result may have the source operand rotated by the rotate amount. Execution of the rotate instruction may complete without reading a carry flag.

## Claims

### Claim 1

A method comprising:
receiving a rotate instruction, the rotate instruction indicating a source operand and a rotate amount;
storing a result in a destination operand indicated by the rotate instruction, the result having the source operand rotated by the rotate amount; and
completing execution of the rotate instruction without reading a carry flag.

### Claim 2 (depends on 1)

The method of claim 1, wherein completing comprises completing execution of the rotate instruction without reading an overflow flag.

### Claim 3 (depends on 2)

The method of claim 2, wherein completing comprises completing execution of the rotate instruction without writing the carry flag and without writing the overflow flag.

### Claim 4 (depends on 2)

The method of claim 2, wherein completing comprises completing execution of the rotate instruction without reading a sign flag, without reading a zero flag, without reading an auxiliary carry flag, and without reading a parity flag.

### Claim 5 (depends on 4)

The method of claim 4, wherein completing comprises completing execution of the rotate instruction without writing the carry flag, without writing the overflow flag, without writing the sign flag, without writing the zero flag, without writing the auxiliary carry flag, and without writing the parity flag.

### Claim 6 (depends on 1)

The method of claim 1, wherein receiving comprises receiving a rotate instruction that explicitly specifies the source operand and that explicitly specifies the destination operand.

### Claim 7 (depends on 1)

The method of claim 1, wherein receiving comprises receiving a rotate instruction that explicitly specifies a second source operand having the rotate amount.

### Claim 8 (depends on 1)

The method of claim 1, wherein receiving comprises receiving a rotate instruction that implicitly indicates a second source operand having the rotate amount.

### Claim 9 (depends on 1)

The method of claim 1, wherein completing execution of the rotate instruction completes in one clock cycle.

### Claim 10 (depends on 1)

The method of claim 1, wherein said completing comprises completing execution of the rotate instruction with execution of a single micro-operation derived from the rotate instruction.

### Claim 11 (depends on 1)

The method of claim 1, wherein the rotate instruction comprises a rotate right instruction, wherein the source operand has a size selected from 32 bits and 64 bits, wherein the source operand comprises one of a general-purpose register and a location in a memory, and wherein the destination operand comprises a general-purpose register.

### Claim 12 (depends on 1)

The method of claim 1, performed by a general-purpose microprocessor having a plurality of cores, and wherein at least one of the cores has circuitry responsive to the instruction.

### Claim 13

An apparatus comprising:
an execution unit that is operable as a result of a rotate instruction indicating a source operand and a rotate amount to store a result in a destination operand indicated by the rotate instruction, the result having the source operand rotated by the rotate amount, and to complete execution of the rotate instruction without reading a carry flag.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the execution unit is operable to complete execution of the rotate instruction without reading an overflow flag.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the execution unit is operable to complete execution of the rotate instruction without writing the carry flag and without writing the overflow flag.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the execution unit is operable to complete execution of the rotate instruction without reading a sign flag, without reading a zero flag, without reading an auxiliary carry flag, and without reading a parity flag.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the execution unit is operable to complete execution of the rotate instruction without writing the carry flag, without writing the overflow flag, without writing the sign flag, without writing the zero flag, without writing the auxiliary carry flag, and without writing the parity flag.

### Claim 18 (depends on 13)

The apparatus of claim 13, wherein the execution unit is responsive to a rotate instruction that explicitly specifies the source operand and that explicitly specifies the destination operand.

### Claim 19 (depends on 13)

The apparatus of claim 13, wherein the execution unit is responsive to a rotate instruction that explicitly specifies a second source operand having the rotate amount.

### Claim 20

An apparatus comprising:
an execution unit that is operable as a result of a rotate right instruction explicitly specifying a source operand and an immediate having a rotate amount to store a result in a destination operand explicitly specified by the rotate right instruction, the result having the source operand rotated right by the rotate amount, and to complete execution of the rotate instruction without reading a carry flag, without reading an overflow flag, without writing the carry flag, and without writing the overflow flag.
