__builtin_expect vs. PGO

Scott Meyers NeverRead@aristeia.com
Wed Dec 21 07:53:00 GMT 2011


What has more weight during codegen in a compilation with -fprofile-use 
when the code uses __builtin_expect to favor one branch while the PGO 
data says the other branch is more likely?

Thanks,

Scott



More information about the Gcc-help mailing list