Re: gcc inline cause performance drop drastically
- From: Ian Collins <ian-news@xxxxxxxxxxx>
- Date: Wed, 05 Nov 2008 20:23:38 +1300
Bin Chen wrote:
I have a program to calculator some floating point value, theLarger executable not fitting in the cache?
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?
--
Ian Collins
.
- Follow-Ups:
- Re: gcc inline cause performance drop drastically
- From: Rick Jones
- Re: gcc inline cause performance drop drastically
- References:
- gcc inline cause performance drop drastically
- From: Bin Chen
- gcc inline cause performance drop drastically
- Prev by Date: gcc inline cause performance drop drastically
- Next by Date: Re: gcc inline cause performance drop drastically
- Previous by thread: gcc inline cause performance drop drastically
- Next by thread: Re: gcc inline cause performance drop drastically
- Index(es):
Relevant Pages
|