Return address stack with branch mispredict recovery
AssigneeAkeana, Inc.
InventorsJames Youngsae Cho, Rabin Sugumar
Life of this patent
Estimating the term…
Loading patent…
AssigneeAkeana, Inc.
InventorsJames Youngsae Cho, Rabin Sugumar
Estimating the term…
Techniques for providing a return address stack with branch mispredict recovery are disclosed. A processor core is accessed. The processor core includes a return address stack (RAS), a local cache hierarchy, and branch prediction logic. RAS state information, including a write pointer, a read pointer, and a RAS count, is sent to a branch execution unit. One or more call instructions are detected in an instruction stream. The detecting generates a predicted return address for each of the one or more call instructions which are pushed on the RAS. The pushing is directed by the write pointer. One or more return instructions are recognized in the instruction stream. The write pointer and the read pointer for the RAS are updated, based on information from the branch execution unit. The predicted return address for each of the one or more return instructions is popped from the RAS.
A processor-implemented method for predicting addresses comprising:
A computer program product embodied in a non-transitory computer readable medium for predicting addresses, the computer program product comprising code which causes one or more processors to generate semiconductor logic for:
An apparatus for predicting addresses comprising:
Dependencies are inferred from the claim text.