Re: gcc inline cause performance drop drastically



Bin Chen wrote:
I have a program to calculator some floating point value, the
algorithm is a bit complex and due to some reason I can't paste the
code here. The strange thing is when I compile it with -O3, which will
turn on inline automatically, the performance of the program is very
slow, but when I force the gcc to not inline the functions, then the
performance becomes faster a lot.

Does anybody has similar experience? What cause maybe the most
probably?

Larger executable not fitting in the cache?

--
Ian Collins
.



Relevant Pages