Email:    yinma@mtu.edu
     Phone:   (906)4825502
     Address:  219 Hubbell St. ,Houghton

¡¡

Low-cost Register-pressure Prediction for Scalar Replacement Using Pseudo-schedules*

Abstract

Scalar replacement is an effective optimization for removing memory accesses. However, exposing all possible array reuse with scalars may cause a significant increase in register pressure, resulting in register spilling and performance degradation. In this paper, we present a low cost method to predict the register pressure of a loop before applying scalar replacement on high-level source code, called Pseudo-schedule Register Prediction (PRP), that takes into account the effects of both software pipelining and register allocation. PRP attempts to eliminate the possibility of degradation from scalar replacement due to register spilling while providing opportunities for a good speedup. PRP uses three approximation algorithms: one for constructing a data dependence graph, one for computing the recurrence constraints of a software pipelined loop, and one for building a pseudo-schedule. Our experiments show that PRP predicts the floating-point register pressure within 2 registers and the integer register pressure within 2.7 registers on average with a time complexity of O(n2) in practice. PRP achieves similar performance to the best previous approach, having O(n3) complexity, with less than one-fourth of the compilation time on our test suite.

  • The paper about this research work has been published in In the Proceedings of the 2004 International Conference on Parallel Processing (ICPP-04), Page 116-124, Montreal, Canada£¬ 2004£­08

  • Download Full Text here. [PDF]

¡¡

 
__Myself & Resume________________

  1. Resume [Before 2003.1][Html]
  2. Resume [PDF][132K]

__Research & Study________________

  1. Compiler Optimization
  2. Mobile Computing (Ad hoc Network)
  3. Public Key Infrastructure (PKI)
  4. XML & XML Signature
  5. JPEG 2000
  6. CORBA
  7. Software Engineering
  8. Economics
  9. Psychology

 __Life & Photos___________________

  1. Houghton and Denial Heights
  2. Our Campus
  3. California Tour 1
  4. California Tour 2
  5. California Tour 3
  6. Winter Carnival 2001
  7. Spring Festival 2001
  8. Summer Vacation in Japan
  9. Yellow Stone National Park
  10. Picture Rocks 2002
  11. Twin Lake
  12. Chicago
  13. Commencement 2002
  14. Winter Carnival 2002
  15. Mont Ripley
  16. New York 2003
  17. Porcupine Mountain
    ¡¡
  18. My Car

__Interest & Habits________________

  1. Investment
  2. Chinese Calligraphy
  3. Basketball
  4. 3DCG
  5. Literary
  6. Comic Art
  7. Tennis
  8. Snowboarding
  9. Social Dance
  10. More....

Association for 
Computing Machinery (ACM)


Chinese Students and
 Scholars Association (CSSA)


.::.--= YIN MA'S PERSONAL HOMEPAGE =--.::.
2003.8