Device and method for predicting function return address
Patent Information
- Authority / Receiving Office
- CN Β· China
- Current Assignee / Owner
- C SKY MICROSYST CO LTD
- Publication Date
- 2015-04-29
- Estimated Expiration
- Not applicable Β· inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of microprocessors, in particular to a device and method for function return address prediction. Background technique
[0002] The transfer instruction is one of the basic instructions of the processor and widely exists in the program. The transfer instruction will introduce the transfer of program control flow, which is one of the performance killers of the processor. Further, the branch instruction includes conditional branch instruction, unconditional branch instruction and indirect branch instruction. Among them, the function return instruction, as a kind of indirect transfer instruction, is frequently applied to the program return of sub-functions, which has a significant impact on the performance of the processor. In order to speed up the execution speed of function return instructions, middle and high-end embedded processors generally use function return address stacks to provide return address prediction for...