This is the mail archive of the gcc@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]

Re: "-fno-unswitch-loops" option have no effect?


On 08/17/2009 02:32 PM, ami_stuff wrote:
Hi,

Works fine for me.  gcc.dg/tree-ssa/loop-6.c is unswitched with -O3
but not with -O3 -fno-unswitch-loops.

This one works for me too.


Could you try to compile "deflate.c" from libz?

Here are my results:

-m68060 -O3 -fno-unswitch-loops                                                            - 12,9kb
-m68060 -O3                                                                                - 12,9kb
-m68060 -O2 -finline-functions -fgcse-after-reload -ftree-vectorize -fpredictive-commoning - 12,4kb

And why do you think that loop unswitching has anything to do with the size growth?


BTW, -O3 is not guaranteed to give better performance than -O2.

Paolo


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