mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Davide Libenzi <davidel@xmailserver.org>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: if (unlikely(...)) == unnecessary?
Date: Wed, 28 Jan 2009 11:59:01 -0800 (PST)	[thread overview]
Message-ID: <alpine.DEB.1.10.0901281156290.21401@alien.or.mcafeemobile.com> (raw)
In-Reply-To: <18816.47047.304831.827133@harpo.it.uu.se>

On Wed, 28 Jan 2009, Mikael Pettersson wrote:

> 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?

I didn't want to. I was just curious if anyone that actually followed GCC 
developments in the last few years could shed some light on it.


- Davide



      reply	other threads:[~2009-01-28 19:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28 16:54 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.1.10.0901281156290.21401@alien.or.mcafeemobile.com \
    --to=davidel@xmailserver.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@it.uu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®