...
首页> 外文期刊>Malaysian Journal of Computer Science >Aliases and Their Effect on Data Dependency Analysis
【24h】

Aliases and Their Effect on Data Dependency Analysis

机译:别名及其对数据依赖关系分析的影响

获取原文

摘要

Parallelising compilers try to automatically convert sequential programs into parallel programs to be executed on the targeted parallel machine. The main task of the parallelising compiler is to locate the areas of potential parallelism. in the sequential programs. The major problem in doing so is the data dependency in the programs. These could be identified by one or more passes of the program if unique variable names are used for the memory locations. If different variable names are used to point to the same memory location it causes a different dimension to the problem. If different variable names refer to the same location they are called aliases. Aliases could occure when there is a subprogram call. The parameters passed to the subprogram could be aliases in the subprogram itself or be aliases to the variable used in the calling program. Aliases occur during the usage of recursive data structures. Parameter scoping could also lead to alias problem when a global variable is passed to the subprogram as a parameter. To handle the problem of aliases the compiler will have to perform a detailed alias analysis so that suitable parallel codes could be generated. The alias problem has been examined and methods of identifying the occurences of aliases have been developed. The methods adopted by the tool for handling the aliases in C programs have been described.
机译:并行编译器会尝试将顺序程序自动转换为要在目标并行机上执行的并行程序。并行化编译器的主要任务是定位潜在的并行性区域。在顺序程序中。这样做的主要问题是程序中的数据依赖性。如果将唯一的变量名称用于存储位置,则可以通过程序的一次或多次遍历来识别这些变量。如果使用不同的变量名来指向相同的内存位置,则会导致问题的维度不同。如果不同的变量名引用相同的位置,则称为别名。子程序调用时可能会发生别名。传递给子程序的参数可以是子程序本身的别名,也可以是调用程序中使用的变量的别名。别名在使用递归数据结构期间发生。当将全局变量作为参数传递给子程序时,参数作用域还可能导致别名问题。为了处理别名问题,编译器将必须执行详细的别名分析,以便可以生成合适的并行代码。已经研究了别名问题,并且已经开发了识别别名出现的方法。已经描述了该工具在C程序中用于处理别名的方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号