|
Prev: Windows System Programming:Develope unique aspectsof Windows
Next: Brand Watches Baume & Mercier Men's Hampton Classic Square Watch 8605 Discount, Replica, Fake
From: Tim Frink on 20 Apr 2008 07:22 Hi, I'm reading an article about Feedback-Based Optimizations in Sun compiler (http://developers.sun.com/solaris/articles/building.html). In the article they write that also the loop transformations "Loop invariant code motion, loop fusion, loop interchange, loop peeling" are controlled by profiling data. For "Loop invariant code motion" and "loop peeling" I can imagine some scenarios where frequently executed loops are optimized at the cost of an increased code size. But it does not make sense for me to control "loop fusion" and "loop interchange" by profiling data. These two optimizations depend on other criteria which must be fulfilled to achieve an improved performance. But why should these two optimizations profit from the knowledge about the execution frequency of the code? Maybe you have an idea. Regards, Tim |