Associating tag to branch instruction to access array storing predicted target addresses for page crossing targets for comparison with resolved address at execution stage
Abstract
A processor configured to facilitate transfer and storage of predicted targets for control transfer instructions (CTIs). In certain embodiments, the processor may be multithreaded and support storage of predicted targets for multiple threads. In some embodiments, a CTI branch target may be stored by one element of a processor and a tag may indicate the location of the stored target. The tag may be associated with the CTI rather than associating the complete target address with the CTI. When the CTI reaches an execution stage of the processor, the tag may be used to retrieve the predicted target address. In some embodiments using a tag to retrieve a predicted target, CTI instructions from different processor threads may be interleaved without affecting retrieval of predicted targets.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus, comprising: an instruction fetch unit configured to fetch instructions including a first control transfer instruction (CTI); a branch prediction unit configured to generate predicted target addresses for CTIs, wherein one or more of the predicted target addresses are definitively determined before performance of the corresponding CTI and wherein one or more of the predicted target addresses cross a page boundary, wherein the branch prediction unit is not configured to definitively determine predicted targets addresses that cross a page boundary before performance of the correspon
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- Ching-Long Su, Despain, A.M., "Branch with masked squashing in superpipelined processors," Proceedings of the 21st Annual International Symposium on Computer Architecture, 1994, pp. 130-140.
- Ching-Long Su, Despain, A.M., "Minimizing branch misprediction penalties for superpipelined processors," Proceedings of the 27th Annual International Symposium on Microarchitecture, 1994, pp. 138-142.
- Guan-Ying Chiu, Hui-Chin Yang, Li, W.Y.-H., Chung-Ping Chung, "Mechanism for return stack and branch history corrections under misprediction in deep pipeline design," 13th Asia-Pacific Computer Systems Architecture Conference, 2008, 8 pages.
- Gummaraju, J., Franklin, M., "Branch prediction in multi-threaded processors," Proceedings at the International Conference on Parallel Architectures and Compilation Techniques, 2000, pp. 179-188.
- International Search Report and Written Opinion in Application No. PCT/US2012/037807, mailed Sep. 14, 2012, pp. 1-11.