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:
Jun. 25, 2019

Filed:

Aug. 30, 2017
Applicant:

Qualcomm Incorporated, San Diego, CA (US);

Inventors:

Vignyan Reddy Kothinti Naresh, Morrisville, NC (US);

Anil Krishna, Lakeway, TX (US);

Assignee:

QUALCOMM Incorporated, San Diego, CA (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/38 (2018.01); G06F 12/02 (2006.01); G06F 9/42 (2006.01); G06F 9/30 (2018.01); G06F 12/0875 (2016.01);
U.S. Cl.
CPC ...
G06F 9/30058 (2013.01); G06F 9/30145 (2013.01); G06F 9/3806 (2013.01); G06F 9/30134 (2013.01); G06F 9/30163 (2013.01); G06F 9/3804 (2013.01); G06F 9/3844 (2013.01); G06F 12/0875 (2013.01); G06F 2212/451 (2013.01);
Abstract

Providing efficient recursion handling using compressed return address stacks (CRASs) in processor-based systems is disclosed. In one aspect, a processor-based system provides a branch prediction circuit including a CRAS. Each CRAS entry within the CRAS includes an address field and a counter field. When a call instruction is encountered, a return address of the call instruction is compared to the address field of a top CRAS entry indicated by a CRAS top-of-stack (TOS) index. If the return address matches the top CRAS entry, the counter field of the top CRAS entry is incremented instead of adding a new CRAS entry for the return address. When a return instruction is subsequently encountered in the instruction stream, the counter field of the top CRAS entry is decremented if its value is greater than zero (0), or, if not, the top CRAS entry is removed from the CRAS.


Find Patent Forward Citations

Loading…