###
计算机系统应用英文版:2018,27(1):201-205
本文二维码信息
码上扫一扫!
BWDSP104X多条件谓词编译优化
(1. 中国科学技术大学 计算机科学与技术学院, 合肥 230027;2.
2. 中国科学技术大学 安徽省高性能计算重点实验室, 合肥 230027)
Compilation Optimization of Multi-Condition Predicate on BWDSP104X
(1. School of Computer Science and Technology, USTC, Hefei 230027, China;2.
2. Anhui High Performance Computing Key Laboratory, USTC, Hefei 230027, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1261次   下载 1439
Received:March 29, 2017    Revised:April 20, 2017
中文摘要: 目前BWDSP104X编译器对程序中条件分支的处理是采用传统的谓词优化方法,及每条指令和一个谓词相关,只有当谓词为真时指令才被执行,但它存在的局限性是当涉及到多条件谓词时,并不能消除跳转分支,且多条件谓词之间可能存在控制依赖关系,不利于指令并行和指令流水. 因此在现有编译器框架下,针对传统谓词优化方法的不足之处,本文提出一种基于BWDSP104X体系结构下多条件谓词编译优化方法. 实验结果表明,与传统谓词优化方法相比,该优化算法在BWDSP104X编译器上能够取得平均5.62的加速比.
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.
文章编号:     中图分类号:    文献标志码:
基金项目:“核高基”重大专项(2012ZX01034-001-001)
引用文本:
韩东科,郑启龙,张仁高.BWDSP104X多条件谓词编译优化.计算机系统应用,2018,27(1):201-205
HAN Dong-Ke,ZHENG Qi-Long,ZHANG Ren-Gao.Compilation Optimization of Multi-Condition Predicate on BWDSP104X.COMPUTER SYSTEMS APPLICATIONS,2018,27(1):201-205