From eba640c963cc9548fe842923d02c9bd7b38e12a1 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 19 Apr 2009 03:11:24 -0700 Subject: X86: Only use %eax to select a function and look like we support sse2. --- src/arch/x86/cpuid.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/x86/cpuid.cc') diff --git a/src/arch/x86/cpuid.cc b/src/arch/x86/cpuid.cc index f06ba04d8..4ac7a5d19 100644 --- a/src/arch/x86/cpuid.cc +++ b/src/arch/x86/cpuid.cc @@ -89,7 +89,7 @@ namespace X86ISA { case VendorAndLargestExtFunc: assert(vendorStringSize >= 12); result = CpuidResult( - NumExtendedCpuidFuncs - 1, + 0x80000000 + NumExtendedCpuidFuncs - 1, stringToRegister(vendorString), stringToRegister(vendorString + 4), stringToRegister(vendorString + 8)); @@ -149,7 +149,7 @@ namespace X86ISA { break; case FamilyModelStepping: result = CpuidResult(0x00020f51, 0000000405, - 0xe3d3fbff, 0x00000001); + 0xe7d3fbff, 0x00000001); break; default: return false; -- cgit v1.2.3