A Hybrid Value Predictor using Speculative Update of the Predictor Table and Static Classification for the Pattern of Executed Instructions in Superscalar Processors

슈퍼스칼라 프로세서에서 예상 테이블의 모험적 갱신과 명령어 실행 유형의 정적 분류를 이용한 혼합형 결과값 예측기

  • 박홍준 (극동정보대학 전산정보처리과) ;
  • 조영일 (수원대학교 컴퓨터과학과)
  • Published : 2002.02.01

Abstract

We propose a new hybrid value predictor which achieves high performance by combining several predictors. Because the proposed hybrid value predictor can update the prediction table speculatively, it efficiently reduces the number of mispredicted instructions due to stale data. Also, the proposed predictor can enhance the prediction accuracy and efficiently decrease the hardware cost of predictor, because it allocates instructions into the best-suited predictor during instruction fetch stage by using the information of static classification which is obtained from the profile-based compiler implementation. For the 16-issue superscalar processors, simulation results based on the SimpleScalar/PISA tool set show that we achieve the average prediction rates of 73% by using speculative update and the average prediction rates of 88% by adding static classification for the SPECint95 benchmark programs.

데이타 종속성을 제거하기 위해서 명령어의 결과값을 예상하는 여러 결과값 예측기의 장점을 이용하여 높은 성능을 얻을 수 있는 새로운 혼합형 예측 메커니즘을 제안한다. 제안된 혼합형 결과값 예측기는 예상 테이블을 모험적으로 갱신할 수 있기 때문에 부적절한(stale) 데이타로 인해 잘못 예상되는 명령어의 수를 효과적으로 감소시킨다. 또한 정적 분류 정보를 사용하여 명령의 반입시 적절한 예측기에 할당함으로써 예상 정확도를 더욱 향상시키며, 하드웨어 비용을 효율적으로 감소시키도록 하였다. 5개의 SPECint 95 벤치마크 프로그램에 대해 SimpleScalar/PISA 3.0 툴셋을 사용하여 실험하였다. 16-이슈 폭에서 모험적 갱신을 사용한 평균 예상 정확도는 73%의 실험 결과가 나왔으며, 정적 분류 정보를 사용하였을 경우 예상 정확도가 88%로 증가된 결과를 얻었다.

Keywords

References

  1. M. H. Lipasti, C. B. Wilderson, J. P. Shen, 'Value Locality and Lead Value Prediction,' ASPLOS-VII, pp. 138-147, October 1996 https://doi.org/10.1145/237090.237173
  2. M. H. Lipasti and J. P. Shen, 'Exceeding the Dataflow limit via 'Value Prediction.' MICRO-29, pp. 226-237, December 1996 https://doi.org/10.1109/MICRO.1996.566464
  3. Y. Sazeides and J. E. Smith, 'The Predictability of Data Values.' MICRO-29, pp. 226-237, December 1996 https://doi.org/10.1109/MICRO.1997.645815
  4. F. Gabbav and A. Mendelson, 'Can Program Profiling Support Value prediction?' MICRO-30, pp. 270-280, December 1997 https://doi.org/10.1109/MICRO.1997.645817
  5. T-Y Yeh and Y. N. Patt, 'Alternative Implementations of Two-Level Adaptive Branch Prediction,' ISCA-19, pp.124-134, 1992 https://doi.org/10.1145/139669.139709
  6. K. Wang and M. Franklin, 'Highly Accurate Data value Prediction using Hybrid Predictors,' MICRO30, pp. 281-290, December 1997 https://doi.org/10.1109/MICRO.1997.645819
  7. J. Gonzalez and A. Gonzalez, 'The potential of data value speculation to boost lip,' ICS-12, 1998 https://doi.org/10.1145/277830.277840
  8. G. Reinman and B. Calder, 'Predictive techniques for aggressive load speculation,' MICRO-31, 1998 https://doi.org/10.1109/MICRO.1998.742775
  9. T. Nakra, R. Gupta and M.L. Soffa, 'Global Context-Based 'Value Prediction,' HPCA-5, January 1999 https://doi.org/10.1109/HPCA.1999.744311
  10. D.C. Burger and T.M. Austin, 'The simplescalar tool set, version 2.0'' Technical Report CS-TR-97-1342, University of wisconsin, Madison, June 1987
  11. Calder B., Feller P. and Eustace A., 'Vahle Profiling,' MICRO-30, pp. 259-269, December 1997 https://doi.org/10.1109/MICRO.1997.645816
  12. F. Dahlgren and P. Stenstrom, 'Evaluation of Hardware-Based Stride and Sequential Prefetching in Stared-Memorv Multiprocessors,' IEEE Transactions on Parallel and Distributed Systems. vol. 7. no. 4. pp. 385-398. April 1996 https://doi.org/10.1109/71.494633
  13. B. Calder, G. Reinman, D. M. Tullsen, 'Selective Value Prediction,' ISCA-26, May 1999 https://doi.org/10.1109/ISCA.1999.765940
  14. B. Rychlik, J. W. Faistl, B. P. Krug, A. Y. Kurland, J. J. Sung, M. N. Velev, J. P. Shen, 'Efficient and Accurate Value Prediction Using Dynamic Classification' Tech. rep. CMUART-1998-0
  15. J. Huang and D. Lilja, 'Exploiting Basic Block Value Locality with Block Reuse,' in Procs. of 5th Int. Symp, on High-Performance Computer Architecture, 1999 https://doi.org/10.1109/HPCA.1999.744342
  16. S. J. Lee, P. C. Yew, 'On Some Implementation Issues for Value Prediction on Wide-Issue ILP Processors' IEEE/ACM International Conference on Parallel Architectures and Compilation Techniques (PACT 2000), Oct. 2000 https://doi.org/10.1109/PACT.2000.888339
  17. Q. Zhao, D. J. Lilja, 'Compiler- Directed Static Classification of Value Locality Behavior,' Laboratory for Advanced Research in Computing Technology and Compilers Technical Report No. ARCTiC 00-07, July, 2000