• DocumentCode
    2221657
  • 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
  • fYear
    2003
  • fDate
    13-15 Oct. 2003
  • Firstpage
    526
  • Lastpage
    531
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Design, 2003. Proceedings. 21st International Conference on
  • ISSN
    1063-6404
  • Print_ISBN
    0-7695-2025-1
  • Type

    conf

  • DOI
    10.1109/ICCD.2003.1240950
  • Filename
    1240950