# US 2010/0169628 A1 · Controlling non-redundant execution in a redundant multithreading (RMT) processor

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

- Number: US 2010/0169628 A1
- Document ID: US20100169628A1
- Status: Published application
- Kind: A1
- Application number: 12/317,802
- Filed: 2008-12-30
- Published: 2010-07-01
- Earliest claimed: 2008-12-30
- Assignees: Intel Corporation
- Inventors: Glenn J. Hinton; Steven E. Raasch; Sebastien Hily; John G. Holm; Ronak Singhal; Avinash Sodani; Deborah T. Marr
- Web page: https://patentgrep.com/patent/US20100169628A1

## CPC

- G06F 11/1683: {at instruction level}
- G06F 9/30189: {according to execution mode, e.g. mode flag}
- G06F 9/3851: {from multiple instruction streams, e.g. multistreaming}
- G06F 9/3854: {Instruction completion, e.g. retiring, committing or graduating}
- G06F 9/3861: {Recovery, e.g. branch miss-prediction, exception handling (error detection or correction G06F11/00)}
- G06F 9/3891: {organised in groups of units sharing resources, e.g. clusters}
- G06F 11/1641: {where the comparison is not performed by the redundant processing components}
- G06F 11/1658: {Data re-synchronization of a redundant component, or initial sync of replacement, additional or spare unit}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one embodiment, the present invention includes a method for controlling redundant execution such that if an exceptional event occurs, the redundant execution is stopped, non-redundant execution is performed in one of the threads until the exceptional event has been-resolved, after which a state of the threads is synchronized, and redundant execution is continued. Other embodiments are described and claimed.

## Claims

### Claim 1

An apparatus comprising:
a processor including an execution unit to execute instructions and a retirement unit to retire the executed instructions, wherein the processor is to redundantly execute first instructions in a first thread and a second thread, terminate the redundant execution when the retirement unit detects an exceptional event, initiate execution of second instructions in the first thread to resolve an exceptional condition associated with the exceptional event, synchronize a state of the first thread and a state of the second thread after the exceptional condition is resolved, and redundantly execute third instructions in the first and second threads.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising logic to cause the first thread to execute the second instructions, wherein the first thread is a primary thread.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the logic is to trigger the non-redundant execution upon detection of the exceptional condition.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the logic is to determine that the exceptional condition is resolved.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the processor includes one or more order buffers to store information associated with an operation, the information including a redundant indicator to indicate whether the operation was executed in a redundant execution mode.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the logic is to set the redundant indicator if the operation was executed in the redundant execution mode.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the processor is to mark instructions executed in the non-redundant execution with a non-redundant indicator to prevent cross-thread checking of results of the non-redundantly executed instructions.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the processor is a multithreaded processor and the first thread and the second thread are to execute on a core of the multithreaded processor.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the processor is to copy a register file of the first thread to a register file of the second thread to synchronize the thread states, and if a portion of non-register architectural state of the first thread is modified in the non-redundant execution, copy the portion of the non-register architectural state of the first thread to the second thread.

### Claim 10

A method comprising:
determining that an exceptional event occurred during redundant execution of instructions in one of a first hardware thread and a second hardware thread executing on a processor;
stopping the redundant execution;
initiating non-redundant execution of instructions in one of the first and second hardware threads, and executing instructions in the non-redundant execution until the exceptional event has been resolved;
synchronizing a state of the first and second hardware threads; and
continuing redundant execution of instructions in the first and second hardware threads.

### Claim 11 (depends on 10)

The method of claim 10, further comprising detecting the exceptional event in a retirement unit of the processor and initiating the non-redundant execution from the retirement unit.

### Claim 12 (depends on 10)

The method of claim 10, wherein the exceptional event comprises execution of a nuke operation in one of the first and second hardware threads.

### Claim 13 (depends on 10)

The method of claim 10, further comprising performing the redundant execution on a single core of the processor, wherein the processor is a multicore processor.

### Claim 14 (depends on 10)

The method of claim 10, further comprising marking instructions executed in the non-redundant execution with a non-redundant indicator to prevent cross-thread checking of results of the non-redundantly executed instructions.

### Claim 15 (depends on 10)

The method of claim 10, further comprising marking instructions executed in the non-redundant execution with a non-redundant indicator for use in deallocation of at least one instruction resource.

### Claim 16 (depends on 10)

The method of claim 10, wherein synchronizing the state comprises copying a register file of the first hardware thread to a register file of the second hardware thread.

### Claim 17 (depends on 16)

The method of claim 16, wherein synchronizing the state further comprises, if a portion of non-register architectural state of the first hardware thread is modified by the non-redundant execution, copying the portion of the non-register architectural state of the first hardware thread to the second hardware thread.

### Claim 18

A system comprising:
a multi-core processor including at least a first core and a second core, wherein the first core includes at least one execution unit and retirement logic to retire executed instructions of a first thread and a second redundant thread, the first core to, responsive to a first instruction, perform non-redundant execution of instructions in one of the first thread and the second redundant thread until receipt of a second instruction to terminate the non-redundant execution, synchronize a state of the first thread and the second redundant thread, and perform continued redundant execution of instructions in the first thread and the second redundant thread; and
a dynamic random access memory (DRAM) coupled to the multi-core processor.

### Claim 19 (depends on 18)

The system of claim 18, wherein the first core includes an order buffer to store information associated with an operation, the information including a redundant indicator to indicate whether the operation was executed in a redundant execution mode.

### Claim 20 (depends on 19)

The system of claim 19, wherein the first core is to set the redundant indicator if the operation was executed in the redundant execution mode.

### Claim 21 (depends on 18)

The system of claim 18, wherein the first and second instructions are generated by an operating system.
