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.
This commit is contained in:
Nilay Vaish 2013-01-15 07:43:21 -06:00
parent ac9bb51405
commit f2bcf4f01c

View file

@ -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);