首页>
外国专利>
PARTIAL DEAD CODE ELIMINATION OPTIMIZATIONS FOR PROGRAM CODE CONVERSION
PARTIAL DEAD CODE ELIMINATION OPTIMIZATIONS FOR PROGRAM CODE CONVERSION
展开▼
机译:程序代码转换的部分死代码消除优化
展开▼
页面导航
摘要
著录项
相似文献
摘要
An improved method and apparatus for performing program code conversion is provided and, more particularly, for generating improved intermediate representations for use in program code conversion. During program code conversion, a partial dead code elimination optimization technique is implemented to identify partially dead register definition (R1) within a block of program code (17) being translated. The partial dead code elimination is an optimization to the intermediate representation in the form of code motion for blocks of program code (17) ending in non-computed branches or computed jumps, where target code (21) for all dead child nodes of a partially dead register definition is prevented from being generated and target code (21) for partially dead child nodes of a partially dead register definition is delayed from being generated until after target code (21) is generated for all fully live child nodes for the partially dead register definition.
展开▼