J4 ›› 2012, Vol. 34 ›› Issue (2): 50-55.
• 论文 • Previous Articles Next Articles
CHEN Wei,WANG Zhiying,CHEN Xuhao,SHEN Li,LU Hongyi,XIAO Nong
Received:
Revised:
Online:
Published:
Abstract:
Interpretationbased instruction set emulation provides a solution to the binary compatibility problem. The organization of the interpretation process has great impact on the performance of an interpreter. Centralized interpretation is inefficient while the traditional threaded interpretation is not suitable for interpreting the CISC Instruction Set Architecture (ISA) because of the complicated instruction decoding process. We propose a DICachebased hybrid interpretation technique. DICache can dynamically predecode the source instruction and convert them into an intermediate form. The DICache access code is appended at the end of each interpreter routine, which enables the threaded interpretation for CISC ISA. We implement an interpreter which interprets the IA32 instructions on VLIW. We conduct some benchmarks from SPEC INT 2000 to evaluate the performance of the novel threaded interpretation method. It is demonstrated that DICachebased hybrid threaded interpretation can significantly improve the performance of an interpreter.
Key words: binary compatibility;instruction set emulation;threaded interpretation;DICache
CHEN Wei,WANG Zhiying,CHEN Xuhao,SHEN Li,LU Hongyi,XIAO Nong. A DICacheBased Hybrid Threaded Interpretation Technique[J]. J4, 2012, 34(2): 50-55.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/
http://joces.nudt.edu.cn/EN/Y2012/V34/I2/50