mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: Corey Minyard <minyard@acm.org>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: Patch to 2.6.8.1-mm2 to allow multiple NMI handlers to be registered
Date: Thu, 19 Aug 2004 18:45:58 +0200	[thread overview]
Message-ID: <jek6vvvzy1.fsf@sykes.suse.de> (raw)
In-Reply-To: <16676.54504.957712.269455@alkaid.it.uu.se> (Mikael Pettersson's message of "Thu, 19 Aug 2004 18:27:20 +0200")

Mikael Pettersson <mikpe@csd.uu.se> writes:

> Which is the same as saying it occurs on the negative-to-non-negative
> transition. The "if ((int)low >= 0)" test is just a test and branch
> on sign, while your original requires either a (microcoded?) bit op,
> or constructing a large-magnitude mask, followed by some tests.

gcc should be able to convert one into the other depending on which one is
faster.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2004-08-19 16:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19 14:35 Corey Minyard
2004-08-19 15:29 ` Mikael Pettersson
2004-08-19 16:16   ` Corey Minyard
2004-08-19 16:27     ` Mikael Pettersson
2004-08-19 16:45       ` Andreas Schwab [this message]
2004-08-19 16:31     ` John Levon
2004-08-20 22:42       ` Zwane Mwaikambo
2004-08-19 19:15   ` Corey Minyard
2004-08-19 16:40 ` Andreas Dilger
2004-08-19 19:27   ` Corey Minyard
2004-08-21 10:26 Mikael Pettersson

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=jek6vvvzy1.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@csd.uu.se \
    --cc=minyard@acm.org \
    /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®