> Andi Gutmans wrote:
> I think it's a nice idea but I doubt it's very useful at this point. It
> doesn't seem to significantly affect performance, which is ... <snip>

I concur.

Instead of guessing branch probabilities, why not measure them?

http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Optimize-Options.html
-fprofile-generate
-freorder-functions
-fbranch-probabilities
-fprofile-use

I've seen decent speedups (5-10%) using these options on my own programs.

        Leon



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to