• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2006, Vol. 28 ›› Issue (10): 104-106.

• 论文 • 上一篇    下一篇

GCC4.1数据依赖分析器的分析与改进

曾利永 杨灿群 黄春   

  • 出版日期:2006-10-01 发布日期:2010-05-20

  • Online:2006-10-01 Published:2010-05-20

摘要:

本文深入分析了GCC4.1的数据依赖分析器,针对它在分析Fortran程序的线性化数组访问时的不足,给出了两点改进:一是初步实现了一个非仿射数组下标依赖分析算法;二是提出并实现了分裂递归链的仿射数组下标数据依赖分析方法。实验表明,这两点改进增强了GCC4.1的数据依赖分析能力,为进行循环变换如循环交换提供了更准确的数据依赖信息。

关键词: GCC 数据依赖分析 线性化数组访问 仿射数组下标

Abstract:

After thoroughly analyzing the GCC 4.1 data dependence analyzer, we make two contributions to overcome its limitations on analyzing linearized array r eferences of Fortran programs. First,we implement a preliminary data dependence analysis algorithm for nonaffine array subscript references. Second, we present and implement a data dependence analysis method for affine array subscript references by splitting the chain of recurrences. Experiments show that with these improvements the ability of data dependence analysis in GCC 4.1 is for performing loop transformations, such as loop interchange. enhanced  , and more accurate information can be providedfor performing loop transformations, such as loop interchange.

Key words: (GCC, data dependence analysis;linearized array reference;affine array subscript)