×

Handling cache misses by selectively flushing the pipeline

  • US 7,509,484 B1
  • Filed: 06/30/2004
  • Issued: 03/24/2009
  • Est. Priority Date: 06/30/2004
  • Status: Active Grant
First Claim
Patent Images

1. A single chip multithreaded processor comprising:

  • at least one processor core comprising a plurality of resources for forming a pipeline that generates one or more load instructions, said processor core comprising;

    an instruction fetch unit for providing instructions to said pipeline, said instruction fetch unit comprising thread detection logic for monitoring the status of each thread in the pipeline; and

    a cache unit for servicing load instructions from the pipeline;

    wherein there are a plurality of threads in the pipeline simultaneously,wherein said pipeline is arranged to switch from a first thread of the plurality of threads containing a first load instruction that misses the cache unit to a second thread, and, only when the thread detection logic detects a follow-on instruction in the pipeline from the first thread to the first load instruction, flush the first thread, andwherein said instruction fetch unit places the first thread in a wait state without flushing the first thread when the first load instruction misses the cache unit and the thread detection logic detects no instructions in the pipeline that are from the first thread and subsequent to the first load instruction.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×