Re: Patch to 2.6.8.1-mm2 to allow multiple NMI handlers to beregistered

From: Andreas Schwab
Date: Thu Aug 19 2004 - 11:50:57 EST


Mikael Pettersson <mikpe@xxxxxxxxx> 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@xxxxxxx
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."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/