# US 5,909,572 A · System and method for conditionally moving an operand from a source register to a destination register

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

- Number: US 5,909,572 A
- Document ID: US5909572A
- Status: Granted
- Kind: A
- Application number: 08/759,025
- Filed: 1996-12-02
- Granted: 1999-06-01
- Earliest claimed: 1996-12-02
- Assignees: Compaq Computer Corporation; Advanced Micro Device, Inc.
- Inventors: John S. Thayer; John G. Favor; Frederick D. Weber
- Web page: https://patentgrep.com/patent/US5909572A

## CPC

- G06F 9/30072: {to perform conditional operations, e.g. using predicates or guards}
- G06F 9/30014: {with variable precision}
- G06F 9/30025: {Format conversion instructions, e.g. Floating-Point to Integer, decimal conversion}
- 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/30043: {LOAD or STORE instructions; Clear instruction}
- 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/3885: {using a plurality of independent parallel functional units}
- G06F 9/3887: {controlled by a single instruction for multiple data lanes [SIMD]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A multimedia extension unit (MEU) is provided for performing various multimedia-type operations. The MEU can be coupled either through a coprocessor bus or a local CPU bus to a conventional processor. The MEU employs vector registers, a vector ALU, and an operand routing unit (ORU) to perform a maximum number of the multimedia operations within as few instruction cycles as possible. Complex algorithms are readily performed by arranging operands upon the vector ALU in accordance with the desired algorithm flowgraph. The ORU aligns the operands within partitioned slots or sub-slots of the vector registers using vector instructions unique to the MEU. At the output of the ORU, operand pairs from vector source or destination registers can be easily routed and combined at the vector ALU. The vector instructions employ special load/store instructions in combination with numerous operational instructions to carry out concurrent multimedia operations on the aligned operands.

## Claims

### Claim 1

A system for moving an operand from a source register to a destination register, comprising:
a first source register partitioned into a plurality of first slots and a second source register partitioned into a plurality of second slots, wherein each one of said first and second slots is configured for storing a different operand, and wherein said first and second source registers are each configured for providing multiple different operands in parallel;
a plurality of logic units each configured to perform an instruction on an operand from a respective one of said first slots and an operand from a respective one of said second slots, wherein said plurality of logic units are configured to perform concurrently;
a destination register partitioned into a plurality of destination slots;
a data bus operably coupled for loading a first operand into a slot of said plurality of first slots and for loading a second operand into a slot of said plurality of second slots, respectively; and
a control bus operably coupled to provide a conditional move instruction to one of said logic units for moving said second operand into a slot of said plurality of destination slots depending upon a value of said first operand.

### Claim 2 (depends on 1)

The system as recited in claim 1, wherein said data bus is configured such that said first operand is loaded into slot n of said plurality of said first slots and said second operand is loaded into slot n of said plurality of second slots.

### Claim 3 (depends on 2)

The system as recited in claim 2, wherein said second operand within slot n of said plurality of second slots is moved into slot n of said plurality of destination slots depending upon the value of said first operand.

### Claim 4 (depends on 1)

The system as recited in claim 1, wherein said instruction causes moving of said second operand into said destination register if the value of said first operand is equal to zero.

### Claim 5 (depends on 1)

The system as recited in claim 1, wherein said instruction causes moving of said second operand into said destination register if the value of said first operand is not equal to zero.

### Claim 6 (depends on 1)

The system as recited in claim 1, wherein said instruction causes moving of said second operand into said destination register if the value of said first operand is greater than zero.

### Claim 7 (depends on 1)

The system as recited in claim 1, wherein said instruction causes moving of said second operand into said destination register if the value of said first operand is less than zero.

### Claim 8 (depends on 1)

The system as recited in claim 1, wherein one of said logic units has a portion which receives said value and produces a signal conditioned upon said instruction and said value.

### Claim 9 (depends on 1)

The system as recited in claim 1, wherein said value is a fractional value greater than zero, less than zero, or equal to zero.

### Claim 10 (depends on 1)

The system as recited in claim 1, wherein said first and second source registers are vector registers, and wherein said logic units are configured for performing vector operations.

### Claim 11 (depends on 1)

The system as recited in claim 1, wherein said second operand is a component of a vector.

### Claim 12 (depends on 1)

The system as recited in claim 1, wherein said second operand represents a pixel within an image, and wherein said conditional move instruction is used in moving said pixel from one location to another location within the image depending upon the condition of another pixel within the image.
