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] Probabilistic Alias Analysis of Executable Code
    Yu-Min Lu
    Peng-Sheng Chen
    International Journal of Parallel Programming, 2011, 39 : 663 - 693
  • [2] Probabilistic Alias Analysis of Executable Code
    Lu, Yu-Min
    Chen, Peng-Sheng
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2011, 39 (06) : 663 - 693
  • [3] OPTIMIZATION OF EXPRESSIONS IN FORTRAN
    BUSAM, VA
    ENGLUND, DE
    COMMUNICATIONS OF THE ACM, 1969, 12 (12) : 666 - &
  • [4] Code Verification and Solution Verification framework in pin-resolved neutron transport code MPACT
    Wang, Jipu
    Martin, William R.
    Downar, Thomas J.
    Kochunas, Brendan
    Andrews, Nathan C.
    Gilkey, Lindsay
    Walker, Erik D.
    Collins, Benjamin S.
    Pilch, Martin
    ANNALS OF NUCLEAR ENERGY, 2022, 178
  • [5] Computationally Sound Verification of Source Code
    Backes, Michael
    Maffei, Matteo
    Unruh, Dominique
    PROCEEDINGS OF THE 17TH ACM CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'10), 2010, : 387 - 398
  • [6] Verification of the BISON fuel performance code
    Hales, J. D.
    Novascone, S. R.
    Spencer, B. W.
    Williamson, R. L.
    Pastore, G.
    Perez, D. M.
    ANNALS OF NUCLEAR ENERGY, 2014, 71 : 81 - 90
  • [7] Generation of optimized FORTRAN code for molecular integrals of Gaussian-type functions
    Scott, TC
    Grant, IP
    Monagan, MB
    Saunders, VR
    MAPLETECH, 1997, 4 (02): : 15 - 24
  • [8] OBJECT CODE OPTIMIZATION
    LOWRY, ES
    MEDLOCK, CW
    COMMUNICATIONS OF THE ACM, 1969, 12 (01) : 13 - &
  • [9] Ongoing verification of a multiphysics community code: FLASH
    Dubey, Anshu
    Weide, Klaus
    Lee, Dongwook
    Bachan, John
    Daley, Christopher
    Olofin, Samuel
    Taylor, Noel
    Rich, Paul M.
    Reid, Lynn B.
    SOFTWARE-PRACTICE & EXPERIENCE, 2015, 45 (02) : 233 - 244
  • [10] Verification of Functional Correctness of Code Diversification Techniques
    Jang, Jae-Won
    Verbeek, Freek
    Ravindran, Binoy
    NASA FORMAL METHODS (NFM 2021), 2021, 12673 : 160 - 179