This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/29256] [4.2 regression] loop performance regression



------- Comment #17 from rakdver at gcc dot gnu dot org  2006-10-06 19:32 -------
Subject: Bug 29256

Author: rakdver
Date: Fri Oct  6 19:32:04 2006
New Revision: 117513

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117513
Log:
        PR middle-end/29256
        * tree-ssa-loop-ivopts.c (determine_base_object): Handle pointers
        casted to integer type.
        (get_address_cost): Decrease cost of [symbol + index] addressing modes
        if they are significantly more expensive than [reg + index] ones.

        * gcc.dg/tree-ssa/loop-19.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/loop-19.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-ivopts.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]