Title :
Generation of Executable Representation for Processor Simulation with Dynamic Translation
Author :
Song, JiaJia ; Hao, Hongwei ; Helmstetter, Claude ; Joloboff, Vania
Author_Institution :
Sch. of Inf. Eng., Univ. of Sci. & Technol. Beijing, Beijing
Abstract :
Instruction-Set Simulators (ISS) are indispensable tools for studying new architectures. There are several alternatives to achieve instruction set simulation, such as interpretive simulation, static translation and dynamic translation. This paper presents a simulator where we have developed and integrated three techniques: an interpretive simulator and two variants of dynamic translation. In the third variant,the simulator caches an intermediate representation that consists of pseudo instructions. These pseudo instructions use semantic functions that can be specialized using partial evaluation technique and a code generator. These three methods have been used to run the same simulated programs and compare their performance. The experiments show that the partial evaluation technique increases performance and flexibility, but also shows that it may have adverse effects.
Keywords :
instruction sets; program compilers; program interpreters; code generator; dynamic translation; executable representation; instruction-set simulators; intermediate representation; interpretive simulation; partial evaluation technique; processor simulation; pseudo instructions; semantic functions; static translation; Application software; Computational modeling; Computer aided instruction; Computer science; Computer simulation; Decoding; Program processors; Research and development; Runtime; Software engineering;
Conference_Titel :
Computer Science and Software Engineering, 2008 International Conference on
Conference_Location :
Wuhan, Hubei
Print_ISBN :
978-0-7695-3336-0
DOI :
10.1109/CSSE.2008.635