summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-01-15 07:43:21 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2013-01-15 07:43:21 -0600
commitf2bcf4f01ce00f98cbbfe4320a919b431637e550 (patch)
tree58fc507d031e26d220e588135ec2b669c95254b3 /src/arch
parentac9bb514057713dd626298a1b6f4322be205d65c (diff)
downloadgem5-f2bcf4f01ce00f98cbbfe4320a919b431637e550.tar.xz
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.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/cpuid.cc4
1 files changed, 2 insertions, 2 deletions
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);