Mechanism for hardware tracking of return address after tail call elimination of return-type instruction
AssigneeSun Microsystems, Inc.
InventorsPaul Caprioli, Sherman H. Yip, Shailender Chaudhry
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsPaul Caprioli, Sherman H. Yip, Shailender Chaudhry
Estimating the term…
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.
An apparatus comprising:
A method comprising:
An apparatus comprising:
Dependencies are inferred from the claim text.