摘要:
在GCC手册中对__builtin_expect()的描述是这样的:long __builtin_expect (long exp, long c) You may use __builtin_expect to provide the compiler with branch predictioninformation. In general, you should prefer to use actual profile feedback for this(‘-fprofile-arcs’), as programmers are notoriously bad at predicting 阅读全文
posted @ 2012-02-06 14:28
only_eVonne
阅读(3042)
评论(0)
推荐(1)

浙公网安备 33010602011771号