已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!祝你早点完成任务,早点休息,好梦!

Automatic Vectorization of Interleaved Data Revisited

计算机科学 并行计算 矢量化(数学) 交错 x86个 编译程序 水准点(测量) 标杆管理 程序设计语言 软件 操作系统 大地测量学 业务 营销 地理
作者
Andrew Anderson,Avinash Malik,David Gregg
出处
期刊:ACM Transactions on Architecture and Code Optimization [Association for Computing Machinery]
卷期号:12 (4): 1-25 被引量:22
标识
DOI:10.1145/2838735
摘要

Automatically exploiting short vector instructions sets (SSE, AVX, NEON) is a critically important task for optimizing compilers. Vector instructions typically work best on data that is contiguous in memory, and operating on non-contiguous data requires additional work to gather and scatter the data. There are several varieties of non-contiguous access, including interleaved data access. An existing approach used by GCC generates extremely efficient code for loops with power-of-2 interleaving factors (strides). In this paper we propose a generalization of this approach that produces similar code for any compile-time constant interleaving factor. In addition, we propose several novel program transformations, which were made possible by our generalized representation of the problem. Experiments show that our approach achieves significant speedups for both power-of-2 and non--power-of-2 interleaving factors. Our vectorization approach results in mean speedups over scalar code of 1.77x on Intel SSE and 2.53x on Intel AVX2 in real-world benchmarking on a selection of BLAS Level 1 routines. On the same benchmark programs, GCC 5.0 achieves mean improvements of 1.43x on Intel SSE and 1.30x on Intel AVX2. In synthetic benchmarking on Intel SSE, our maximum improvement on data movement is over 4x for gathering operations and over 6x for scattering operations versus scalar code.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
无花果应助zaiyuechengfeng采纳,获得10
1秒前
wanci应助格物采纳,获得10
1秒前
2秒前
充电宝应助贺一恒采纳,获得10
2秒前
红莲墨生发布了新的文献求助10
2秒前
2秒前
2秒前
CipherSage应助科研通管家采纳,获得10
3秒前
tiptip应助科研通管家采纳,获得10
3秒前
wanci应助科研通管家采纳,获得10
3秒前
清欢应助科研通管家采纳,获得10
3秒前
Jasper应助科研通管家采纳,获得10
3秒前
我是老大应助科研通管家采纳,获得10
3秒前
深情安青应助科研通管家采纳,获得10
3秒前
科研通AI6.1应助Onlyyou采纳,获得10
3秒前
4秒前
4tre44完成签到 ,获得积分10
5秒前
5秒前
43他完成签到,获得积分20
6秒前
莫默发布了新的文献求助10
7秒前
xiuxiuzhang完成签到 ,获得积分10
10秒前
刘齐完成签到,获得积分10
11秒前
11秒前
43他发布了新的文献求助10
12秒前
14秒前
小马甲应助Trip_wyb采纳,获得10
15秒前
贺一恒发布了新的文献求助10
16秒前
LBM完成签到,获得积分10
17秒前
绿柏发布了新的文献求助10
17秒前
18秒前
18秒前
21秒前
灵巧若剑发布了新的文献求助10
21秒前
yeoyoo发布了新的文献求助50
23秒前
珏珏发布了新的文献求助10
24秒前
lxy发布了新的文献求助10
25秒前
zcc完成签到,获得积分10
25秒前
留白完成签到 ,获得积分10
27秒前
Trip_wyb发布了新的文献求助10
27秒前
灵巧若剑完成签到,获得积分20
29秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Polymorphism and polytypism in crystals 1000
Relation between chemical structure and local anesthetic action: tertiary alkylamine derivatives of diphenylhydantoin 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Death Without End: Korea and the Thanatographics of War 500
Der Gleislage auf der Spur 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6079746
求助须知:如何正确求助?哪些是违规求助? 7910352
关于积分的说明 16360635
捐赠科研通 5216307
什么是DOI,文献DOI怎么找? 2789099
邀请新用户注册赠送积分活动 1772029
关于科研通互助平台的介绍 1648770