Patent · US Expired

Apparatus and method for conditionally flushing a pipeline upon a failure of a test condition

US6745322B1 · kind B1 · utility

4Cited by
8References
18Claims
0Family size

Assignee

Inventors

Key dates

Filing dateFeb 18, 2000
Grant dateJun 1, 2004
Priority date
Expiry dateFeb 18, 2020

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/3861
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method and apparatus that utilizes a simple test and flush mechanism to implement branch instructions of one Instruction Set Architecture (ISA) using instructions of another ISA is described. During the decoding and sequencing of microinstructions to implement a branch instruction, a fix-up address, which represents the remedial branch target in the event of a mispredicted target or branch condition, is determined and stored. A test condition is set to determine if the prediction or the branch condition was correct. When the test condition fails, the instruction execution pipeline is immediately flushed to avoid executing any instruction remaining in the pipeline following the branch instructions. The flushing of the pipeline signals the instruction fetch control mechanism to redirect the instruction flow to the instruction corresponding to the fix-up address. A method and apparatus according to the present invention further allows flushing of the pipeline when conditions other than ones involved in branch instructions occurs, e.g., to flush stale instructions.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.