×

System and method for speculative global history prediction updating

  • US 20090125707A1
  • Filed: 11/13/2007
  • Published: 05/14/2009
  • Est. Priority Date: 11/13/2007
  • Status: Active Grant
First Claim
Patent Images

1. In a microprocessor system using pipelined instruction processing, a method for updating a speculative global history prediction record, the method comprising:

  • accepting a first microprocessor instruction of consecutive operations, including a first conditional branch operation with an associated first branch address, at a first stage in a pipelined microprocessor execution process;

    accessing a speculative global history record (SGHR) of conditional branch resolutions and predictions;

    hashing the speculative global history record with the first branch address, creating a first hash result;

    using the first hash result to index a branch history table (BHT) of previous first branch resolutions;

    in response to indexing the BHT, making a first branch prediction;

    updating the speculative global history record with the first branch prediction;

    resolving the first branch operation;

    updating a non-speculative global history record (NSGHR) of branch resolutions with the resolution of the first branch operation; and

    ,in response to the first branch prediction being incorrect, correcting the speculative global history record using the non-speculative global history record.

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