Patent
1996-11-20
1998-05-05
Lim, Krisna
395393, 395394, G06F 938
Patent
active
057489351
ABSTRACT:
In a pipelined processor, a method and apparatus for performing restoration of the previous values of young bits in the annex after a mispredicted branch has been detected. In a first embodiment, beginning with the oldest annex entry, the destination register address of that entry is broadcast to all other entries. All annex entries with matching addresses have their young bits reset, while the young bits of the broadcast entry is set. The above broadcast, compare, reset, and set operations are performed on all the remaining valid entries sequentially and in order of decreasing age. When all valid entries have been broadcast, the young bit states are correctly reconstructed. In a second embodiment, each annex entry has a current young bit Y0 and one or more past young bits (Y1 through YN). For branch condition resolutions which take up to N clock cycles, N past young bits are maintained in each annex entry. During every machine cycle in which a new annex entry is received, the contents of Yk is shifted to Yk+1 for all k from 0 to N-1, and the current young bits Y0 are updated. When a mispredicted branch is detected after the results of i speculative instructions have been entered in the annex, the past young bit Yi is restored back into the current young bit Y0 for each annex entry. Thus, restoration of the correct young bits is performed in a small constant time. Both embodiments may be implemented in the same processor to optimize recovery from both short and long latency mispredictions.
REFERENCES:
patent: 4594660 (1986-06-01), Guenthner et al.
patent: 4862412 (1989-08-01), Fried et al.
patent: 5173872 (1992-12-01), Crawford et al.
patent: 5226126 (1993-07-01), McFarland et al.
patent: 5339268 (1994-08-01), Machida
patent: 5345569 (1994-09-01), Tran
patent: 5369605 (1994-11-01), Parks
patent: 5396448 (1995-03-01), Takayanagi et al.
patent: 5442757 (1995-08-01), McFarland et al.
patent: 5454117 (1995-09-01), Puziol et al.
patent: 5463745 (1995-10-01), Vidwans et al.
patent: 5471591 (1995-11-01), Edmondson et al.
patent: 5487156 (1996-01-01), Popescu et al.
patent: 5519864 (1996-05-01), Martell et al.
patent: 5524262 (1996-06-01), Colwell et al.
patent: 5535346 (1996-07-01), Thomas, Jr.
patent: 5548776 (1996-08-01), Colwell et al.
patent: 5561776 (1996-10-01), Popescu et al.
patent: 5584038 (1996-12-01), Papworth et al.
patent: 5592636 (1997-01-01), Popescu et al.
patent: 5613083 (1997-03-01), Glew et al.
"The MetaFlow Architecture", Val PoPeSCU Jun. 1991 pp. 64-65.
G.S. SOHI: "Instruction Issue Logic for High-Performance, Interruptible, Multiple Functional Unit, Pipelined Computers", IEEE Transactions on Computers, vol. 39, No. 3, Mar. 1990, New York, NY, pp. 349-359, XP000103439.
M.D. Smith et al: "Boosting Beyond Static Scheduling in a Superscalar Processor", Proceedings of the 17th Annual International Symposium on Computer Architecture, May 28-31, 1990, Seattle, WA, pp. 344-354, XP000144785.
Tremblay Marc
Yarlagadda Krishna C.
Lim Krisna
Najjar Saleh
Sun Microsystems Inc.
LandOfFree
Reconstruction of young bits in annex after mispredicted executi does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Reconstruction of young bits in annex after mispredicted executi, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Reconstruction of young bits in annex after mispredicted executi will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-68332