z-logo
open-access-imgOpen Access
Architectural Support for Probabilistic Branches
Author(s) -
Almutaz Adileh,
David J. Lilja,
Lieven Eeckhout
Publication year - 2018
Publication title -
2018 51st annual ieee/acm international symposium on microarchitecture (micro)
Language(s) - English
Resource type - Conference proceedings
ISBN - 978-1-5386-6240-3
DOI - 10.1109/micro.2018.00018
Subject(s) - communication, networking and broadcast technologies , components, circuits, devices and systems , computing and processing , photonics and electrooptics , power, energy and industry applications , signal processing and analysis
A plethora of research efforts have focused on fine-tuning branch predictors to increasingly higher levels of accuracy. However, several important optimization, financial, and statistical data analysis algorithms rely on probabilistic computation. These applications draw random values from a distribution and steer control flow based on those values. Such probabilistic branches are challenging to predict because of their inherent probabilistic nature. As a result, probabilistic codes significantly suffer from branch mispredictions. This paper proposes Probabilistic Branch Support (PBS), a hardware/software cooperative technique that leverages the observation that the outcome of probabilistic branches needs to be correct only in a statistical sense. PBS stores the outcome and the probabilistic values that lead to the outcome of the current execution to direct the next execution of the probabilistic branch, thereby completely removing the penalty for mispredicted probabilistic branches. PBS relies on marking probabilistic branches in software for hardware to exploit. Our evaluation shows that PBS improves MPKI by 45% on average (and up to 99%) and IPC by 6.7% (up to 17%) over the TAGE-SC-L predictor. PBS requires 193 bytes of hardware overhead and introduces statistically negligible algorithmic inaccuracy.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom