Alle 10:31, venerd� 25 luglio 2003, Jason Stubbs ha scritto:
> slower in compiling AND the resulting program. -O3 only adds
> -fomit-frame-pointer and -finline-functions to -O2's set of
> optimizations. -finline-functions will try to inline all functions
> based on the resulting code size of each function. On machine's with
> small CPU cache this can cause a dramatic cache penalty when a block
> of code is larger than the cache size. Compiling is a little slower
> too as the compiler needs to figure out what it should try inlining
> and what it shouldn't.

Thanks for the explanation. Now I understand why it can be slower.

> believe Pentiums (not Celerons) have a 512kb internal cache. So, 64k
> sounds pretty small to me! ;-) You'll have to check whether Athlon MP
> is the same or not.

I don't know really, but I think it's the same.
I'm going to search for something...I'll add something more as soon as 
I'll find.

Stefano


--
[EMAIL PROTECTED] mailing list

Reply via email to