Conley, Rose & Tayon, PC
Superscalar microprocessor configured to predict return addresses from a return stack storage
 A microprocessor is provided which is configured to predict return addresses for return instructions according to a return stack storage included therein. The return stack storage is a stack structure configured to store return addresses associated with previously detected call instructions. Return addresses may be predicted for return instructions early in the instruction processing pipeline of the microprocessor. In one embodiment, the return stack storage additionally stores a call tag and a return tag with each return address. The call tag and return tag respectively identify call and return instructions associated with the return address. These tags may be compared to a branch tag conveyed to the return prediction unit upon detection of a branch misprediction. The results of the comparisons may be used to adjust the contents of the return stack storage with respect to the misprediction. The microprocessor may continue to predict return addresses correctly following a mispredicted branch instruction. 
Advanced Micro Devices, Inc.
G G G G G G G G G G
G06F G06F G06F G06F G06F G06F G06F G06F G06F G01R
inventional inventional inventional additional inventional inventional inventional inventional inventional additional
Thang M. Rupaka
Tran Mahalingaiah