发明名称 |
CONFIDENCE THRESHOLD-BASED OPPOSING BRANCH PATH EXECUTION FOR BRANCH PREDICTION |
摘要 |
Embodiments relate to confidence threshold-based opposing path execution for branch prediction. An aspect includes determining a branch prediction for a first branch instruction that is encountered during execution of a first thread, wherein the branch prediction indicates a primary path and an opposing path for the first branch instruction. Another aspect includes executing the primary path by the first thread. Another aspect includes determining a confidence of the branch prediction and comparing the confidence of the branch prediction to a confidence threshold. Yet another aspect includes, based on the confidence of the branch prediction being less than the confidence threshold, starting a second thread that executes the opposing path of the first branch instruction, wherein the second thread is executed in parallel with the first thread. |
申请公布号 |
US2015058607(A1) |
申请公布日期 |
2015.02.26 |
申请号 |
US201414501452 |
申请日期 |
2014.09.30 |
申请人 |
International Business Machines Corporation |
发明人 |
Busaba Fadi Y.;Carlough Steven R.;Krygowski Christopher A.;Prasky Brian R.;Shum Chung-Lung K. |
分类号 |
G06F9/38 |
主分类号 |
G06F9/38 |
代理机构 |
|
代理人 |
|
主权项 |
1. A computer implemented method for confidence threshold-based opposing path execution for branch prediction, the method comprising:
determining, by a processor of a computer, a branch prediction for a first branch instruction that is encountered during execution of a first thread, wherein the branch prediction indicates a primary path and an opposing path for the first branch instruction; executing the primary path by the first thread; determining a confidence of the branch prediction; comparing the confidence of the branch prediction to a confidence threshold; and based on the confidence of the branch prediction being less than the confidence threshold, starting a second thread that executes the opposing path of the first branch instruction, wherein the second thread is executed in parallel with the first thread. |
地址 |
Armonk NY US |