发明名称 Mechanism for hardware tracking of return address after tail call elimination of return-type instruction
摘要 A technique maintains return address stack (RAS) content and alignment of a RAS top-of-stack (TOS) pointer upon detection of a tail-call elimination of a return-type instruction. In at least one embodiment of the invention, an apparatus includes a processor pipeline and at least a first return address stack for maintaining a stack of return addresses associated with instruction flow at a first stage of the processor pipeline. The processor pipeline is configured to maintain the first return address stack unchanged in response to detection of a tail-call elimination sequence of one or more instructions associated with a first call-type instruction encountered by the first stage. The processor pipeline is configured to push a return address associated with the first call-type instruction onto the first return address stack otherwise.
申请公布号 US7610474(B2) 申请公布日期 2009.10.27
申请号 US20060352147 申请日期 2006.02.10
申请人 SUN MICROSYSTEMS, INC. 发明人 CAPRIOLI PAUL;YIP SHERMAN H.;CHAUDHRY SHAILENDER
分类号 G06F9/00 主分类号 G06F9/00
代理机构 代理人
主权项
地址