[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Cairo 1.9.2 performance
From:       Zack Weinberg <zweinberg () mozilla ! com>
Date:       2009-06-18 15:42:50
Message-ID: 20090618084250.39d11116 () mozilla ! com
[Download RAW message or body]

Clemens Eisserer <linuxhippy@gmail.com> wrote:

> > This is particularly true
> > for gcc which is not known to produce blazingly fast code anyway
> Any results to back that claim, otherwise please don't spread fud.

It is certainly true of the code generated at -O0, which doesn't even
try to keep things in registers.

-O2 and -Os have been competitive with proprietary compilers on a wide
range of benchmarks for years now.  It's worth trying both and seeing
which works better.

-O3 is meant to be used on specific files that are known to contain hot
innermost loops -- if applied to an entire program it is likely to bulk
up the code size to the point where important things start falling out
of I-cache.

(I used to be a gcc developer.)

zw
_______________________________________________
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic