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 条
  • [41] Code Mutation in Verification and Automatic Code Correction
    Katz, Gal
    Peled, Doron
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2010, 6015 : 435 - 450
  • [42] A FORTRAN-90 CODE FOR UNCONSTRAINED NONLINEAR MINIMIZATION
    BUCKLEY, AG
    ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 1994, 20 (03): : 354 - 372
  • [43] Algorithm 746: PCOMP - a Fortran code for automatic differentiation
    Dobmann, M.
    Liepelt, M.
    Schittkowski, K.
    ACM Transactions on Mathematical Software, 1995, 21 (03): : 233 - 266
  • [44] IMPROVED OPTIMIZATION OF FORTRAN OBJECT PROGRAMS
    SCARBOROUGH, RG
    KOLSKY, HG
    IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 1980, 24 (06) : 660 - 676
  • [45] OPTIMIZATION TECHNIQUES FOR SIMD FORTRAN COMPILERS
    KNOBE, K
    WEISS, M
    LUKAS, JD
    CONCURRENCY-PRACTICE AND EXPERIENCE, 1993, 5 (07): : 527 - 552
  • [46] Accurate instruction-level alias analysis for arm executable code
    Chong, Tat-Wai
    Chen, Peng-Sheng
    Smart Innovation, Systems and Technologies, 2013, 21 : 657 - 667
  • [47] GENERATION OF MORE EFFICIENT FORTRAN CODE VIA SYMBOLIC SOFTWARE
    PAJUNEN, P
    SUPERCOMPUTER, 1990, 7 (01): : 36 - 41
  • [48] SMART:: A compact and handy FORTRAN code for the physics of stellar atmospheres
    Sapar, A
    Poolamäe, R
    STELLAR ATMOSPHERE MODELING, 2003, 288 : 95 - 98
  • [49] Parallelization of a finite element Fortran code using OpenMP library
    Oh, Seong Eun
    Hong, Jung-Wuk
    ADVANCES IN ENGINEERING SOFTWARE, 2017, 104 : 28 - 37
  • [50] A NUMERIC APPLICATION WITH RESULT-VERIFICATION IN FORTRAN-SC
    METZGER, M
    ZEITSCHRIFT FUR ANGEWANDTE MATHEMATIK UND MECHANIK, 1989, 69 (04): : T49 - T52