Slowdowns in code generated by GCC>=3.3

Scott Robert Ladd coyote@coyotegulch.com
Wed Oct 20 23:29:00 GMT 2004


Remko Troncon wrote:
> If 'regression' includes performance decrease, then indeed.
> 
> I tried playing with the -fno-crossjumping or -fno-reorder-blocks flags,
> but no change in performance. I didn't look at the generated code
> closely yet, because the code looked quite different than before, so i
> couldn't immediately if the jump was still factored out. It did look
> like the code was a lot more complex than with older GCCs, but I'll have
> to look at it closer tomorrow.

I'm not certain if this will help, and I don't know the nature of your 
program.

If you can isolate the offending code in a small, short-run example, you 
could run it through my Acovea program to analyze for pessimistic 
options. That might give us a clearer idea of what is causing the problem.

	http://www.coyotegulch.com/products/acovea/index.html

If this isn't something you want or can do, I'd be interested is anyone 
can come up with a short example that I could run through Acovea over 
the weekend.

-- 
Scott Robert Ladd
site: http://www.coyotegulch.com
blog: http://chaoticcoyote.blogspot.com



More information about the Gcc mailing list