Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753229Ab0LQE26 (ORCPT ); Thu, 16 Dec 2010 23:28:58 -0500 Received: from TYO202.gate.nec.co.jp ([202.32.8.206]:48328 "EHLO tyo202.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753052Ab0LQE2z (ORCPT ); Thu, 16 Dec 2010 23:28:55 -0500 From: Miles Bader To: "H. Peter Anvin" Cc: Miguel Ojeda , Andrew Morton , Christoph Lameter , Tejun Heo , Pekka Enbeerg , linux-kernel@vger.kernel.org, Eric Dumazet , Mathieu Desnoyers Subject: Re: x86: A fast way to check capabilities of the current cpu References: <20101215125626.25f7d648.akpm@linux-foundation.org> <4D092D15.7030700@zytor.com> <4D093580.9000303@zytor.com> <4D0A3267.40300@zytor.com> System-Type: x86_64-unknown-linux-gnu Blat: Foop Date: Fri, 17 Dec 2010 13:26:33 +0900 In-Reply-To: <4D0A3267.40300@zytor.com> (H. Peter Anvin's message of "Thu, 16 Dec 2010 07:38:15 -0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 687 Lines: 13 "H. Peter Anvin" 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/