diff --git a/tests/cputest.c b/tests/cputest.c index 7da915679e894068013df4d0563dfce4c98f552b..1d6f4053d29d11e9594e10698f45a20c1dcd332b 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -871,6 +871,7 @@ mymain(void) DO_TEST_CPUID("x86", "Xeon-E3-1245", true); DO_TEST_CPUID("x86", "Xeon-E5-2630", true); DO_TEST_CPUID("x86", "Xeon-E5-2650", true); + DO_TEST_CPUID("x86", "Xeon-E7-4820", true); #if WITH_QEMU && WITH_YAJL qemuTestDriverFree(&driver); diff --git a/tests/cputestdata/x86-cpuid-Xeon-E7-4820-guest.xml b/tests/cputestdata/x86-cpuid-Xeon-E7-4820-guest.xml new file mode 100644 index 0000000000000000000000000000000000000000..55edce90a2a8caaf705708adb6cd3172090f00b1 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E7-4820-guest.xml @@ -0,0 +1,28 @@ + + x86_64 + SandyBridge + Intel + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Xeon-E7-4820-host.xml b/tests/cputestdata/x86-cpuid-Xeon-E7-4820-host.xml new file mode 100644 index 0000000000000000000000000000000000000000..4a033ae7ec0150a0b95cf5cf3cd2a2dd4b34968a --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E7-4820-host.xml @@ -0,0 +1,28 @@ + + x86_64 + Westmere + Intel + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Xeon-E7-4820-json.xml b/tests/cputestdata/x86-cpuid-Xeon-E7-4820-json.xml new file mode 100644 index 0000000000000000000000000000000000000000..67b1dc7d27d9996e73dbed9d4c4a3be1da0b5643 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E7-4820-json.xml @@ -0,0 +1,12 @@ + + x86_64 + SandyBridge + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Xeon-E7-4820.json b/tests/cputestdata/x86-cpuid-Xeon-E7-4820.json new file mode 100644 index 0000000000000000000000000000000000000000..a8846132e3135f724b4109553113c5ddad46a861 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E7-4820.json @@ -0,0 +1,77 @@ +{ + "return": [ + { + "cpuid-register": "EAX", + "cpuid-input-ecx": 1, + "cpuid-input-eax": 13, + "features": 0 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 2147483658, + "features": 0 + }, + { + "cpuid-register": "EAX", + "cpuid-input-eax": 1073741825, + "features": 16777467 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 3221225473, + "features": 0 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 2147483655, + "features": 0 + }, + { + "cpuid-register": "ECX", + "cpuid-input-eax": 2147483649, + "features": 1 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 2147483649, + "features": 739248128 + }, + { + "cpuid-register": "EBX", + "cpuid-input-ecx": 0, + "cpuid-input-eax": 7, + "features": 2 + }, + { + "cpuid-register": "ECX", + "cpuid-input-eax": 1, + "features": 2210013699 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 1, + "features": 260832255 + } + ], + "id": "feature-words" +} + +{ + "return": 6, + "id": "family" +} + +{ + "return": 47, + "id": "model" +} + +{ + "return": 2, + "id": "stepping" +} + +{ + "return": " Intel(R) Xeon(R) CPU E7- 4820 @ 2.00GHz", + "id": "model-id" +} diff --git a/tests/cputestdata/x86-cpuid-Xeon-E7-4820.xml b/tests/cputestdata/x86-cpuid-Xeon-E7-4820.xml new file mode 100644 index 0000000000000000000000000000000000000000..c0d998218ac7dd12db8512e150fcf594099fd1de --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E7-4820.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +