Publication: Branching Out: An Investigation into the Nature of Data-Dependent, Hard-to-Predict Branches
Files
Date
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Access Restrictions
Abstract
This paper explores the apparent challenges posed by branches dependent on data that are harder to predict than their data-independent counterparts. Branches dependent on load instructions are being identified as a reasonable bottleneck of modern processors due to their hard-to-predict nature. Issues are compounded in scenarios involving both cache misses and mispredicted branches. By examining some of the literature exploring the sources and effects of data-dependent branches and introducing our own experiment outlining the overall footprint of data-dependent branches in various settings, this paper emphasizes the limitations of modern cache models in this often overlooked class of branches. Highlighting the tightly coupled nature of branch instructions and subsequent laods, we suggest a dynamic, cache-oriented approach to mitigate the stalls caused by this phenomenon and conclude with a discussion on the next steps necessary in realizing this solution.