basic-block and profile-based optimizing (was Re: New attribute"infrequent"?)
Daniel Berlin
dan@cgsoftware.com
Fri Aug 31 06:22:00 GMT 2001
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
More information about the Gcc
mailing list