The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Dec. 13, 2011

Filed:

Dec. 18, 2008
Applicants:

Guan-ying Chiou, Taoyuan County, TW;

Yuan-jung Kuo, Taipei County, TW;

Hui-chin Yang, Hsinchu, TW;

Tzu-min Chou, Taipei, TW;

Shun-chieh Chang, Taichung County, TW;

Chung-ping Chung, Hsinchu, TW;

Inventors:

Guan-Ying Chiou, Taoyuan County, TW;

Yuan-Jung Kuo, Taipei County, TW;

Hui-Chin Yang, Hsinchu, TW;

Tzu-Min Chou, Taipei, TW;

Shun-Chieh Chang, Taichung County, TW;

Chung-Ping Chung, Hsinchu, TW;

Assignee:

Faraday Technology Corp., Science-Based Industrial Park, Hsin-Chu, TW;

Attorneys:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/32 (2006.01);
U.S. Cl.
CPC ...
Abstract

A method for recovering global history shift register (GHSR) and return address stack (RAS) is provided, which is applicable to an instruction pipeline of a processor and includes the following steps. First, provide a branch recovery table (BRT) and a backup stack. Whenever a branch instruction enters a predetermined stage of the instruction pipeline, add a record in the BRT according to the branch instruction. Whenever a return address is popped from the RAS of the instruction pipeline, push the return address into the backup stack. When flushing the instruction pipeline, determine a removal range of the BRT according to the condition which triggers the pipeline flush. Recover the RAS according to the records in the removal range and the backup stack. Remove all records in the removal range. Recover the GHSR of the instruction pipeline according to the removed records.


Find Patent Forward Citations

Loading…