
Sept. 28, 2014
1:17 p.m.
Andrew Barnert <abarnert@yahoo.com.dmarc.invalid> wrote:
On what modern CPU does unlikely have any effect at all? x86 has an opcode to provide static branch prediction hints, but it's been a no-op since Core 2; ARM doesn't have one; I don't know about other instruction sets but I'd be surprised if they did.
http://madalanarayana.wordpress.com/2013/08/29/__builtin_expect-a-must-for-s... http://benyossef.com/helping-the-compiler-help-you/