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

rakdver at kam dot mff dot cuni dot cz gcc-bugzilla@gcc.gnu.org
Fri Jan 11 06:04:00 GMT 2008



------- Comment #21 from rakdver at kam dot mff dot cuni dot cz  2008-01-11 04:44 -------
Subject: Re:  [4.2/4.3 regression] loop performance regression

> Is the testcase gcc.dg/tree-ssa/loop-19.c supposed to work with -fpic/-fPIC?

not necessarily; with -fpic, both memory accesses are fully
strength-reduced, which seems to be the correct thing to do; however,

> I'm getting failures on mainline and 4.2 with x86_64, and only on 4.2 with
> i686.  Mainline i686 seems to work though.

the difference in the costs of the two variants is so small that you
will basically get one of them at random.  This test is not intended to
be run with -fpic.


-- 


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



More information about the Gcc-bugs mailing list