Translating the ARM Neon and VFP instructions in a binary translator
檔案
本條目沒有附加檔案。
日期
2016-12
系所
期刊名稱
SOFTWARE-PRACTICE & EXPERIENCE
卷期與頁次
第 46 卷第 12 期,頁 1591–1615
DOI
ISSN
0038-0644
語言
英文
摘要
Binary translation attempts to emulate one instruction set with another on the same or different platforms. The important technique is widely used in modern software. Vector and floating-point instructions are widely used in many applications, including multimedia, graphics, and gaming. Although these instructions are usually simulated with software in a binary translator, it is important to support them such that the host single-instruction, multiple-data (SIMD) and floating-point hardware are efficiently used during emulation. We report our design and implementation of the emulation of ARM Neon and vector floating point (VFP) instructions in the machine-code-to-low-level-virtual-machine (MC2LLVM) binary translator. The Neon and VFP instructions are first translated into carefully chosen sequences of LLVM intermediate representation (IR), and later, the IR sequences are optimized and translated into the host native binary by the existing LLVM backend. Because MC2LLVM makes use of the vector and floating-point types in LLVM IR, the generated host native binary can take full advantage of the vector and floating-point functional units, if present, of the host machine. To be fully compliant with Neon and VFP instruction sets, all the features are supported, including the flush-to-zero mode, default not a number mode, and floating-point exceptions. The experimental results show that code generated by MC2LLVM with the Neon and VFP extensions achieves an average speedup of 1.174x in SPEC 2006 benchmark suites and exhibits a floating-point throughput of 12.05x in LINPACK, compared with code generated by MC2LLVM without the Neon and VFP extensions. Furthermore, MC2LLVM is 3.36x faster than QEMU for processing Neon/VFP instructions. Copyright (c) 2016 John Wiley & Sons, Ltd.
關鍵詞
binary translationcloud computingLLVMfloating-point instructionNeonvector instructionVFPvirtualization所屬典藏
期刊論文引用此條目
Guo, Y.-C., Yang, W., Chen, J.-Y., & Lee, J.-K. (2016). Translating the ARM Neon and VFP instructions in a binary translator. SOFTWARE-PRACTICE & EXPERIENCE, 46(12), 1591–1615. https://doi.org/10.1002/spe.2394
引用文字依 APA 第 7 版格式自動產生,使用前請再核對。
分享
永久網址:https://ir.lib.nycu.edu.tw/handle/11536/132790