首页 | 本学科首页   官方微博 | 高级检索  
     


A study of irreducibility in C programs
Authors:James Stanier  Des Watson
Affiliation:School of Informatics, University of Sussex, Falmer, Brighton, BN1 9QJ, U.K.
Abstract:Compilers use a variety of techniques to optimize and transform loops. However, many of these optimizations do not work when the loop is irreducible. Node splitting techniques transform irreducible loops into reducible loops, but many real‐world compilers choose to leave them unoptimized. This article describes an empirical study of irreducibility in current versions of open‐source software, and then compares them with older versions. We also study machine‐generated C code from a number of software tools. We find that irreducibility is extremely rare, and is becoming less common with time. We conclude that leaving irreducible loops unoptimized is a perfectly feasible future‐proof option due to the rarity of its occurrence in non‐trivial software. Copyright © 2011 John Wiley & Sons, Ltd.
Keywords:control flow  irreducibility  structural analysis  C  open source
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号