From f2bcf4f01ce00f98cbbfe4320a919b431637e550 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 15 Jan 2013 07:43:21 -0600 Subject: 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. --- src/arch/x86/cpuid.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3