Invention Grant
- Patent Title: Branch target buffer with early return prediction
-
Application No.: US16043293Application Date: 2018-07-24
-
Publication No.: US11055098B2Publication Date: 2021-07-06
- Inventor: Aparna Thyagarajan , Marius Evers , Arunachalam Annamalai
- Applicant: ADVANCED MICRO DEVICES, INC.
- Applicant Address: US CA Santa Clara
- Assignee: ADVANCED MICRO DEVICES, INC.
- Current Assignee: ADVANCED MICRO DEVICES, INC.
- Current Assignee Address: US CA Santa Clara
- Main IPC: G06F9/38
- IPC: G06F9/38 ; G06F9/30

Abstract:
A processor includes a branch target buffer (BTB) having a plurality of entries whereby each entry corresponds to an associated instruction pointer value that is predicted to be a branch instruction. Each BTB entry stores a predicted branch target address for the branch instruction, and further stores information indicating whether the next branch in the block of instructions associated with the predicted branch target address is predicted to be a return instruction. In response to the BTB indicating that the next branch is predicted to be a return instruction, the processor initiates an access to a return stack that stores the return address for the predicted return instruction. By initiating access to the return stack responsive to the return prediction stored at the BTB, the processor reduces the delay in identifying the return address, thereby improving processing efficiency.
Public/Granted literature
- US20200034151A1 BRANCH TARGET BUFFER WITH EARLY RETURN PREDICTION Public/Granted day:2020-01-30
Information query