Patent
1996-07-22
1998-04-14
Donaghue, Larry D.
39580023, G06F 1582, G06F 932
Patent
active
057404194
ABSTRACT:
A processor and method for speculatively executing an instruction loop are disclosed. In accordance with the method, the processor initiates execution of an instruction loop and counts each executed iteration of the instruction loop. Thereafter, an actual number of iterations that the instruction loop should be executed is determined. In response to the determination, a difference between the actual number of iterations that the instruction loop should be executed and the number of executed iterations is determined. In response to a determination that the difference is greater than zero, the instruction loop is executed an additional number of iterations equal to the difference. According to one embodiment, unexecuted fetched instructions within mispredicted iterations of the instruction loop are cancelled in response to a determination that the difference is less than zero. In addition, data results of mispredicted iterations of the instruction loop that have been executed are discarded. In accordance with another embodiment, the executed iterations of the instruction loop are counted by setting a count register to zero and decrementing the count register once for each iteration of the instruction loop executed. The difference between the actual number of iterations that should be executed and the number of executed iterations is determined by adding the actual number of iterations and the value of the count register.
REFERENCES:
patent: 4825360 (1989-04-01), Knight
patent: 5056604 (1991-10-01), Obole et al.
patent: 5101484 (1992-03-01), Kohn
patent: 5265253 (1993-11-01), Vamada
patent: 5303355 (1994-04-01), Gergen et al.
patent: 5404473 (1995-04-01), Papworth et al.
patent: 5454117 (1995-09-01), Puziol et al.
patent: 5608886 (1997-03-01), Blomgren et al.
patent: 5664135 (1997-09-01), Schlansker et al.
Farrens et al. "A Comparison of Superscalar and Decoupled Access/Execute Architecture" IEEE, 1993.
Dillon Andrew J.
Donaghue Larry D.
International Business Machines - Corporation
Russell Brian F.
LandOfFree
Processor and method for speculatively executing an instruction does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Processor and method for speculatively executing an instruction , we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Processor and method for speculatively executing an instruction will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-647203