Patent US5317702A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5317702A Expired / Lapsed US ⏱️ 0.0 years remaining

Device for effectively controlling a branch history table for an instruction prefetching system even if predictions are branch unsuccessful

Assignee: NEC Corp
•
Filing: 1990-05-24
•
Granted: 1994-05-31
•
Expires: 2010-05-24
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract For use in an instruction prefetching system for carrying out instruction prefetch in a data processing system in controlling a branch history table responsive to an instruction request address for producing a historical branch instruction address and a corresponding branch destination address, a device uses a detect mode which is determined by the prefetching system to indicate whether the branch destination address should or should not be used in the instruction prefetch. When the historical branch instruction address is retrieved from the table and furthermore when the branch destination address should be used, the branch destination address is actually used in the instruction prefetch. When the historical branch instruction address is retrieved and furthermore when the branch destination address should not be used, a signal is produced to indicate that the historical branch instruction address is found. In this event, the device does not send the branch destination address to the prefetching system. The device is particularly useful when a conditional branch instruction should be executed repeatedly a predetermined number of times.

Inventors

  • 👤 Tsuyoshi Morisada

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 20:31
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/30; G06F9/38; G06F9/3802; G06F9/3804; G06F9/3806

Claims Analysis

Total Claims: 3
Claim 1
Independent Claim 429 words
A device for use in an instruction prefetching system for carrying out instruction prefetch in controlling branch history table means supplied with a request address signal representative of a current request address for producing a signal pair of a branch instruction address signal representative of a previously executed branch instruction address and a branch destination address corresponding to said previously executed branch instruction address, said device comprising: a prefetch control unit for outputting a detect mode signal; a detect mode register for receiving and memorizing the detect mode signal output from said prefetch control unit, said detect mode signal being indicative of, in relation to said current request address, whether said branch destination address signal should or should not be used in the instruction prefetch; detection signal producing means connected to the branch history table means and supplied with said request address signal and said branch instruction address signal for producing a detection signal indicative of whether or not said current request address coincides with said previously executed branch instruction address; first signal register means connected to said detect mode register and said detection signal producing means for indicating, when said detect mode signal indicates that said branch destination address signal should be used in the instruction prefetch, a first signal indicative of whether the instruction prefetch should or should not proceed in accordance with said branch destination address signal; and second signal register means connected to said detect mode register and said detection signal producing means for indicating, when said detect mode signal indicates that said branch destination address signal should not be used in the instruction prefetch, a second signal indicative of whether or not said current request address coincides with said historical branch instruction address; said detect mode register memorizes said detect mode signal with first and second logic levels when said branch destination address signal should and should not be used in the instruction prefetch, respectively; said detection signal producing means producing said detection signal with a predetermined one and a different one of said first and said second logic levels when said current request address is and is not coincident with said previously executed branch instruction address, respectively; said first signal register means memorizing said first signal with a preselected one and the other of said first and said second logic levels when the instruction prefetch should and should not proceed in accordance with said branch destination address signal, respectively, said preselected one of the first and the second logic levels depending on said predetermined one of the first and the second logic levels.
Claim 2
Independent Claim 429 words
A device for use in an instruction prefetching system for carrying out instruction prefetch in controlling branch history table means supplied with a request address signal representative of a current request address for producing a signal pair of a branch instruction address signal representative of a previously executed branch instruction address and a branch destination address corresponding to said previously executed branch instruction address, said device comprising: a prefetch control unit for outputting a detect mode signal; a detect mode register for receiving and memorizing the detect mode signal output from said prefetch control unit, said detect mode signal being indicative of, in relation to said current request address, whether said branch destination address signal should or should not be used in the instruction prefetch; detection signal producing means connected to the branch history table means and supplied with said request address signal and said branch instruction address signal for producing a detection signal indicative of whether or not said current request address coincides with said previously executed branch instruction address; first signal register means connected to said detect mode register and said detection signal producing means for indicating, when said detect mode signal indicates that said branch destination address signal should be used in the instruction prefetch, a first signal indicative of whether the instruction prefetch should or should not proceed in accordance with said branch destination address signal; and second signal register means connected to said detect mode register and said detection signal producing means for indicating, when said detect mode signal indicates that said branch destination address signal should not be used in the instruction prefetch, a second signal indicative of whether or not said current request address coincides with said historical branch instruction address; said detect mode register memorizes said detect mode signal with first and second logic levels when said branch destination address signal should and should not be used in the instruction prefetch, respectively; said detection signal producing means producing said detection signal with a predetermined one and a different one of said first and said second logic levels when said current request address is and is not coincident with said previously executed branch instruction address, respectively; said first signal register means memorizing said first signal with a preselected one and the other of said first and said second logic levels when the instruction prefetch should and should not proceed in accordance with said branch destination address signal, respectively, said preselected one of the first and the second logic levels depending on said predetermined one of the first and the second logic levels.
Claim 3
Dependent Claim 159 words
A device as claimed in claim 1, wherein said first signal register means comprises: a logic gate connected to said detect mode register and said detection signal producing means for producing a gate output signal which has said preselected one of the first and the second logic levels only when said detect mode signal has said first logic level with said detection signal given said predetermined one of the first and the second logic levels and which has otherwise said other of the first and the second logic levels; and a register connected to said logic gate for indicating said gate output signal as said first signal; said device further comprising a predicted destination address register connected to said branch history table means and said logic gate for producing and for not producing said branch destination address signal when said gate output signal has said preselected one and said other of the first and the second logic levels, respectively.

References Cited (Backward Citations)

US3559183A Cited
US4477872A Cited
US4984154A Cited
US4777594A Cited
US4760520A Cited
US4763245A Cited
US4853840A Cited
US4991080A Cited
US5088030A Cited
US4764866A Cited
US4943908A Cited
US5121473A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1997-05-30 1997-11-29 1998-05-31 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2001-05-30 2001-11-29 2002-05-31 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2005-05-30 2005-11-29 2006-05-31 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag