Confidence threshold-based opposing branch path execution for branch prediction
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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; based on the confidence of the br
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (2)
- Notification of Transmittal of the International Search Report and the Written Opinion of the International Searching Authority, or the Declaration; Mail date Apr. 25, 2014 for International Application No. PCT/IB2013/059500; International Filing Date: 2.
- Porter et al., "Mapping Out a Path from Hardware Transactional Memory to Speculative Multithreading," In Proceedings of the 18th International Conference on Parallel Architectures and Compilation Techniques; PACT 2009; 12 pages.