# US 2004/0073774 A1 · Processing system with separate general purpose execution unit and data string manipulation

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

- Number: US 2004/0073774 A1
- Document ID: US20040073774A1
- Status: Published application
- Kind: A1
- Application number: 10/705,423
- Filed: 2003-11-11
- Published: 2004-04-15
- Earliest claimed: 1998-10-23
- Assignees: Micron Technology, Inc.
- Inventors: Dean A. Klein
- Web page: https://patentgrep.com/patent/US20040073774A1

## CPC

- G06F 12/0886: Variable-length word access
- G06F 9/30018: {Bit or string instructions}
- G06F 9/30043: {LOAD or STORE instructions; Clear instruction}
- G06F 9/3877: {using a secondary processor, e.g. coprocessor (peripheral processor G06F13/12)}
- G06F 9/3879: {for non-native instruction execution, e.g. executing a command; for Java instruction set}
- G06F 9/3885: {using a plurality of independent parallel functional units}
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F 12/0815: Cache consistency protocols
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processing system optimized for data string manipulations includes data string execution circuitry associated with a bus interface unit or memory controller. Cache coherency is maintained, and data move and compare operations may be performed efficiently on cached data. A barrel shifter for realignment of cached data during move operations and comparators for comparing a test data string to cached data a cache line at a time may be provided.

## Claims

### Claim 1

A method of performing data string operations comprising:
routing a series of instructions to a general purpose microprocessor having a first execution unit for executing instructions;
analyzing said series of instructions so as to detect an instruction to perform a data string operation;
routing said instruction to perform a data string operation to a second execution unit separate from said first execution unit, wherein said second execution unit receives an undecoded version of said instruction;
controlling read and write operations to and from external memory with said general purpose microprocessor via control circuitry, wherein said external memory is external to said general purpose microprocessor; and
controlling read and write operations to and from external memory with said second execution unit via said control circuitry and without intervention by said first execution unit.

### Claim 2 (depends on 1)

The method of claim 1, wherein said first execution unit is on a first integrated circuit and wherein said second execution unit is on a second integrated circuit.

### Claim 3 (depends on 2)

The method of claim 2, wherein said second integrated circuit includes a bus interface unit in association with said second execution unit.

### Claim 4 (depends on 2)

The method of claim 2, wherein said second integrated circuit comprises a memory controller.

### Claim 5 (depends on 4)

The method of claim 4, wherein said act of routing said data string instruction to said memory controller comprises writing said data string instruction to an I/O address.

### Claim 6 (depends on 5)

The method of claim 5, wherein said I/O address is normally not used for I/O devices.

### Claim 7 (depends on 1)

The method of claim 1, additionally comprising checking the content of a data cache to determine if at least a portion of a data string which is the subject of said data string instruction is present in said data cache.

### Claim 8 (depends on 7)

The method of claim 7, wherein modified cache lines present in said data cache which contain data forming at least a portion of said data string are written back to main memory before or during the execution of said data string instruction.

### Claim 9

A digital processing system optimized for string manipulations comprising:
an instruction fetch unit coupled to an external memory;
a first execution unit coupled to receive, decode, and perform assembly language arithmetic and logic instructions received from memory via said instruction fetch unit;
a second execution unit coupled to receive, decode, and perform assembly language string manipulation instructions received from memory via said instruction fetch unit; and
memory circuitry, external to said first and second execution units, configured to be alternatively controlled by said first execution unit and said second execution unit using the same memory control circuitry, wherein said first execution unit and said second execution unit are separately coupled to said memory control circuitry.

### Claim 10 (depends on 9)

The digital processing system of claim 9 additionally comprising a data cache, wherein said data cache stores a subset of that data which is stored in said memory, and wherein said second execution unit is coupled to said data cache and configured to maintain data cache coherency with said memory.

### Claim 11 (depends on 10)

The digital processing system of claim 10, additionally comprising a plurality of comparators having a first input coupled to said data cache and a second input coupled to a source of compare data.

### Claim 12 (depends on 11)

The digital processing system of claim 11, wherein said source of compare data comprises said second execution unit.

### Claim 13

A processing system comprising:
a main memory for storing data and instructions;
a cache memory for storing a subset of said data stored in said main memory;
a first execution unit on a first integrated circuit, configured to perform arithmetic and logical instructions on data received from said main memory and said cache memory;
a memory controller on a second integrated circuit, coupled to said main memory and said first execution unit, comprising string execution circuitry configured to receive, decode, and perform assembly language string manipulation instructions on data from said main memory and said cache memory, wherein said memory controller is configured to control read and write operations to and from said main memory for both said string execution circuitry and said first execution unit; and
means for maintaining cache memory coherency with said main memory.

### Claim 14

A processing system comprising:
an instruction fetch unit coupled to an external memory;
a first execution unit coupled to receive, decode, and perform assembly language arithmetic and logic instructions received from memory via said instruction fetch unit;
a second execution unit coupled to receive, decode, and perform assembly language string manipulation instructions received from memory via said instruction fetch unit;
memory circuitry, external to said first and second execution units; and
a bus interface unit, coupled to said memory circuitry, said first execution unit, and said second execution unit, wherein said memory circuitry is configured to be alternatively controlled by said first execution unit and said second execution unit via said bus interface unit, and wherein said second execution unit is configured to operate said memory circuitry independently of said first execution unit.

### Claim 15

A method of performing data string operations comprising:
routing a series of individual assembly language opcodes to a general purpose microprocessor having a first execution unit for executing instructions;
analyzing said series assembly language opcodes so as to detect an instruction to perform a data string operation;
routing said instruction to perform a data string operation to a second execution unit separate from said first execution unit, wherein said instruction comprises at least one individual opcode for performing a data string operation, and wherein said second execution unit receives an undecoded version of said instruction;
controlling read and write operations to and from memory external to said general purpose microprocessor with said general purpose microprocessor via control circuitry; and
controlling read and write operations to and from said memory with said second execution unit via said control circuitry.

### Claim 16 (depends on 15)

The method of claim 15, wherein said first execution unit is on a first integrated circuit and wherein said second execution unit is on a second integrated circuit.

### Claim 17 (depends on 16)

The method of claim 16, wherein said second integrated circuit comprises a memory controller.

### Claim 18 (depends on 17)

The method of claim 17, wherein routing said instruction to perform a data string operation to said second execution unit comprises writing said data string instruction to an I/O address.

### Claim 19 (depends on 18)

The method of claim 18, wherein said I/O address is normally not used for I/O devices.

### Claim 20 (depends on 15)

The method of claim 15, additionally comprising checking the content of a data cache to determine if at least a portion of a data string which is the subject of said data string instruction is present in said data cache.

### Claim 21 (depends on 20)

The method of claim 20, wherein modified cache lines present in said data cache which contain data forming at least a portion of said data string are written back to main memory before or during the execution of said data string instruction.

### Claim 22

A processing system comprising:
a host processing integrated circuit;
a separate memory integrated circuit;
a separate memory controller integrated circuit coupled between said host processing integrated circuit and said memory integrated circuit; and
dedicated string execution circuitry integral to said memory controller integrated circuit and configured to perform string manipulation instructions on data in said memory integrated circuit without intervention by said host processing integrated circuit.

### Claim 23 (depends on 22)

The processing system of claim 22, wherein said host processing integrated circuit comprises both a general purpose execution unit and a dedicated string execution unit.

### Claim 24

A method of performing data string operations comprising:
routing a series of instructions to a general purpose microprocessor having a first execution unit for executing instructions;
analyzing said series of instructions with said first execution unit so as to detect an instruction to perform a data string operation; and
routing with the first execution unit said instruction to perform a data string operation to a second execution unit separate from said first execution unit, wherein said second execution unit receives an undecoded version of said instruction.

### Claim 25 (depends on 24)

The method of claim 24, wherein said first execution unit is on a first integrated circuit and wherein said second execution unit is on a second integrated circuit.

### Claim 26 (depends on 25)

The method of claim 25, wherein said second integrated circuit includes a bus interface unit in association with said second execution unit.

### Claim 27 (depends on 25)

The method of claim 25, wherein said second integrated circuit comprises a memory controller.

### Claim 28 (depends on 27)

The method of claim 27, wherein said act of routing said data string instruction to said memory controller comprises writing said data string instruction to an I/O address.

### Claim 29 (depends on 28)

The method of claim 28, wherein said I/O address is normally not used for I/O devices.

### Claim 30 (depends on 26)

The method of claim 26, additionally comprising checking the content of a data cache to determine if at least a portion of a data string which is the subject of said data string instruction is present in said data cache.

### Claim 31 (depends on 30)

The method of claim 30, wherein modified cache lines present in said data cache which contain data forming at least a portion of said data string are written back to main memory before or during the execution of said data string instruction.

### Claim 32

A method of performing data string operations comprising:
routing a series of instructions to a general purpose microprocessor having a first execution unit;
analyzing said series of instructions so as to detect an instruction to perform a data string operation; and
routing said instruction to perform a data string operation to a second execution unit such that said first execution unit does not receive said instruction.

### Claim 33 (depends on 32)

The method of claim 32, wherein said first execution unit is on a first integrated circuit and wherein said second execution unit is on a second integrated circuit.

### Claim 34 (depends on 33)

The method of claim 33, wherein said second integrated circuit includes a bus interface unit in association with said second execution unit.

### Claim 35 (depends on 33)

The method of claim 33, wherein said second integrated circuit comprises a memory controller.

### Claim 36 (depends on 35)

The method of claim 35, wherein said act of routing said data string instruction to said memory controller comprises writing said data string instruction to an I/O address.

### Claim 37 (depends on 36)

The method of claim 36, wherein said I/O address is normally not used for I/O devices.

### Claim 38 (depends on 32)

The method of claim 32, additionally comprising checking the content of a data cache to determine if at least a portion of a data string which is the subject of said data string instruction is present in said data cache.

### Claim 39 (depends on 38)

The method of claim 38, wherein modified cache lines present in said data cache which contain data forming at least a portion of said data string are written back to main memory before or during the execution of said data string instruction.

### Claim 40 (depends on 32)

The method of claim 32, wherein analyzing said series of instructions is performed by an instruction fetch unit.
