Improving SIMD Parallelism via Dynamic Binary Translation

Author:

Hong Ding-Yong1,Liu Yu-Ping2,Fu Sheng-Yu2,Wu Jan-Jan1,Hsu Wei-Chung2

Affiliation:

1. Institute of Information Science, Academia Sinica, Taipei, Taiwan

2. Department of Computer Science and Information Engineering, National Taiwan University, Taipei, Taiwan

Abstract

Recent trends in SIMD architecture have tended toward longer vector lengths, and more enhanced SIMD features have been introduced in newer vector instruction sets. However, legacy or proprietary applications compiled with short-SIMD ISA cannot benefit from the long-SIMD architecture that supports improved parallelism and enhanced vector primitives, resulting in only a small fraction of potential peak performance. This article presents a dynamic binary translation technique that enables short-SIMD binaries to exploit benefits of new SIMD architectures by rewriting short-SIMD loop code. We propose a general approach that translates loops consisting of short-SIMD instructions to machine-independent IR, conducts SIMD loop transformation/optimization at this IR level, and finally translates to long-SIMD instructions. Two solutions are presented to enforce SIMD load/store alignment, one for the problem caused by the binary translator’s internal translation condition and one general approach using dynamic loop peeling optimization. Benchmark results show that average speedups of 1.51× and 2.48× are achieved for an ARM NEON to x86 AVX2 and x86 AVX-512 loop transformation, respectively.

Funder

Ministry of Science and Technology of Taiwan

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Software

Cited by 9 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Mimd Programs Execution Support on Simd Machines;2023

2. Algorithm-Oriented SIMD Computer Mathematical Model and Its Application;International Journal of Information and Communication Technology Education;2022-12-23

3. Reinforcement Learning assisted Loop Distribution for Locality and Vectorization;2022 IEEE/ACM Eighth Workshop on the LLVM Compiler Infrastructure in HPC (LLVM-HPC);2022-11

4. Multi-Target Adaptive Reconfigurable Acceleration for Low-Power IoT Processing;IEEE Transactions on Computers;2021-01-01

5. More with Less – Deriving More Translation Rules with Less Training Data for DBTs Using Parameterization;2020 53rd Annual IEEE/ACM International Symposium on Microarchitecture (MICRO);2020-10

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3