Methods, systems, and computer program products for recovering from branch prediction latency
    1.
    发明授权
    Methods, systems, and computer program products for recovering from branch prediction latency 有权
    从分支预测延迟中恢复的方法,系统和计算机程序产品

    公开(公告)号:US07822954B2

    公开(公告)日:2010-10-26

    申请号:US12034112

    申请日:2008-02-20

    IPC分类号: G06F9/38 G06F9/42

    摘要: A branch prediction algorithm is used to generate a prediction of whether or not a branch will be taken. One or more instructions are fetched such that, for each of the fetched instructions, the prediction initiates a fetch of an instruction at a predicted target of the branch. A test is performed to ascertain whether or not the prediction was generated late relative to the fetched instructions, so that if the branch is later detected as mispredicted, that detection can be correlated to the late prediction. When the prediction is generated late relative to the fetched instructions, a latent prediction is selected by utilizing a fetching initiated by the latent prediction such that a new fetch is not started.

    摘要翻译: 分支预测算法用于生成是否采用分支的预测。 取出一个或多个指令,使得对于每个获取的指令,预测启动在分支的预测目标处的指令的获取。 执行测试以确定预测是否相对于获取的指令生成较晚,使得如果稍后检测到该分支被误预测,则该检测可以与后期预测相关。 当预测相对于所获取的指令生成较晚时,通过利用由潜在预测发起的提取来选择潜在预测,使得新的获取不被开始。

    METHODS, SYSTEMS, AND COMPUTER PROGRAM PRODUCTS FOR RECOVERING FROM BRANCH PREDICTION LATENCY
    2.
    发明申请
    METHODS, SYSTEMS, AND COMPUTER PROGRAM PRODUCTS FOR RECOVERING FROM BRANCH PREDICTION LATENCY 有权
    从分支预测延迟恢复的方法,系统和计算机程序产品

    公开(公告)号:US20090210684A1

    公开(公告)日:2009-08-20

    申请号:US12034112

    申请日:2008-02-20

    IPC分类号: G06F9/30

    摘要: A branch prediction algorithm is used to generate a prediction of whether or not a branch will be taken. One or more instructions are fetched such that, for each of the fetched instructions, the prediction initiates a fetch of an instruction at a predicted target of the branch. A test is performed to ascertain whether or not the prediction was generated late relative to the fetched instructions, so that if the branch is later detected as mispredicted, that detection can be correlated to the late prediction. When the prediction is generated late relative to the fetched instructions, a latent prediction is selected by utilizing a fetching initiated by the latent prediction such that a new fetch is not started.

    摘要翻译: 分支预测算法用于生成是否采用分支的预测。 取出一个或多个指令,使得对于每个获取的指令,预测启动在分支的预测目标处的指令的获取。 执行测试以确定预测是否相对于获取的指令生成较晚,使得如果稍后检测到该分支被误预测,则该检测可以与后期预测相关。 当预测相对于所获取的指令生成较晚时,通过利用由潜在预测发起的提取来选择潜在预测,使得新的获取不被开始。

    METHOD, SYSTEM AND COMPUTER PROGRAM PRODUCT FOR MINIMIZING BRANCH PREDICTION LATENCY
    3.
    发明申请
    METHOD, SYSTEM AND COMPUTER PROGRAM PRODUCT FOR MINIMIZING BRANCH PREDICTION LATENCY 审中-公开
    用于最小化分支预测延迟的方法,系统和计算机程序产品

    公开(公告)号:US20090217017A1

    公开(公告)日:2009-08-27

    申请号:US12037137

    申请日:2008-02-26

    IPC分类号: G06F9/30

    摘要: A method, system, and computer program product for minimizing branch prediction latency in a pipelined computer processing environment are provided. The method includes detecting a branch loop utilizing branch instruction addresses and corresponding target addresses stored in a branch target buffer (BTB). The method also includes fetching the branch loop into a pre-decode instruction buffer and qualifying the branch loop for loop lockdown. The method further includes locking an instruction stream that forms the branch loop in the pre-decode instruction buffer and processing qualified branch loop instructions from the buffer and powering down instruction fetching and branch prediction logic (BPL) associated with the BTB.

    摘要翻译: 提供了一种用于在流水线计算机处理环境中最小化分支预测延迟的方法,系统和计算机程序产品。 该方法包括利用转移指令地址和存储在分支目标缓冲器(BTB)中的对应目标地址来检测分支回路。 该方法还包括将分支循环读取到预解码指令缓冲器中,并对分支循环进行限定循环锁定。 该方法还包括将形成分支循环的指令流锁定在预解码指令缓冲器中,并且处理来自缓冲器的限定分支循环指令并且断电与BTB相关联的指令获取和分支预测逻辑(BPL)。

    Method, system and computer program product for an implicit predicted return from a predicted subroutine
    4.
    发明授权
    Method, system and computer program product for an implicit predicted return from a predicted subroutine 失效
    用于预测子程序的隐式预测回报的方法,系统和计算机程序产品

    公开(公告)号:US07882338B2

    公开(公告)日:2011-02-01

    申请号:US12034066

    申请日:2008-02-20

    IPC分类号: G06F9/32

    摘要: A method, system and computer program product for performing an implicit predicted return from a predicted subroutine are provided. The system includes a branch history table/branch target buffer (BHT/BTB) to hold branch information, including a target address of a predicted subroutine and a branch type. The system also includes instruction buffers, and instruction fetch controls to perform a method including fetching a branch instruction at a branch address and a return-point instruction. The method also includes receiving the target address and the branch type, and fetching a fixed number of instructions in response to the branch type. The method further includes referencing the return-point instruction within the instruction buffers such that the return-point instruction is available upon completing the fetching of the fixed number of instructions absent a re-fetch of the return-point instruction.

    摘要翻译: 提供了一种用于从预测子程序执行隐含预测返回的方法,系统和计算机程序产品。 该系统包括用于保持分支信息的分支历史表/分支目标缓冲器(BHT / BTB),包括预测子程序的目标地址和分支类型。 该系统还包括指令缓冲器和指令获取控制,以执行包括在分支地址和返回点指令处获取分支指令的方法。 该方法还包括接收目标地址和分支类型,以及响应于分支类型取出固定数目的指令。 该方法还包括引用指令缓冲器内的返回点指令,使得在没有重新获取返回点指令的情况下完成取出固定数目的指令后,返回点指令是可用的。

    METHOD, SYSTEM AND COMPUTER PROGRAM PRODUCT FOR AN IMPLICIT PREDICTED RETURN FROM A PREDICTED SUBROUTINE
    5.
    发明申请
    METHOD, SYSTEM AND COMPUTER PROGRAM PRODUCT FOR AN IMPLICIT PREDICTED RETURN FROM A PREDICTED SUBROUTINE 失效
    方法,系统和计算机程序产品预测从预测的SUBROUTINE返回

    公开(公告)号:US20090210661A1

    公开(公告)日:2009-08-20

    申请号:US12034066

    申请日:2008-02-20

    IPC分类号: G06F9/312

    摘要: A method, system and computer program product for performing an implicit predicted return from a predicted subroutine are provided. The system includes a branch history table/branch target buffer (BHT/BTB) to hold branch information, including a target address of a predicted subroutine and a branch type. The system also includes instruction buffers, and instruction fetch controls to perform a method including fetching a branch instruction at a branch address and a return-point instruction. The method also includes receiving the target address and the branch type, and fetching a fixed number of instructions in response to the branch type. The method further includes referencing the return-point instruction within the instruction buffers such that the return-point instruction is available upon completing the fetching of the fixed number of instructions absent a re-fetch of the return-point instruction.

    摘要翻译: 提供了一种用于从预测子程序执行隐含预测返回的方法,系统和计算机程序产品。 该系统包括用于保持分支信息的分支历史表/分支目标缓冲器(BHT / BTB),包括预测子程序的目标地址和分支类型。 该系统还包括指令缓冲器和指令获取控制,以执行包括在分支地址和返回点指令处获取分支指令的方法。 该方法还包括接收目标地址和分支类型,以及响应于分支类型取出固定数目的指令。 该方法还包括引用指令缓冲器内的返回点指令,使得在没有重新获取返回点指令的情况下完成取出固定数目的指令后,返回点指令是可用的。

    System and method for Controlling restarting of instruction fetching using speculative address computations
    6.
    发明授权
    System and method for Controlling restarting of instruction fetching using speculative address computations 有权
    使用推测地址计算控制指令重写的系统和方法

    公开(公告)号:US09021240B2

    公开(公告)日:2015-04-28

    申请号:US12035911

    申请日:2008-02-22

    IPC分类号: G06F9/38 G06F9/32

    摘要: A system and method for controlling restarting of instruction fetching using speculative address computations in a processor are provided. The system includes a predicted target queue to hold branch prediction logic (BPL) generated target address values. The system also includes target selection logic including a recycle queue. The target selection logic selects a saved branch target value between a previously speculatively calculated branch target value from the recycle queue and an address value from the predicted target queue. The system further includes a compare block to identify a wrong target in response to a mismatch between the saved branch target value and a current calculated branch target, where instruction fetching is restarted in response to the wrong target.

    摘要翻译: 提供了一种用于使用处理器中的推测地址计算来控制重新启动指令取出的系统和方法。 该系统包括预测的目标队列以保持分支预测逻辑(BPL)生成的目标地址值。 系统还包括目标选择逻辑,包括循环队列。 目标选择逻辑从先前推测计算出的来自再循环队列的分支目标值和来自预测目标队列的地址值之间选择保存的分支目标值。 系统还包括比较块,用于响应于所保存的分支目标值与当前计算的分支目标之间的不匹配来识别错误的目标,其中响应于错误的目标重新启动指令获取。

    SYSTEM AND METHOD FOR CONTROLLING RESTARTING OF INSTRUCTION FETCHING USING SPECULATIVE ADDRESS COMPUTATIONS
    7.
    发明申请
    SYSTEM AND METHOD FOR CONTROLLING RESTARTING OF INSTRUCTION FETCHING USING SPECULATIVE ADDRESS COMPUTATIONS 有权
    使用分布式地址计算来控制指导性重击的系统和方法

    公开(公告)号:US20090217015A1

    公开(公告)日:2009-08-27

    申请号:US12035911

    申请日:2008-02-22

    IPC分类号: G06F9/30

    摘要: A system and method for controlling restarting of instruction fetching using speculative address computations in a processor are provided. The system includes a predicted target queue to hold branch prediction logic (BPL) generated target address values. The system also includes target selection logic including a recycle queue. The target selection logic selects a saved branch target value between a previously speculatively calculated branch target value from the recycle queue and an address value from the predicted target queue. The system further includes a compare block to identify a wrong target in response to a mismatch between the saved branch target value and a current calculated branch target, where instruction fetching is restarted in response to the wrong target.

    摘要翻译: 提供了一种用于使用处理器中的推测地址计算来控制重新启动指令取出的系统和方法。 该系统包括预测的目标队列以保持分支预测逻辑(BPL)生成的目标地址值。 系统还包括目标选择逻辑,包括循环队列。 目标选择逻辑从先前推测计算出的来自再循环队列的分支目标值和来自预测目标队列的地址值之间选择保存的分支目标值。 系统还包括比较块,用于响应于所保存的分支目标值与当前计算的分支目标之间的不匹配来识别错误的目标,其中响应于错误的目标重新启动指令获取。

    Method, system, and computer program product for reducing cache memory pollution
    8.
    发明授权
    Method, system, and computer program product for reducing cache memory pollution 有权
    方法,系统和计算机程序产品,用于减少缓存内存污染

    公开(公告)号:US08443176B2

    公开(公告)日:2013-05-14

    申请号:US12037042

    申请日:2008-02-25

    IPC分类号: G06F9/00

    摘要: A method for reducing cache memory pollution including fetching an instruction stream from a cache line, preventing a fetching for the instruction stream from a sequential cache line, searching for a next predicted taken branch instruction, determining whether a length of the instruction stream extends beyond a length of the cache line based on the next predicted taken branch instruction, continuing preventing the fetching for the instruction stream from the sequential cache line if the length of the instruction stream does not extend beyond the length of the cache line, and allowing the fetching for the instruction stream from the sequential cache line if the length of the instruction stream extends beyond the length of the cache line, whereby the fetching from the sequential cache line and a resulting polluting of a cache memory that stores the instruction stream is minimized. A corresponding system and computer program product.

    摘要翻译: 一种用于减少高速缓冲存储器污染的方法,包括从高速缓存线取出指令流,阻止从顺序高速缓存线取出指令流,搜索下一个预测的分支指令,确定指令流的长度是否延伸超过 基于下一个预测的分支指令的高速缓存线的长度,如果指令流的长度不超过高速缓存线的长度,则继续阻止从顺序高速缓存行获取指令流,并且允许取出 如果指令流的长度延伸超过高速缓存行的长度,则来自顺序高速缓存行的指令流被最小化,从而从顺序高速缓存行的取出和存储指令流的高速缓冲存储器的产生的污染最小化。 相应的系统和计算机程序产品。

    METHOD, SYSTEM, AND COMPUTER PROGRAM PRODUCT FOR REDUCING CACHE MEMORY POLLUTION
    9.
    发明申请
    METHOD, SYSTEM, AND COMPUTER PROGRAM PRODUCT FOR REDUCING CACHE MEMORY POLLUTION 有权
    用于减少高速缓存存储器污染的方法,系统和计算机程序产品

    公开(公告)号:US20090217003A1

    公开(公告)日:2009-08-27

    申请号:US12037042

    申请日:2008-02-25

    IPC分类号: G06F9/30

    摘要: A method for reducing cache memory pollution including fetching an instruction stream from a cache line, preventing a fetching for the instruction stream from a sequential cache line, searching for a next predicted taken branch instruction, determining whether a length of the instruction stream extends beyond a length of the cache line based on the next predicted taken branch instruction, continuing preventing the fetching for the instruction stream from the sequential cache line if the length of the instruction stream does not extend beyond the length of the cache line, and allowing the fetching for the instruction stream from the sequential cache line if the length of the instruction stream extends beyond the length of the cache line, whereby the fetching from the sequential cache line and a resulting polluting of a cache memory that stores the instruction stream is minimized. A corresponding system and computer program product.

    摘要翻译: 一种用于减少高速缓冲存储器污染的方法,包括从高速缓存线取出指令流,阻止从顺序高速缓存线取出指令流,搜索下一个预测的分支指令,确定指令流的长度是否延伸超过 基于下一个预测的分支指令的高速缓存线的长度,如果指令流的长度不超过高速缓存线的长度,则继续阻止从顺序高速缓存行获取指令流,并且允许取出 如果指令流的长度延伸超过高速缓存行的长度,则来自顺序高速缓存行的指令流被最小化,从而从顺序高速缓存行的取出和存储指令流的高速缓冲存储器的产生的污染最小化。 相应的系统和计算机程序产品。

    METHOD, SYSTEM AND COMPUTER PROGRAM PRODUCT FOR HARD ERROR DETECTION
    10.
    发明申请
    METHOD, SYSTEM AND COMPUTER PROGRAM PRODUCT FOR HARD ERROR DETECTION 有权
    用于硬度错误检测的方法,系统和计算机程序产品

    公开(公告)号:US20090240977A1

    公开(公告)日:2009-09-24

    申请号:US12051367

    申请日:2008-03-19

    IPC分类号: G06F11/14

    摘要: An error detection system is provided. The system includes a data array that includes one or more data entries. A copy datastore selectively stores a copy of a first single data entry of the data array. An index generator selectively increments an index that references the data array. A first comparator compares the copy with a second single data entry from the data array based on the index. An error generator generates an error signal based on a result from the first comparator.

    摘要翻译: 提供了一种错误检测系统。 该系统包括包括一个或多个数据条目的数据阵列。 复制数据存储选择性地存储数据阵列的第一单个数据条目的副本。 索引生成器选择性地增加引用数据数组的索引。 第一个比较器根据索引将该副本与数据数组中的第二个单个数据条目进行比较。 误差发生器根据第一个比较器的结果产生一个误差信号。