Lecture Notes in Computer Science, 2000, Volume 1900/2000, 178-182, DOI: 10.1007/3-540-44520-X_23

Combining Light Static Code Annotation and Instruction-Set Emulation for Flexible and Efficient On-the-Fly Simulation

Thierry Lafage and André Seznec

View Related Documents

Abstract

This paper proposes a new cost effective approach for on-the-fly microarchitecture simulations on real size applications. The original program code is lightly annotated to provide a fast (direct) execution mode, and an embedded instruction-set emulator enables on-the-fly simulations. While running, the instrumented-and-emulated program can switch from the fast mode to the emulation mode, and vice-versa. The instrumentation tool, calvin2, and the instruction-set emulator, DICE, presented in this paper, exhibit low execution overheads in fast mode (1.31 on average for the SPEC95 benchmarks). This makes our approach well suited to simulate on-the-fly samples spread over an application.

Fulltext Preview

Image of the first page of the fulltext document