A Profit-Driven Algorithm for Semantic Code Motion

Jiutao NIE,Xu CHENG
DOI: https://doi.org/10.3321/j.issn:0479-8023.2009.04.008
2009-01-01
Abstract:The potential reasons of negative effects of aggressive code motion were analyzed. The authors built the profit model and proposed a profit-driven semantic code motion algorithm, which determined if an existing result should be reused. The new algorithm was implemented in GCC-4.2.0. The experimental results achieved from SPEC2000 on an X86 machine show that the code generated by the GCC using the new algorithm is 6.8% and 2.6% faster on average than that using semantic code motion and that using the GCC's original code motion algorithm GVNPRE.
What problem does this paper attempt to address?