Proceedings of the Institute for System Programming of the RAS
RUS  ENG    JOURNALS   PEOPLE   ORGANISATIONS   CONFERENCES   SEMINARS   VIDEO LIBRARY   PACKAGE AMSBIB  
General information
Latest issue
Archive

Search papers
Search references

RSS
Latest issue
Current issues
Archive issues
What is RSS



Proceedings of ISP RAS:
Year:
Volume:
Issue:
Page:
Find






Personal entry:
Login:
Password:
Save password
Enter
Forgotten password?
Register


Proceedings of the Institute for System Programming of the RAS, 2015, Volume 27, Issue 6, Pages 49–66
DOI: https://doi.org/10.15514/ISPRAS-2015-27(6)-4
(Mi tisp184)
 

This article is cited in 1 scientific paper (total in 1 paper)

Methods of profile information correction during compilation

O. A. Chetverina

AO "MCST"
Full-text PDF (391 kB) Citations (1)
References:
Abstract: Performed by compiler code optimizing transformations efficiency can be greatly increased by obtaining and using program profile information, such compiler work is called profile-guided optimization (PGO). After applying transformations, which change control flow graph, it is necessary to adjust the profile information in order to maintain its adequacy for the work of succeeding optimizations. This paper considers two ways of representing profile information and the transition between them, describes the possible causes of uprising additional information on optimized code control flow requiring profile updating. Most frequently encountered problems of profile information update are considered and following solutions are offered: algorithm of acyclic graph profile correction according to its end nodes values; algorithm of loop average iteration number correction; control flow with "controversial node" profile correction algorithm. It is proved that the suggested algorithms of acyclic region counters and the loop iterations counter correction allow to change the counters ratio with original graph counters minimally. With the use of proposed algorithms, the mechanism of correction profile and thin profile information after loop peeling is described. All described methods are implemented in optimizing compilers lcc, lccs, lfortran, lfortrans for Elbrus and Sparc architectures.
Keywords: program profile, PGO, profile correction, loop iterations counter correction, extended profile information, weighted graph.
Bibliographic databases:
Document Type: Article
Language: Russian
Citation: O. A. Chetverina, “Methods of profile information correction during compilation”, Proceedings of ISP RAS, 27:6 (2015), 49–66
Citation in format AMSBIB
\Bibitem{Che15}
\by O.~A.~Chetverina
\paper Methods of profile information correction during compilation
\jour Proceedings of ISP RAS
\yr 2015
\vol 27
\issue 6
\pages 49--66
\mathnet{http://mi.mathnet.ru/tisp184}
\crossref{https://doi.org/10.15514/ISPRAS-2015-27(6)-4}
\elib{https://elibrary.ru/item.asp?id=25476298}
Linking options:
  • https://www.mathnet.ru/eng/tisp184
  • https://www.mathnet.ru/eng/tisp/v27/i6/p49
  • This publication is cited in the following 1 articles:
    Citing articles in Google Scholar: Russian citations, English citations
    Related articles in Google Scholar: Russian articles, English articles
    Proceedings of the Institute for System Programming of the RAS
    Statistics & downloads:
    Abstract page:134
    Full-text PDF :50
    References:28
     
      Contact us:
     Terms of Use  Registration to the website  Logotypes © Steklov Mathematical Institute RAS, 2024