public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* if (unlikely(...)) == unnecessary?
@ 2009-01-28 16:54 Davide Libenzi
  2009-01-28 17:55 ` Chris Snook
  2009-01-28 19:53 ` Mikael Pettersson
  0 siblings, 2 replies; 7+ messages in thread
From: Davide Libenzi @ 2009-01-28 16:54 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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?


- Davide



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-01-28 21:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 16:54 if (unlikely(...)) == unnecessary? Davide Libenzi
2009-01-28 17:55 ` Chris Snook
2009-01-28 19:41   ` Davide Libenzi
2009-01-28 20:39     ` Chris Snook
2009-01-28 21:10       ` Davide Libenzi
2009-01-28 19:53 ` Mikael Pettersson
2009-01-28 19:59   ` Davide Libenzi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox