发明名称 A RETURN STACK STRUCTURE AND A SUPERSCALAR MICROPROCESSOR EMPLOYING SAME
摘要 A return stack is described which stores return addresses associated with subroutine call instructions along with an ESP register value associated with the subroutine call instructions in a stack-type structure. During clock cycles that a return instructions is detected by a decode unit, the decode unit forwards an ESP register value associated with the return instruction to the return stack along with an indication of the return instruction detection. The return stack compares the forwarded ESP register value to the ESP register value stored on the top of the stack. If the values compare equal, then the value stored on the top of the stack may be the correct prediction address for this return instruction and is popped from the top of the stack. When the return stack detects an inequality between the two aforementioned ESP values, the return stack does not pop the top of the stack. The return stack may achieve a correct prediction rate substantially similar to the correct prediction rate in the absence of fake return instructions, even if fake return instructions are encountered.
申请公布号 EP0912925(B1) 申请公布日期 2000.03.29
申请号 EP19960925345 申请日期 1996.07.16
申请人 ADVANCED MICRO DEVICES INC. 发明人 PICKETT, JAMES, K.
分类号 G06F9/38;(IPC1-7):G06F9/38 主分类号 G06F9/38
代理机构 代理人
主权项
地址