GCC4.3.4 downside against GCC3.4.4 on mips?

Andrew Haley aph@redhat.com
Tue May 25 09:48:00 GMT 2010


On 05/25/2010 09:58 AM, Amker.Cheng wrote:
>> You're using -O3, which means "optimize as much as possible, don't worry
>> about code size".
>>
>> Andrew.
> Thanks
> 
> But there is no branch or loop structure in this function, in fact,
> the whole function
> has only one main basic block, so I assuming the code size is consistent with
> efficiency here.
> 
> more over, -O2 leads to same result,

Perhaps so.  It would take some analysis to figure out why.

Andrew.



More information about the Gcc-help mailing list