DocumentCode :
454329
Title :
Constructing Portable Compiled Instruction-set Simulators-An ADL-driven Approach
Author :
D´Errico, Joseph ; Qin, Wei
Author_Institution :
Dept. of Electr. & Comput. Eng., Boston Univ., MA
Volume :
1
fYear :
2006
fDate :
6-10 March 2006
Firstpage :
1
Lastpage :
6
Abstract :
Instruction set simulators are common tools used for the development of new architectures and embedded software among countless other functions. This paper presents a framework that quickly generates fast and flexible instruction-set simulators from a specification based on a C-like architecture-description language. The framework provides a consistent platform for constructing and evaluating different classes of simulators, including interpreters, static-compiled simulators, and dynamic-compiled simulators. The framework also features a new construction method for dynamic-compiled simulator that invoves no low-level programming. It profiles and translates frequently executed regions of simulated binary to C+ + code and invokes GCC to compile such code into dynamically loaded libraries, which are then loaded into the simulator at run time to accelerate simulation. Our experimental results based on the MIPS architecture and the SPEC CPU2000 benchmarks show that our dynamic-compiled simulator is capable of achieving up to 11 times speedup compared to our fast interpreter. Compared to other dynamic-compiled simulators requiring significant system programming expertise to construct, the proposed approach is simpler to implement and more portable
Keywords :
C++ language; computer architecture; digital simulation; instruction sets; specification languages; systems analysis; ADL-driven approach; C++ code; C-like architecture-description language; MIPS architecture; SPEC CPU2000; dynamic-compiled simulators; portable compiled instruction-set simulators; simulated binary code; static-compiled simulators; Acceleration; Computational modeling; Computer architecture; Computer simulation; Decoding; Dynamic programming; Embedded software; Libraries; Runtime; Software design;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Design, Automation and Test in Europe, 2006. DATE '06. Proceedings
Conference_Location :
Munich
Print_ISBN :
3-9810801-1-4
Type :
conf
DOI :
10.1109/DATE.2006.244006
Filename :
1656860
Link To Document :
بازگشت