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 条
  • [21] Optimization and performance of a Fortran 90 MPI-based unstructured code on large scale parallel systems
    Shires, D
    Mohan, R
    Mark, A
    PDPTA'2001: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, 2001, : 34 - 40
  • [22] USING VAXIMA (MACSYMA) TO WRITE FORTRAN CODE
    STEINBERG, S
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 1984, 188 (AUG): : 3 - COMP
  • [23] FORTRAN OPTIMIZATION - METCALF,M
    CLARKE, PA
    COMPUTER JOURNAL, 1984, 27 (04): : 382 - 382
  • [24] Code Verification for the SENSEI CFD Code
    Xue, Weicheng
    Wang, Hongyu
    Roy, Christopher J.
    JOURNAL OF VERIFICATION, VALIDATION AND UNCERTAINTY QUANTIFICATION, 2023, 8 (02):
  • [25] Savonarola alias Mosè. The Mosaic Code in the action of Girolamo Savonarola
    Lauria, Virginia
    DE MEDIO AEVO, 2023, 12 (02): : 331 - 341
  • [26] Verification conditions are code
    Gravell, Andrew M.
    ACTA INFORMATICA, 2007, 43 (06) : 431 - 447
  • [27] Verification conditions are code
    Andrew M. Gravell
    Acta Informatica, 2007, 43 : 431 - 447
  • [28] Optimization and Performance of a Fortran 90 MPI-Based Unstructured Code on Large-Scale Parallel Systems
    Dale Shires
    Ram Mohan
    The Journal of Supercomputing, 2003, 25 : 131 - 141
  • [29] Deriving an object model from legacy FORTRAN code
    Subramaniam, GV
    Byrne, EJ
    INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1996, : 3 - 12
  • [30] Restructuring sequential Fortran code into a parallel/distributed application
    Everaars, CTH
    Arbab, F
    Burger, FJ
    INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1996, : 13 - 22