TY - GEN
T1 - WCET Analysis meets Virtual Prototyping
T2 - 22nd International Workshop on Software and Compilers for Embedded Systems, SCOPES 2019
AU - Becker, Martin
AU - Pazaj, Marius
AU - Chakraborty, Samarjit
N1 - Publisher Copyright:
© 2019 ACM.
PY - 2019/5/27
Y1 - 2019/5/27
N2 - In this paper we discuss the problem of relating machine instructions to source level constructs, and how it has been addressed in the domains of Virtual Prototyping (VP) and Worst-Case Execution Time (WCET) analysis. It has been handled in different ways, although the goals and requirements between both domains are not far from another. This paper shows that there exists a mutual benefit in exchanging solutions between the two research domains, by demonstrating the applicability and utility of VP methods for WCET analysis, and highlighting their shortcomings. After an evaluation of existing methods, we carefully rework and combine them to a sound and generic mapping algorithm for source-level WCET analysis. As a result, we obtain WCET estimates that outperform classic binary analyzers especially under moderate compiler optimization. Our approach is based on hierarchical flow matching, control-dependency- and dominator-homomorphic maps, and dominator lumping to soundly fill the gaps in the mapping. WCET estimation is performed using Model Checking, which maximally exploits the information available in the source, and highlights remaining weaknesses in the mapping methods. Last but not least, we discuss further chances of synergy between both research communities which could enable support for more complex microarchitectures with caches, pipelines and speculative execution in both source-level WCET analysis and VP.
AB - In this paper we discuss the problem of relating machine instructions to source level constructs, and how it has been addressed in the domains of Virtual Prototyping (VP) and Worst-Case Execution Time (WCET) analysis. It has been handled in different ways, although the goals and requirements between both domains are not far from another. This paper shows that there exists a mutual benefit in exchanging solutions between the two research domains, by demonstrating the applicability and utility of VP methods for WCET analysis, and highlighting their shortcomings. After an evaluation of existing methods, we carefully rework and combine them to a sound and generic mapping algorithm for source-level WCET analysis. As a result, we obtain WCET estimates that outperform classic binary analyzers especially under moderate compiler optimization. Our approach is based on hierarchical flow matching, control-dependency- and dominator-homomorphic maps, and dominator lumping to soundly fill the gaps in the mapping. WCET estimation is performed using Model Checking, which maximally exploits the information available in the source, and highlights remaining weaknesses in the mapping methods. Last but not least, we discuss further chances of synergy between both research communities which could enable support for more complex microarchitectures with caches, pipelines and speculative execution in both source-level WCET analysis and VP.
UR - http://www.scopus.com/inward/record.url?scp=85066052074&partnerID=8YFLogxK
U2 - 10.1145/3323439.3323978
DO - 10.1145/3323439.3323978
M3 - Conference contribution
AN - SCOPUS:85066052074
T3 - Proceedings of the 22nd International Workshop on Software and Compilers for Embedded Systems, SCOPES 2019
SP - 13
EP - 22
BT - Proceedings of the 22nd International Workshop on Software and Compilers for Embedded Systems, SCOPES 2019
A2 - Stuijk, Sander
PB - Association for Computing Machinery, Inc
Y2 - 27 May 2019 through 28 May 2019
ER -