From: Nilay Vaish Date: Tue, 15 Jan 2013 13:43:21 +0000 (-0600) Subject: x86 cpuid: enable clflush X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2bcf4f01ce00f98cbbfe4320a919b431637e550;p=gem5.git x86 cpuid: enable clflush Note that clflush is only being enabled. It is not implemented in actual. A warning is printed if the cpu encounters a clflush instruction. We need to enable this instruction in cpuid since JRE 1.7 tests for it. --- diff --git a/src/arch/x86/cpuid.cc b/src/arch/x86/cpuid.cc index 0792d8973..864cdd7f4 100644 --- a/src/arch/x86/cpuid.cc +++ b/src/arch/x86/cpuid.cc @@ -150,8 +150,8 @@ namespace X86ISA { stringToRegister(vendorString + 8)); break; case FamilyModelStepping: - result = CpuidResult(0x00020f51, 0000000405, - 0xe7d3fbff, 0x00000001); + result = CpuidResult(0x00020f51, 0x00000805, + 0xe7dbfbff, 0x00000001); break; default: warn("x86 cpuid: unimplemented function %u", funcNum);