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] Description and verification of KYLIN-V2.0 lattice physics code
    Wang, Dongyong
    Peng, Xingjie
    Yu, Yingrui
    Li, Qing
    Chai, Xiaoming
    NUCLEAR ENGINEERING AND DESIGN, 2021, 379
  • [42] Verification of photon transport capability of UNIST Monte Carlo code MCS
    Lemaire, Matthieu
    Lee, Hyunsuk
    Ebiwonjumi, Bamidele
    Kong, Chidong
    Kim, Wonkyeong
    Jo, Yunki
    Park, Jinsu
    Lee, Deokjung
    COMPUTER PHYSICS COMMUNICATIONS, 2018, 231 : 1 - 18
  • [43] Requirements Verification Through the Analysis of Source Code by Large Language Models
    Couder, Juan Ortiz
    Gomez, Dawson
    Ochoa, Omar
    SOUTHEASTCON 2024, 2024, : 75 - 80
  • [44] RustHornBelt: A Semantic Foundation for Functional Verification of Rust Programs with Unsafe Code
    Matsushita, Yusuke
    Denis, Xavier
    Jourdan, Jacques-Henri
    Dreyer, Derek
    PROCEEDINGS OF THE 43RD ACM SIGPLAN INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '22), 2022, : 841 - 856
  • [45] Verification of Generated RTL from P4 Source Code
    Isa, Radek
    Benacek, Pavel
    Pus, Viktor
    2018 IEEE 26TH INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS (ICNP), 2018, : 444 - 445
  • [46] Verification of Code Generators via Higher-Order Model Checking
    Suwa, Takashi
    Tsukada, Takeshi
    Kobayashi, Naoki
    Igarashi, Atsushi
    PROCEEDINGS OF THE 2017 ACM SIGPLAN WORKSHOP ON PARTIAL EVALUATION AND PROGRAM MANIPULATION (PEPM'17), 2017, : 59 - 70
  • [47] Design, Optimization and Verification of Switch Board Controller
    Panwar, Adesh
    2014 INTERNATIONAL CONFERENCE ON ADVANCES IN ELECTRONICS, COMPUTERS AND COMMUNICATIONS (ICAECC), 2014,
  • [48] Valection: design optimization for validation and verification studies
    Christopher I Cooper
    Delia Yao
    Dorota H Sendorek
    Takafumi N Yamaguchi
    Christine P’ng
    Kathleen E Houlahan
    Cristian Caloian
    Michael Fraser
    Kyle Ellrott
    Adam A Margolin
    Robert G Bristow
    Joshua M Stuart
    Paul C Boutros
    BMC Bioinformatics, 19
  • [49] Optimization of Verification of Measuring Instruments by the Rejection Method
    Yurov, L. V.
    MEASUREMENT TECHNIQUES, 2019, 62 (02) : 91 - 95
  • [50] Valection: design optimization for validation and verification studies
    Cooper, Christopher, I
    Yao, Delia
    Sendorek, Dorota H.
    Yamaguchi, Takafumi N.
    P'ng, Christine
    Houlahan, Kathleen E.
    Caloian, Cristian
    Fraser, Michael
    Ellrott, Kyle
    Margolin, Adam A.
    Bristow, Robert G.
    Stuart, Joshua M.
    Boutros, Paul C.
    BMC BIOINFORMATICS, 2018, 19