English

Workload Characterization for Branch Predictability

Hardware Architecture 2025-12-19 v1

Abstract

Conditional branch prediction predicts the likely direction of a conditional branch instruction to support ILP extraction. Branch prediction is a pattern recognition problem that learns mappings between a context to the branch outcome. An accurate predictor reduces the number of instructions executed on the wrong path resulting in an improvement of performance and energy consumption. In this paper, we present a workload characterization methodology for branch prediction. We propose two new workload-driven branch prediction accuracy identifiers -- branch working set size and branch predictability. These parameters are highly correlated with misprediction rates of modern branch prediction schemes (e.g. TAGE and perceptron). We define the branch working set of a trace as a group of most frequently occurring branch contexts, i.e. the 3-part tuple of branch address, and associated global and local history. We analyze the branch working set's size and predictability on a per-trace basis to study its relationship with a modern branch predictor's accuracy. We have characterized 2,451 workload traces into seven branch working set size and nine predictability categories after analyzing their branch behavior. We present further insights into the source of prediction accuracy and favored workload categories for modern branch predictors.

Keywords

Cite

@article{arxiv.2512.15827,
  title  = {Workload Characterization for Branch Predictability},
  author = {FNU Vikas and Paul Gratz and Daniel Jiménez},
  journal= {arXiv preprint arXiv:2512.15827},
  year   = {2025}
}

Comments

This manuscript is an archival version of work conducted as part of the author's 2020 Master's at Texas A\&M University under the supervision of Professors Paul Gratz and Daniel A.~Jim\'enez. No part of this work was conducted at, funded by, or related to the author's current employer

R2 v1 2026-07-01T08:29:54.770Z