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]

Re: basic-block and profile-based optimizing (was Re: New attribute"infrequent"?)


mike stump <mrs@windriver.com> writes:

>> To: Scott A Crosby <crosby@qwes.math.cmu.edu>
>> From: Andreas Jaeger <aj@suse.de>
>> Date: Fri, 31 Aug 2001 14:11:01 +0200
>
>> FYI Jan is working on profile-based optimizations at the moment, we've
>> just did a small announcement at
>> http://gcc.gnu.org/news/profiledriven.html
>
> When to inline in C++ might best be answered by profile based
> techniques.  Love to see any results, if someone wires it up and tries
> it out.

Not that easy.
Jan's stuff works on RTL.
The C++ inliner works on trees.
For basic blocks on trees, you'd need to work on the ast-optimizer
branch.

-- 
"I invented the cordless extension cord.
"-Steven Wright


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