发明名称 Method for improving the efficiency of arithmetic code generation in an optimizing compiler using machine independent update instruction generation
摘要 This invention provides a process within an optimizing compiler for transforming code to take advantage of update instructions available on some computer architectures. On architectures which implement some form of autoindexing instructions or addressing modes, this process will improve the code generated for looping constructs which manipulate arrays in memory. The process is achieved by selecting memory referencing instructions inside loops for conversion to update forms, modifying those instructions to an update form available on a particular processor, and applying an offset compensation to other memory referencing instructions in the loop so as to enable the program to still address the appropriate locations while using the available autoindexing instructions. The improved compiler and compiler process enables the compiler to convert those program instructions that would otherwise convert to autoindexing instructions not supported by the processor to autoindexing instructions that are supported.
申请公布号 US5287510(A) 申请公布日期 1994.02.15
申请号 US19910653842 申请日期 1991.02.11
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 HALL, CHARLES B.;MARKSTEIN, PETER W.;O'BRIEN, J. KEVIN
分类号 G06F9/45;(IPC1-7):G06F9/44 主分类号 G06F9/45
代理机构 代理人
主权项
地址
您可能感兴趣的专利