发明名称 Optimization of alternate loop exits
摘要 An optimization method to be carried out within a digital computer under programmed control for eliminating or removing from a loop body alternate exit tests substantially of the form alpha i+ beta cond phi , where alpha , beta and phi are loop invariant expressions, i is the innermost loop index variable, and cond is one of the relational operators (=, NOTEQUAL ,>,>/=,<,</=). Each alternate exit test is compared to a list of elimination conditions. If an alternate exit test matches one of the elimination conditions, it is eliminated entirely from the loop body. If the alternate exit test cannot be eliminated, it is then compared to a list of restriction conditions. If the alternate exit test matches one of the restriction conditions, the loop index upper bound is modified if necessary and the alternate exit test is moved from inside to outside of the loop body. The resulting altered loop body is near optimum in terms of both the storage area utilized and the program execution time.
申请公布号 US5361354(A) 申请公布日期 1994.11.01
申请号 US19910809390 申请日期 1991.12.17
申请人 CRAY RESEARCH, INC. 发明人 GREYZCK, TERRY
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址