对于SLP(superword level parallel)算法不能高效处理并行代码占有率较小的大型应用程序的问题,提出并评估了一种新型的基于改进的SLP算法的编译框架。它主要包括三个阶段:将代码中结构相似的异构语句通过改进的SLP算法尽可能地改为同构语句;用全局的观点,在优化目标代码之前获取其数据模型重用;联合数据布局优化进行进一步的性能提升。针对框架做了大量实验,实验结果表明该框架比SLP算法性能更佳,性能提高约15.3%。%Since the SLP(superword level parallel)algorithm could not efficiently deal with the large-scale applications which covered few parallel codes.This paper proposed and evaluated a new compile framework based on the improved SLP algorithm. It contained three phases.First,it tried to transform the non-isomorphic but similar instruction sequences to isomorphic instruc-tion sequences by the improved algorithm as far as possible.Second,it took a global point of view of the target application when capturing the superwords reuse patterns before making the optimization decisions.Eventually,it combined data layout optimiza-tion for further performance improvement.This paper did much experiment on the framework.The experimental results indicates that the optimization of the compile framework is better than SLP algorithm,the performance increases about 15.3%.
展开▼