首页> 外文期刊>Software >Efficient and retargetable SIMD translation in a dynamic binary translator
【24h】

Efficient and retargetable SIMD translation in a dynamic binary translator

机译:动态二进制转换器中的高效且可重定向的SIMD转换

获取原文
获取原文并翻译 | 示例
       

摘要

The single-instruction multiple-data (SIMD) computing capability of modern processors is continually improved to deliver ever better performance and power efficiency. For example, Intel has increased SIMD register lengths from 128 bits in streaming SIMD extension to 512 bits in AVX-512. The ARM scalable vector extension supports SIMD register length up to 2048 bits and includes predicated instructions. However, SIMD instruction translation in dynamic binary translation has not received similar attention. For example, the widely used QEMU emulates guest SIMD instructions with a sequence of scalar instructions, even when the host machines have relevant SIMD instructions. This leaves significant potential for performance enhancement. We propose a newly designed SIMD translation framework for dynamic binary translation, which takes advantage of the host's SIMD capabilities. The proposed framework has been built in HQEMU, an enhanced QEMU with a separate thread for applying LLVM optimizations. The current prototype supports ARMv7, ARMv8, and IA32 guests on the X86-64 AVX-2 host. Compared with the scalar-translation version HQEMU, our framework runs up to 1.84 times faster on Standard Performance Evaluation Corporation 2006 CFP benchmarks and up to 6.81 times faster on selected real applications.
机译:不断改进现代处理器的单指令多数据(SIMD)计算能力,以提供更好的性能和能效。例如,英特尔将SIMD寄存器的长度从流式SIMD扩展中的128位增加到了AVX-512中的512位。 ARM可扩展矢量扩展支持SIMD寄存器的最大长度为2048位,并包含谓词指令。但是,动态二进制翻译中的SIMD指令翻译并没有受到类似的关注。例如,即使主机具有相关的SIMD指令,广泛使用的QEMU也会用一系列标量指令来模拟来宾SIMD指令。这为性能提升留下了巨大的潜力。我们提出了一种新设计的用于动态二进制翻译的SIMD翻译框架,该框架利用了主机的SIMD功能。拟议的框架已在HQEMU中构建,HQEMU是增强型QEMU,具有用于应用LLVM优化的单独线程。当前的原型在X86-64 AVX-2主机上支持ARMv7,ARMv8和IA32来宾。与标量转换版本HQEMU相比,我们的框架在Standard Performance Evaluation Corporation 2006 CFP基准测试中的运行速度提高了1.84倍,在选定的实际应用程序中的运行速度提高了6.81倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号