This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/9319: slower code generated for simple loop on linux
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Amnon Cohen <amnon_cohen at yahoo dot com>
- Cc: Richard Henderson <rth at redhat dot com>,gcc-bugs at gcc dot gnu dot org,gcc-prs at gcc dot gnu dot org,nobody at gcc dot gnu dot org,gcc-gnats at gcc dot gnu dot org
- Date: Thu, 16 Jan 2003 20:12:03 +0100
- Subject: Re: optimization/9319: slower code generated for simple loop on linux
- References: <20030116133027.65208.qmail@web40601.mail.yahoo.com>
> I have done a few more tests, and it seems
> that this is a regression
> on all platforms (not just intel) introduced by
> gcc3.1
Confirmed. The regression actually started to show up in gcc 3.0.4 (that's why
I asked you to post the assembly code, I only had the 3.0.4 version on my
system) and has affected all versions since then.
> The performance is significantly reduced on intel
> linux and on Solaris (I have not sent solaris asm
> files, let me know if you need them). So I do
> not think that this is architecture related
A nasty side-effect of the patch that fixed PR optimization/5076, which was
foreseen by Richard: http://gcc.gnu.org/ml/gcc-patches/2002-01/msg02111.html
Richard, do you think that the problem is worth looking into or that it is a
lost cause ?
--
Eric Botcazou