Messages in this thread | | | Subject | Re: Patch to 2.6.8.1-mm2 to allow multiple NMI handlers to be registered | From | Andreas Schwab <> | Date | Thu, 19 Aug 2004 18:45:58 +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." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |