Value Predictors for Reuse through Speculation on Traces

  • Authors:
  • Mauricio L. Pilla;Philippe O. A. Navaux;Bruce R. Childers;Amarildo T. da Costa;Felipe M. G. Franca

  • Affiliations:
  • UFRGS - Brazil;UFRGS - Brazil;Univ. of Pittsburgh - USA;IME - Brazil;COPPE/UFRJ - Brazil

  • Venue:
  • SBAC-PAD '04 Proceedings of the 16th Symposium on Computer Architecture and High Performance Computing
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Reusing dynamic sequences of instructions-i.e., traces-improves performance for many benchmarks. However, many traces are not reused because of unavailable inputs in the reuse test. Reuse through Speculation on Traces (RST) aims to increase the number of reused traces by predicting those inputs when necessary, with minimal additional hardware when compared to non-speculative trace reuse. In this paper, we compare last n-value and stride-aware prediction for trace inputs. Last n-value prediction uses the last recorded values as predictions, while stride-aware prediction identifies and uses strides to compute new predictions. Stride-aware RST has a higher hardware cost than last n-value RST and has also the shortcoming of not allowing branches inside predicted traces. This paper aims to determine which scheme is the most beneficial for RST. We show that stride values are important for reuse in RST and that last n-value prediction works as well as the more sophisticated stride-aware approach with simpler hardware.