# US 2006/0155973 A1 · Multithreaded hardware systems and methods

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

- Number: US 2006/0155973 A1
- Document ID: US20060155973A1
- Status: Published application
- Kind: A1
- Application number: 11/034,464
- Filed: 2005-01-13
- Published: 2006-07-13
- Earliest claimed: 2005-01-13
- Assignees: Hewlett-Packard Development Company, L.P.
- Inventors: Donald Soltis
- Web page: https://patentgrep.com/patent/US20060155973A1

## CPC

- G06F 9/462: {with multiple register sets}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Multithreaded hardware systems and methods are disclosed. One embodiment of a system may comprise a multithreaded processor comprising a register file having N hardware threads, where N is an integer greater than or equal to one, and an offline storage structure having M hardware threads, where M is an integer greater than or equal to one. The multithreaded processor system may further comprise a thread control that transfers register values associated with at least one of the N hardware threads to registers of at least one of the M hardware threads and transfers register values of at least of one of the M hardware threads to registers of at least one of the N hardware threads.

## Claims

### Claim 1

A multithreaded processor system comprising:
a register file having N hardware threads, where N is an integer greater than or equal to one;
an offline storage structure having M hardware threads, where M is an integer greater than or equal to one; and
a thread control that transfers register values associated with at least one of the N hardware threads to registers of at least one of the M hardware threads and transfers register values of at least of one of the M hardware threads to registers of at least one of the N hardware threads.

### Claim 2 (depends on 1)

The system of claim 1, wherein the thread control inactivates an active thread in the register file, unloads register values associated with a first architected state of the processor system from the inactivated thread to registers of one of the M hardware threads and loads register values from one of the M hardware threads associated with a second architected state of the processor system to the inactivated thread in the register file.

### Claim 3 (depends on 2)

The system of claim 2, wherein the one of the M hardware threads in which register values are unloaded from the inactivated thread is the same as the one of the M hardware threads in which the register values are loaded to the inactivated thread.

### Claim 4 (depends on 2)

The system of claim 2, wherein the one of the M hardware threads in which register values are unloaded from the inactivated thread is a transition thread and the one of the M hardware threads in which the register values are loaded to the inactivated thread is different than the transition thread.

### Claim 5 (depends on 1)

The system of claim 1, wherein the offline storage structure is one of an offline register file and an offline context cache.

### Claim 6 (depends on 1)

The system of claim 1, wherein the register file is arranged as columns of registers with each column having N register portions, such that each of the N register portions is associated with a different hardware thread of the register file.

### Claim 7 (depends on 6)

The system of claim 6, wherein the offline storage structure is an offline register file arranged as columns of registers with each column having M register portions, such that each of the M register portions is associated with a different hardware thread of the offline register file.

### Claim 8 (depends on 7)

The system of claim 7, wherein the M register portions and the N register portions are shift registers and a given column of M register portions associated with a respective register in the offline register file is aligned with a given column of N register portions associated with a substantially similar register in the register file, such that a shift register ring is formed that allows for the shifting register values from a thread in the offline register file to a thread in the register file concurrently with the shifting of register values from the thread in the register file to the thread in the offline register file.

### Claim 9 (depends on 1)

The system of claim 1, further comprising an execution engine that executes instructions, the execution engine executing load and store instructions that instruct the thread control to move register values from the register file to the offline storage structure and move register values from the offline storage structure to the register file.

### Claim 10 (depends on 9)

The system of claim 9, wherein the offline storage structure is an offline context cache that is one of a stand-alone structure and a portion of a cache structure.

### Claim 11 (depends on 1)

The system of claim 1, wherein N is equal to two.

### Claim 12

A multithreaded register file architecture comprising:
a register file having at least one hardware thread and associated control logic for reading and writing of register values associated with an active hardware thread of the register file;
an offline thread structure having at least one offline hardware thread for storing register values associated with an architected state of at least one inactive hardware thread of the register file; and
a thread control that initiates the transfer of register values between at least one inactive thread of the register file and the at least one offline hardware thread of the offline thread structure.

### Claim 13 (depends on 12)

The architecture of claim 12, wherein the associated control logic enables the switching of a given hardware thread of the register file between an active state and an inactive state.

### Claim 14 (depends on 12)

The architecture of claim 12, wherein the offline storage structure comprises an offline register file.

### Claim 15 (depends on 14)

The architecture of claim 14, wherein the register file is arranged as columns of registers with each column having two register portions, such that a first register portion is associated with a first hardware thread and a second register portion is associated with a second hardware thread.

### Claim 16 (depends on 15)

The architecture of claim 15, wherein the offline storage structure is an offline register file arranged as columns of registers with each column having M register portions, where M is an integer greater than or equal to one, such that each of the M register portions is associated with a different hardware thread of the offline register file, and a given column of M register portions is associated with a given column associated with a substantially similar register in the register file, such that a shift register ring is formed that allows for the shifting register values from a thread in the offline register file to an inactive thread in the register file concurrently with the shifting of register values from the inactive thread in the register file to the thread in the offline register file.

### Claim 17 (depends on 12)

The architecture of claim 12, wherein the offline storage structure is an offline context cache that is one of a stand-alone structure and a portion of a cache structure, the thread control initiating the transfer of register values between the register file to the offline context cache based on thread load and store instructions.

### Claim 18

A register file system having a register file with at least one hardware thread, the system comprising:
means for storing architected states of registers associated with at least one hardware thread of the register file offline from the register file; and
means for controlling the transfer of architected states of registers between the register file and the means for storing architected states.

### Claim 19 (depends on 18)

The system of claim 18, further comprising means for transferring register values concurrently between an inactivate hardware thread of the register file and a hardware thread of the means for storing architected states.

### Claim 20 (depends on 18)

The system of claim 18, further comprising means for instructing the means for controlling the transfer of architected states of registers.

### Claim 21

A method for storing architected states associated with registers of a register file, the method comprising:
unloading register values from a hardware thread of a register file to a hardware thread in an offline thread structure; and
loading register values from a hardware thread in the offline thread structure to a hardware thread of the register file.

### Claim 22 (depends on 21)

The method of claim 21, wherein the unloading and loading is executed concurrently.

### Claim 23 (depends on 22)

The method of claim 22, wherein the unloading and loading is executed by shifting register value bits of registers of the hardware thread of the register file into registers of the hardware thread of the offline thread structure concurrently with the shifting of register value bits of registers of the hardware thread of the offline thread structure into registers of the hardware thread of the register file.

### Claim 24 (depends on 21)

The method of claim 21, further comprising inactivating an active hardware thread in the register file, wherein the unloading comprises unloading register values from the inactivated hardware thread.

### Claim 25 (depends on 21)

The method of claim 21, further comprising executing load and store instructions that initiate the unloading of register values to an offline context cache associated with a first architected state of a hardware thread and the loading of register values from the offline context cache associated with a second architected state of a hardware thread.

### Claim 26 (depends on 21)

The method of claim 21, wherein the offline storage structure comprises one of an offline register file and an offline context cache.
