首页 | 官方网站   微博 | 高级检索  
     

BWDSP104X多条件谓词编译优化
引用本文:韩东科,郑启龙,张仁高.BWDSP104X多条件谓词编译优化[J].计算机系统应用,2018,27(1):201-205.
作者姓名:韩东科  郑启龙  张仁高
作者单位:1. 中国科学技术大学 计算机科学与技术学院, 合肥 230027;2. 中国科学技术大学 安徽省高性能计算重点实验室, 合肥 230027,1. 中国科学技术大学 计算机科学与技术学院, 合肥 230027;2. 中国科学技术大学 安徽省高性能计算重点实验室, 合肥 230027,1. 中国科学技术大学 计算机科学与技术学院, 合肥 230027;2. 中国科学技术大学 安徽省高性能计算重点实验室, 合肥 230027
基金项目:“核高基”重大专项(2012ZX01034-001-001)
摘    要:目前BWDSP104X编译器对程序中条件分支的处理是采用传统的谓词优化方法,及每条指令和一个谓词相关,只有当谓词为真时指令才被执行,但它存在的局限性是当涉及到多条件谓词时,并不能消除跳转分支,且多条件谓词之间可能存在控制依赖关系,不利于指令并行和指令流水. 因此在现有编译器框架下,针对传统谓词优化方法的不足之处,本文提出一种基于BWDSP104X体系结构下多条件谓词编译优化方法. 实验结果表明,与传统谓词优化方法相比,该优化算法在BWDSP104X编译器上能够取得平均5.62的加速比.

关 键 词:条件分支  谓词优化  多条件谓词  编译优化
收稿时间:2017/3/29 0:00:00
修稿时间:2017/4/20 0:00:00

Compilation Optimization of Multi-Condition Predicate on BWDSP104X
HAN Dong-Ke,ZHENG Qi-Long and ZHANG Ren-Gao.Compilation Optimization of Multi-Condition Predicate on BWDSP104X[J].Computer Systems& Applications,2018,27(1):201-205.
Authors:HAN Dong-Ke  ZHENG Qi-Long and ZHANG Ren-Gao
Affiliation:1. School of Computer Science and Technology, USTC, Hefei 230027, China;2. Anhui High Performance Computing Key Laboratory, USTC, Hefei 230027, China,1. School of Computer Science and Technology, USTC, Hefei 230027, China;2. Anhui High Performance Computing Key Laboratory, USTC, Hefei 230027, China and 1. School of Computer Science and Technology, USTC, Hefei 230027, China;2. Anhui High Performance Computing Key Laboratory, USTC, Hefei 230027, China
Abstract:At present, the BWDSP104X compiler deals with the conditional branching in the program by using the traditional predicate optimization method, and each instruction is associated with a predicate. Only when the predicate is true, can the instruction be executed. But its existence is limited when the conditional predicates do not eliminate jump branches, and there may be control dependencies between multiple conditional predicates, which is detrimental to instruction parallelism and instruction flow. Therefore, in the framework of the existing compiler, this paper proposes a multi-condition predicate compiler optimization method based on BWDSP104X architecture in view of the shortcomings of traditional predicate optimization method. The experimental results show that the optimization algorithm can achieve an average speed of 5.62 on the BWDSP104X compiler compared with the traditional predicate optimization method.
Keywords:conditional branching  predicate optimization  multi-condition predicates  compilation optimization
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号