__builtin_expect vs. PGO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: gcc-help@xxxxxxxxxxx
- Subject: __builtin_expect vs. PGO
- From: Scott Meyers <NeverRead@xxxxxxxxxxxx>
- Date: Tue, 20 Dec 2011 22:15:06 -0800
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.24) Gecko/20111103 Mnenhy/0.8.4 Thunderbird/3.1.16
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
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]