METHOD AND APPARATUS TO IMPLEMENT ADAPTIVE BRANCH PREDICTION THROTTLING

    公开(公告)号:US20250004781A1

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

    申请号:US18217295

    申请日:2023-06-30

    Abstract: Methods and apparatus to implement adaptive branch prediction throttling are disclosed. In one embodiment, the method comprises determining, based on looking up a branch confidence data structure, whether a current branch in execution of a single thread is a low confidence branch in which a branch predictor of a processor has a low level of certainty that outcome of the current branch is predicted correctly; and comparing a branch misprediction rate, a microinstruction waste rate, and a cache missing rate of the single thread with their corresponding thresholds. The method further comprises throttling branch prediction of the current branch based on the determination of the current branch being a low confidence branch and one or more thresholds for the branch misprediction rate, the microinstructions waste rate, and the cache missing rate of the single thread being crossed.

Patent Agency Ranking