Title
A Light-weight Code Cache Design for Dynamic Binary Translation
Abstract
Interpretation and basic block translation (BBT) are two typical strategies for cold code emulation in a dynamic binary translation (DBT) system. More and more DBT systems employ BBT as the generated native code runs more efficient than the interpretation routines. We observe that BBT's high efficiency is based on those special hardware assists. With certain simple hardware techniques, interpretation could outperform BBT. In our pervious work, we proposed a hardware interpreted code cache (Pcache) mechanism to speedup interpretation by saving the decoded instruction information during interpretation. This light-weight code cache design could be extended to assist the hotspots translation, thus further reduce the DBT systems' overhead. We add the translation entry into the Pcache design thus saving most decoding operations during translation. We use eight SPEC 2000 integer benchmarks on our DBT simulator. Results show that the modified Pcache design causes a speedup of 1.94 according to the referenced DBT with basic interpretation and the interpretation based DBT system assisted by the modified Pcache performs more efficiently than the DBT system which employs BBT for the cold code.
Year
DOI
Venue
2009
10.1109/ICPADS.2009.134
ICPADS
Keywords
Field
DocType
design,light-weight code cache design,speedup interpretation,cache storage,decoded instruction information,cold code,pcache,interpretation,code cache,pcache design,block codes,dbt simulator,dbt system,dynamic binary translation system,cold code emulation,hardware interpreted code cache,referenced dbt,instruction sets,basic block translation,binary codes,dynamic binary translation,basic interpretation,performance,decoding,interpretation routine,hotspots translation,benchmark testing,emulation,optimization,hardware
Instruction set,Computer science,Cache,Binary code,Parallel computing,Basic block,Machine code,Binary translation,Decoding methods,Speedup,Distributed computing
Conference
ISSN
ISBN
Citations 
1521-9097
978-1-4244-5788-5
1
PageRank 
References 
Authors
0.38
7
5
Name
Order
Citations
PageRank
Wei Chen15710.51
Li Shen29515.58
Hongyi Lu3437.24
Zhi-Ying Wang4870127.04
Nong Xiao5649116.15