lkml.org 
[lkml]   [2009]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: if (unlikely(...)) == unnecessary?
Davide Libenzi writes:
> I noticed that GCC >= 3.3 (not tried the ones before) automatically
> branches out the "if" code (and follow-through the "else" code, if there).
> Is that a coincidence or a rule we can rely on going forward?

Coincidence.

Why on earth would you want to rely on an purely private implementation
detail like that?


\
 
 \ /
  Last update: 2009-01-28 20:57    [from the cache]
©2003-2011 Jasper Spaans