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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: H. Peter Anvin
Date: Thursday, December 16, 2010 - 8:38 am

On 12/16/2010 02:29 AM, Miles Bader wrote:

The alternatives are equivalent when used in the common context.  Your
examples are bogus, because they don't account for the
__builtin_constant_p().

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
x86: A fast way to check capabilities of the current cpu, Christoph Lameter, (Wed Dec 15, 1:07 pm)
x86: Avoid passing struct cpuinfo pointer to mce_available, Christoph Lameter, (Wed Dec 15, 1:11 pm)
Re: x86: A fast way to check capabilities of the current cpu, H. Peter Anvin, (Thu Dec 16, 8:38 am)