Coarse-Grained Automatic Parallelization Approach for Branch Nested Loop

Liu Hui, Jinlong Xu, Ding Lili
{"title":"Coarse-Grained Automatic Parallelization Approach for Branch Nested Loop","authors":"Liu Hui, Jinlong Xu, Ding Lili","doi":"10.23940/ijpe.19.11.p5.28712881","DOIUrl":null,"url":null,"abstract":"GCC compiler is a retargetable compiler program that was developed to increase the efficiency of programs in the GNU system. In recent years, compiler optimization based on data dependency analysis has become an important research area of modern compilers. Existing GCC compilers can only conduct dependency analysis on perfect nested loops. In order to better explore the coarse-grained parallelism of the nested loops, we propose a dependence test method that can deal with the branch nested loops. Firstly, we identify the branch nested loop in the programs. Then, we analyze the relationship between the array subscript and the outer index variable of the branch nested loop. Finally, we calculate the distance vector of the outer loop index variable and determine whether the loop has dependence through distance vector detection. Experimental results show that our method can correctly and effectively analyze the dependence relationship of branch nested loops.","PeriodicalId":39483,"journal":{"name":"International Journal of Performability Engineering","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2019-12-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Performability Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23940/ijpe.19.11.p5.28712881","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Engineering","Score":null,"Total":0}
引用次数: 1

Abstract

GCC compiler is a retargetable compiler program that was developed to increase the efficiency of programs in the GNU system. In recent years, compiler optimization based on data dependency analysis has become an important research area of modern compilers. Existing GCC compilers can only conduct dependency analysis on perfect nested loops. In order to better explore the coarse-grained parallelism of the nested loops, we propose a dependence test method that can deal with the branch nested loops. Firstly, we identify the branch nested loop in the programs. Then, we analyze the relationship between the array subscript and the outer index variable of the branch nested loop. Finally, we calculate the distance vector of the outer loop index variable and determine whether the loop has dependence through distance vector detection. Experimental results show that our method can correctly and effectively analyze the dependence relationship of branch nested loops.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
分支嵌套循环的粗粒度自动并行化方法
GCC编译器是一种可重定目标的编译器程序,旨在提高GNU系统中程序的效率。近年来,基于数据依赖分析的编译器优化已成为现代编译器的一个重要研究领域。现有的GCC编译器只能对完美的嵌套循环进行依赖性分析。为了更好地探索嵌套循环的粗粒度并行性,我们提出了一种可以处理分支嵌套循环的依赖性测试方法。首先,我们识别程序中的分支嵌套循环。然后,我们分析了数组下标与分支嵌套循环的外部索引变量之间的关系。最后,我们计算外环索引变量的距离向量,并通过距离向量检测来确定环是否具有相关性。实验结果表明,该方法能够正确有效地分析分支嵌套循环的依赖关系。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
International Journal of Performability Engineering
International Journal of Performability Engineering Engineering-Safety, Risk, Reliability and Quality
CiteScore
2.30
自引率
0.00%
发文量
56
期刊最新文献
An Adaptable Approach to Fault Tolerance in Cloud Computing Maintainability of Service-Oriented Architecture using Hybrid K-means Clustering Approach Low Power Full Adders based on Proposed Hybrid and GDI Designs: A Novel Approach Boosting X-Ray Scans Feature for Enriched Diagnosis of Pediatric Pneumonia using Deep Learning Models A Survey of Distributed Data Storage in the Cloud for Multitenant Applications
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1