Alias verification for Fortran code optimization

被引:0
|
作者
Nguyen, TVN [1 ]
Irigoin, F [1 ]
机构
[1] Ecole Mines Paris, Paris, France
关键词
alias; dummy aliasing; verification; optimization;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Alias analysis for Fortran is less complicated than for programming languages with pointers but many real Fortran programs violate the standard: a formal parameter or a common variable that is aliased with another formal parameter is modified. Compilers, assuming standard-conforming programs, consider that an assignment to one variable will not change the value of any other variable, allowing optimizations involving the aliased variables. Higher performance results but anything may happen: the program may appear to run normally, or produce incorrect answers, or behave unpredictably. The results may depend on the compiler and the optimization level. To guarantee the standard conformance of programs in order to make program analyses exact and program optimizations safe, precise alias information, i.e the determination of overlaps among arrays is studied in this paper. Static analyses and code instrumentation are used to find all violations of the aliasing rules in Fortran code. Alias violation tests are inserted only at places where it cannot be proved statically that they are useless in order to reduce the number of dynamic checks at run-time. A specific memory location naming technique is used to obtain compact representation and to enhance the precision of alias analysis. Modifications on the dependence graph created by aliasing are also studied to show the impact of aliases on the correctness of some program optimizing transformations. Experimental results on SPEC95 CFP benchmark are presented and some related issues are also discussed.
引用
收藏
页码:270 / 297
页数:28
相关论文
共 50 条
  • [1] Alias analysis for Fortran90 array slices
    Gopinath, K
    Seshadri, R
    11TH INTERNATIONAL PARALLEL PROCESSING SYMPOSIUM, PROCEEDINGS, 1997, : 628 - 632
  • [2] Alias analysis: Beyond the code
    Sridharan, M. (msridhar@us.ibm.com), 1600, Springer Verlag (7850):
  • [3] Probabilistic Alias Analysis of Executable Code
    Yu-Min Lu
    Peng-Sheng Chen
    International Journal of Parallel Programming, 2011, 39 : 663 - 693
  • [4] Probabilistic Alias Analysis of Executable Code
    Lu, Yu-Min
    Chen, Peng-Sheng
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2011, 39 (06) : 663 - 693
  • [5] Speculative alias analysis for executable code
    Fernández, M
    Espasa, R
    2002 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PROCEEDINGS, 2002, : 222 - 231
  • [6] Optimization - the basis of code-making and reliability verification
    Rackwitz, R
    STRUCTURAL SAFETY, 2000, 22 (01) : 27 - 60
  • [7] A FORTRAN code for γγ→ZZ in SM and MSSM
    T. Diakonidis
    G.J. Gounaris
    J. Layssac
    The European Physical Journal C, 2007, 50 : 47 - 52
  • [8] A PORTABLE CODE GENERATOR FOR CRAY FORTRAN
    WEERAWARANA, S
    WANG, PS
    ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 1992, 18 (03): : 241 - 255
  • [9] A FORTRAN CODE FOR SORT WITH MICROCOMPUTER APPLICATIONS
    AGARWAL, J
    KUMAR, R
    SHARMA, SP
    COMPUTERS & STRUCTURES, 1988, 30 (05) : 1209 - 1214
  • [10] FAST FORTRAN CODE - MATRIX INVERSIONS
    KLEBAN, MH
    GERONTOLOGIST, 1985, 25 : 29 - 29