Invention Grant
US08555040B2 Indirect branch target predictor that prevents speculation if mispredict is expected 有权
间接分支目标预测器,如果预期有误预测,则可以防止投机

Indirect branch target predictor that prevents speculation if mispredict is expected
Abstract:
In one embodiment, a processor implements an indirect branch target predictor to predict target addresses of indirect branch instructions. The indirect branch target predictor may store target addresses generated during previous executions of indirect branches, and may use the stored target addresses as predictions for current indirect branches. The indirect branch target predictor may also store a validation tag corresponding to each stored target address. The validation tag may be compared to similar data corresponding to the current indirect branch being predicted. If the validation tag does not match, the indirect branch is presumed to be mispredicted (since the branch target address actually belongs to a different instruction). The indirect branch target predictor may inhibit speculative execution subsequent to the mispredicted indirect branch until the redirect is signalled for the mispredicted indirect branch.
Information query
Patent Agency Ranking
0/0