Patents
US 7,136,992 B2#4826372 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for a stew-based loop predictor

18Forward Citations (#4826372 Global)
0.9/yrCitation Velocity (#7917188 Global)
3.87Citation PageRank (#5012922 Global)
1Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A method and apparatus for a loop predictor for predicting the end of a loop is disclosed. In one embodiment, the loop predictor may have a predict counter to hold a predict count representing the expected number of times that a predictor stew value will repeat during the execution of a given loop. The loop predictor may also have one or more running counters to hold a count of the times that the stew value has repeated during the execution of the present loop. When the counter values match the predictor may issue a prediction that the loop will end.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 18.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    An apparatus, comprising: a source of instructions to store a set of instructions; a loop predictor to predict when a branch of said set of instructions will be not loop direction, to include a predict counter to hold a predict count corresponding to a number of times a stew value was repeated during a previous execution of a loop bounded by said branch, and to include a running counter to hold a running count of a number of times said stew value has been repeated during a current execution of said loop.

  2. Claim 2Depends on #1

    The apparatus of claim 1 , further comprising a compare circuitry to issue a prediction when said running count matches said predict count.

  3. Claim 3Depends on #1

    The apparatus of claim 1 , wherein said predict count is trained by results from a pipeline retirement stage.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (2)

  • Evers et al., "Using Hybrid Branch Predictors to Improve Branch Prediction Accuracy in the Presence of Context Switches", Proceedings of the 23<SUP>rd </SUP>Annual International Symposium on Computer Architecture, ACM, 1996, pp. 3-11.
  • Loh et al., "Predicting Conditional Branches with Fusion-Based Hybrid Predictors", Proceedings of the 2002 International Conference on Parallel Architectures and Compiler Techniques, IEEE, pp. 165-176.