Title :
Fast cycle estimation methodology for instruction-level emulator
Author :
Thach, David ; Tamiya, Yutaka ; Kuwamura, Shin´ya ; Ike, Atsushi
Author_Institution :
Fujitsu Labs. Ltd., Kawasaki, Japan
Abstract :
In this paper, we propose a cycle estimation methodology for fast instruction-level CPU emulators. This methodology suggests achieving accurate software performance estimation at high emulation speed by utilizing a two-phase pipeline scheduling process: a static pipeline scheduling phase performed off-line before runtime, followed by an accuracy refinement phase performed at runtime. The first phase delivers a pre-estimated CPU cycle count while limiting impact on the emulation speed. The second phase refines the pre-estimated cycle count to provide further accuracy. We implemented this methodology on QEMU and compared cycle counts with a physical ARM CPU. Our results show the efficiency of the tradeoffs between emulation speed and cycle accuracy: cycle simulation error averages 10% while the emulation latency is 3.37 times that of original QEMU.
Keywords :
instruction sets; pipeline processing; processor scheduling; software performance evaluation; QEMU; accuracy refinement phase; accurate software performance estimation; cycle simulation error; fast cycle estimation methodology; fast instruction-level CPU emulators; physical ARM CPU; preestimated CPU cycle count; static pipeline scheduling phase; two-phase pipeline scheduling process; Accuracy; Computational modeling; Dynamic scheduling; Emulation; Estimation; Pipelines; Processor scheduling;
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.6176470