Re: x86: A fast way to check capabilities of the current cpu

From: Miles Bader
Date: Thu Dec 16 2010 - 23:29:04 EST


"H. Peter Anvin" <hpa@xxxxxxxxx> writes:
> The alternatives are equivalent when used in the common context. Your
> examples are bogus, because they don't account for the
> __builtin_constant_p().

Ah, true ... :}

-miles

--
Abstainer, n. A weak person who yields to the temptation of denying himself a
pleasure. A total abstainer is one who abstains from everything but
abstention, and especially from inactivity in the affairs of others.
--
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/