[Bug rtl-optimization/26026] power of 2 mod missing optimisation

amodra at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 18 23:45:00 GMT 2006



------- Comment #3 from amodra at gcc dot gnu dot org  2006-04-18 23:45 -------
Subject: Bug 26026

Author: amodra
Date: Tue Apr 18 23:45:47 2006
New Revision: 113060

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113060
Log:
        PR rtl-optimization/26026
        * fold-const.c (fold_binary): Optimize div and mod where the divisor
        is a known power of two shifted left a variable amount.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26026



More information about the Gcc-bugs mailing list