Thread-specific branch prediction by logically splitting branch history tables and predicted target address cache in a simultaneous multithreading processing environment
Abstract
Branch prediction logic is enhanced to provide a monitoring function for certain conditions which indicate that the use of separate BHTs and predicted target address cache would provide better results for branch prediction. The branch prediction logic responds to the occurrence of the monitored condition by logically splitting the BHTs and count cache so that half of the address space is allocated to a first thread and the second half is allocated to the next thread. Prediction-generated addresses that belong to the first thread are then directed to the half of the array that is allocated to that thread and prediction-generated addresses that belong to the second thread are directed to the next half of the array that is allocated to the second thread. In order to split the array, the highest order bit in the array is utilized to uniquely identify addresses of the first and the second threads.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 23.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a processor that performs simultaneous multi-threading (SMT) and which includes branch processing logic that has at least one branch history table (BHT) and a predicted target address cache (count cache), a method for improving branch prediction within an SMT environment wit a first thread and a second thread sharing similar lower order addresses, the method comprising: updating said BHT and said count cache as unified arrays when said first thread and said second thread share a same code; and dynamically allocating a first contiguous half of said BHT and of said count cache to said first t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 23 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (3)
- Hilly, S., Seznec, A. "Branch Prediction and Simultaneous Multithreading" Proceedings of PACT 1996. pp. 169-173.
- Ramsay, M., Feucht, C., Lipasti, M. "Exploring Efficient SMT Branch Predictor Design." Jun. 2003. 13 pages.
- Research Disclosure, Jun. 1, 1998, UK. vol. 41, Issue 410. TDB Acc No. NNR410111.