Invention Grant
- Patent Title: Executing branch instructions following a speculation barrier instruction
-
Application No.: US16561383Application Date: 2019-09-05
-
Publication No.: US10977044B2Publication Date: 2021-04-13
- Inventor: Remi Marius Teyssier , Luca Nassi , Albin Pierrick Tonnerre , François Donati
- Applicant: Arm Limited
- Applicant Address: GB Cambridge
- Assignee: Arm Limited
- Current Assignee: Arm Limited
- Current Assignee Address: GB Cambridge
- Agency: Nixon & Vanderhye P.C.
- Priority: GB1816741 20181015
- Main IPC: G06F9/38
- IPC: G06F9/38 ; G06F9/30 ; G06F21/55

Abstract:
An apparatus comprising processing circuitry is provided, the processing circuitry comprising execution circuitry, commit circuitry, issue circuitry comprising an issue queue and selection circuitry, and a branch predictor. The processing circuitry is configured to identify a speculation barrier instruction in the commit queue. While an entry in the commit queue identifies a speculation barrier instruction, when a branch instruction that follows the speculation barrier instruction in the program order is selected for issue, the processing circuitry performs a first execution of the instruction, inhibiting updating of branch prediction data items associated with the branch instruction and inhibiting the selection circuitry from invalidating the associated issue queue entry. When the speculation barrier instruction completes, the processing circuitry is configured to perform a second execution of the instruction, updating the branch prediction data items associated with the branch instruction and allowing the issue circuitry to invalidate the associated issue queue entry.
Information query