Invention Grant
US08578141B2 Loop predictor and method for instruction fetching using a loop predictor
有权
循环预测器和使用循环预测器进行指令读取的方法
- Patent Title: Loop predictor and method for instruction fetching using a loop predictor
- Patent Title (中): 循环预测器和使用循环预测器进行指令读取的方法
-
Application No.: US12947134Application Date: 2010-11-16
-
Publication No.: US08578141B2Publication Date: 2013-11-05
- Inventor: Anthony Jarvis
- Applicant: Anthony Jarvis
- Applicant Address: US CA Sunnyvale
- Assignee: Advanced Micro Devices, Inc.
- Current Assignee: Advanced Micro Devices, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Volpe and Koenig, P.C.
- Main IPC: G06F7/38
- IPC: G06F7/38 ; G06F9/00 ; G06F9/44 ; G06F15/00

Abstract:
A loop predictor and a method for instruction fetching using a loop predictor. A processor may include a loop predictor in addition to a primary branch predictor. A relatively common scenario in program execution is that a set of branches repeat over and over forming a loop. The loop may be detected based on a repeated pattern of access to a data structure used for branch prediction. Once a loop is detected and it may be determined whether the codes would stay in the loop for at least a duration sufficient to disable the branch prediction. On a determination that the detected loop is locked, a sequence of instruction addresses in one iteration of the detected loop may be captured in a buffer and the branch predictor may be turned off and a sequence of fetch instructions may be played from the buffer.
Public/Granted literature
- US20120124344A1 LOOP PREDICTOR AND METHOD FOR INSTRUCTION FETCHING USING A LOOP PREDICTOR Public/Granted day:2012-05-17
Information query