| United States Patent | 8,181,005 |
| Zuraski, Jr. , et al. | May 15, 2012 |
A system and method for branch prediction in a microprocessor. A hybrid device stores branch prediction information in a sparse cache for no more than a common smaller number of branches within each entry of the instruction cache. For the less common case wherein an i-cache line comprises additional branches, the device stores the corresponding branch prediction information in a dense cache. Each entry of the sparse cache stores a bit vector indicating whether or not a corresponding instruction cache line includes additional branch instructions. This indication may also be used to select an entry in the dense cache for storage. A second sparse cache stores entire evicted entries from the first sparse cache.
| Inventors: | Zuraski, Jr.; Gerald D. (Austin, TX), Dundas; James D. (Austin, TX), Jarvis; Anthony X. (Acton, MA) |
| Assignee: |
Advanced Micro Devices, Inc.
(Sunnyvale,
CA)
|
| Family ID: | 41217601 |
| Appl. No.: | 12/205,429 |
| Filed: | September 5, 2008 |
| Current U.S. Class: | 712/239 ; 712/240 |
| Current International Class: | G06F 9/32 (20060101); G06F 9/38 (20060101) |
| Current CPC Class: | G06F 9/3806 (20130101); G06F 9/3844 (20130101) |
| Field of Search: | 712/239,240 |
| 5136697 | August 1992 | Johnson |
| 5574871 | November 1996 | Hoyt et al. |
| 5752259 | May 1998 | Tran |
| 5954816 | September 1999 | Tran et al. |
| 6067616 | May 2000 | Stiles et al. |
| 6108774 | August 2000 | Muthusamy |
| 6425075 | July 2002 | Stiles et al. |
| 6804799 | October 2004 | Zuraski, Jr. |
| 6854050 | February 2005 | Zuraski, Jr. |
| 7024545 | April 2006 | Zuraski et al. |
| 2004/0148497 | July 2004 | Vahidsafa et al. |
| 2005/0228977 | October 2005 | Cypher et al. |
| 0 798 632 | Oct., 1997 | EP | |||
| WO 99/23553 | May., 1999 | WO | |||
| WO 03/017091 | Feb., 2003 | WO | |||
Daniel A. Jimenez, Heather L. Hanson, and Calvin Lin, "Boolean Formula-based Branch Prediction for Future Technologies", Proceedings of the International Conference on Parallel Architectures and Compilation Technologies (PACT), Barcelona, Spain 2001. cited by other . Daniel A. Jimenez, Calvin Lin, "Dynamic Branch Prediction with Perceptrons," hpca, pp. 197, Seventh International Symposium on High-Performance Computer Architecture (HPCA'01), 2001. cited by other . International Search Report Application No. PCT/US2009/056136 mailed Nov. 16, 2009. cited by other. |
Last Updated : Thu May 23 19:59:33 EST 2013
Back to Jerry Z's Home Page