Title :
Hardware/software co-design of Dynamic Binary Translation in X86 emulation
Author :
Hongqi He ; Haifeng Chen ; Liehui Jiang ; Weiyu Dong
Author_Institution :
Dept. of Comput. Sci. & Technol., NDSC, Zhengzhou, China
Abstract :
X86 emulation is an effectively method to solve the problem of software compatible between X86 and RISC processors, such as ARM, PowerPC, Alpha and so on. Dynamic Binary Translation (DBT) in X86 emulation translates the X86 binary codes to RISC binary code dynamically so that the software based on X86 platform could execute undifferentiated on RISC platform. However, the DBT based on software is one of the performance bottlenecks nowadays. In this case, this paper discusses a new method for DBT with hardware/software co-design. A hardware unit is designed to accelerate the DBT system, including Instruction Decoder, RISC Code Table, Translation Cache and Cache Query Unit. Instruction Decoder analyses the meaning of X86 binary codes and then looks up RISC Code Table to obtain the corresponding RISC binary codes. Translation Cache stores the recently translated RISC binary codes to reduce the repeated instruction translation. Cache Query Unit is used to determine whether cache hit or not. Finally, we achieve the hardware unit using Verilog HDL. Experiment showed that the co-design DBT system could work accurately.
Keywords :
cache storage; hardware description languages; hardware-software codesign; program interpreters; reduced instruction set computing; ARM; DBT; PowerPC; RISC binary code; RISC code table; RISC processors; Verilog HDL; X86 emulation; cache query unit; dynamic binary translation; hardware/software codesign; instruction decoder; software compatible; translation cache; Binary codes; Decoding; Emulation; Hardware; Reduced instruction set computing; Co-design; Dynamic Binary Translation; Hardware Unit; Instruction Translation; X86 Emulation;
Conference_Titel :
Computer Science and Automation Engineering (CSAE), 2012 IEEE International Conference on
Conference_Location :
Zhangjiajie
Print_ISBN :
978-1-4673-0088-9
DOI :
10.1109/CSAE.2012.6272775