×

PROCESSOR AND METHOD FOR RECOVERING GLOBAL HISTORY SHIFT REGISTER AND RETURN ADDRESS STACK THEREOF

  • US 20100161951A1
  • Filed: 12/18/2008
  • Published: 06/24/2010
  • Est. Priority Date: 12/18/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for recovering a global history shift register (GHSR) of an instruction pipeline of a processor, the method comprising:

  • providing a branch recovery table (BRT);

    adding a record to the BRT according to each of a plurality of branch instructions when said branch instruction enters a predetermined stage of the instruction pipeline;

    determining a removal range of the BRT according to a condition which triggers a pipeline flush of the instruction pipeline;

    removing all records in the removal range; and

    recovering the GHSR of the instruction pipeline according to the removed records.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×