src/cpu/x86/vm/vm_version_x86.hpp

changeset 2144
a83b0246bb77
parent 2002
079980c86f33
child 2269
ae065c367d93
     1.1 --- a/src/cpu/x86/vm/vm_version_x86.hpp	Thu Sep 09 01:43:48 2010 -0700
     1.2 +++ b/src/cpu/x86/vm/vm_version_x86.hpp	Thu Sep 09 05:24:11 2010 -0700
     1.3 @@ -296,14 +296,14 @@
     1.4        result |= CPU_CX8;
     1.5      if (_cpuid_info.std_cpuid1_edx.bits.cmov != 0)
     1.6        result |= CPU_CMOV;
     1.7 -    if (_cpuid_info.std_cpuid1_edx.bits.fxsr != 0 || is_amd() &&
     1.8 -        _cpuid_info.ext_cpuid1_edx.bits.fxsr != 0)
     1.9 +    if (_cpuid_info.std_cpuid1_edx.bits.fxsr != 0 || (is_amd() &&
    1.10 +        _cpuid_info.ext_cpuid1_edx.bits.fxsr != 0))
    1.11        result |= CPU_FXSR;
    1.12      // HT flag is set for multi-core processors also.
    1.13      if (threads_per_core() > 1)
    1.14        result |= CPU_HT;
    1.15 -    if (_cpuid_info.std_cpuid1_edx.bits.mmx != 0 || is_amd() &&
    1.16 -        _cpuid_info.ext_cpuid1_edx.bits.mmx != 0)
    1.17 +    if (_cpuid_info.std_cpuid1_edx.bits.mmx != 0 || (is_amd() &&
    1.18 +        _cpuid_info.ext_cpuid1_edx.bits.mmx != 0))
    1.19        result |= CPU_MMX;
    1.20      if (_cpuid_info.std_cpuid1_edx.bits.sse != 0)
    1.21        result |= CPU_SSE;

mercurial