C++ compile-time regressions

Mark Mitchell mark@codesourcery.com
Thu Aug 2 12:41:00 GMT 2001


--On Thursday, August 02, 2001 04:25:22 PM -0300 "aoliva@redhat.com" 
<aoliva@redhat.com> wrote:

> I suppose it would be desirable to inline pretty much the
> same functions, regardless of the target.

Yes, I suppose -- although if a function really is going to take up
twice as much icache on one platform as another, it might be a less
promising inlining candidate.

If you run some numbers and can show it's a win, then I think that's
good.  I wouldn't commit it without demonstrating the win, though.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the Gcc mailing list