Title :
Improving branch prediction accuracy in embedded processors in the presence of context switches
Author :
Pasricha, Sudeep ; Veidenbaum, Alex
Author_Institution :
Center for Embedded Comput. Syst., California Univ., Irvine, CA, USA
Abstract :
Embedded processors like Intel´s XScale use dynamic branch prediction to improve performance. Due to the presence of context switches, the accuracy of these predictors is reduced because they end up storing prediction histories for several processes. We show that the loss in accuracy can be significant and depends on predictor type and size. Several new schemes are proposed to save and restore the predictor state, on context switches in order to improve prediction accuracy. The schemes differ in the amount of information they save and vary in their accuracy improvement. It is shown that even for a small 128 entry skew predictor, 2-6% improvement in prediction rate can be achieved (for an average context interval of 100K instructions) for different embedded applications while saving and restoring a minimal amount of state information (less than 32bits) on a context switch.
Keywords :
instruction sets; pipeline processing; program processors; Intel XScale; branch prediction accuracy; context switch; dynamic branch prediction; embedded processor; Accuracy; Costs; Degradation; Embedded computing; Hardware; History; Parallel processing; Performance loss; Pipeline processing; Switches;
Conference_Titel :
Computer Design, 2003. Proceedings. 21st International Conference on
Print_ISBN :
0-7695-2025-1
DOI :
10.1109/ICCD.2003.1240950