Title :
Hybrid source-level simulation of data caches using abstract cache models
Author :
Stattelmann, Stefan ; Gebhard, Gernot ; Cullmann, Christoph ; Bringmann, Oliver ; Rosenstiel, Wolfgang
Author_Institution :
FZI Forschungszentrum Inf., Karlsruhe, Germany
Abstract :
This paper presents a hybrid cache analysis for the simulation-based evaluation of data caches in embedded systems. The proposed technique uses static analyses at the machine code level to obtain information about the control flow of a program and the memory accesses contained in it. Using the result of these analyses, a high-speed source-level simulation model is generated from the source code of the application, enabling a fast and accurate evaluation of its data cache behavior. As memory accesses are obtained from the binary-level control flow, which is simulated in parallel to the original functionality of the software, even complex compiler optimizations can be modeled accurately. Experimental results show that the presented source-level approach estimates the cache behavior of a program within the same level of accuracy as established techniques working at the machine code level.
Keywords :
cache storage; digital simulation; embedded systems; optimisation; program compilers; program diagnostics; abstract cache models; binary-level control flow; complex compiler optimizations; data caches; high-speed source-level simulation model; hybrid cache analysis; hybrid source-level simulation; machine code level; simulation-based evaluation; static analyses; Analytical models; Binary codes; Computer architecture; Data models; Optimization; Registers; Software; Cache memories; Modeling; Software performance; System analysis and design; Timing;
Conference_Titel :
Design, Automation & Test in Europe Conference & Exhibition (DATE), 2012
Conference_Location :
Dresden
Print_ISBN :
978-1-4577-2145-8
DOI :
10.1109/DATE.2012.6176500