发明名称 Return address prediction system which adjusts the contents of return stack storage to enable continued prediction after a mispredicted branch
摘要 A return prediction unit 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 return prediction unit may continue to predict return addresses correctly following a mispredicted branch instruction.
申请公布号 US5881278(A) 申请公布日期 1999.03.09
申请号 US19950550296 申请日期 1995.10.30
申请人 ADVANCED MICRO DEVICES, INC. 发明人 TRAN, THANG M.;MAHALINGAIAH, RUPAKA
分类号 G06F9/38;(IPC1-7):G06F9/32 主分类号 G06F9/38
代理机构 代理人
主权项
地址