diff --git a/tests/cputest.c b/tests/cputest.c index cecee537e7b4badd17c890aa957a3d92df15fe03..7da915679e894068013df4d0563dfce4c98f552b 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -870,6 +870,7 @@ mymain(void) DO_TEST_CPUID("x86", "Xeon-5110", false); DO_TEST_CPUID("x86", "Xeon-E3-1245", true); DO_TEST_CPUID("x86", "Xeon-E5-2630", true); + DO_TEST_CPUID("x86", "Xeon-E5-2650", true); #if WITH_QEMU && WITH_YAJL qemuTestDriverFree(&driver); diff --git a/tests/cputestdata/x86-cpuid-Xeon-E5-2650-guest.xml b/tests/cputestdata/x86-cpuid-Xeon-E5-2650-guest.xml new file mode 100644 index 0000000000000000000000000000000000000000..ce5aa79a75b192cb2b1c0bab6c458ed96b8b2ef9 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E5-2650-guest.xml @@ -0,0 +1,29 @@ + + x86_64 + Haswell-noTSX + Intel + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Xeon-E5-2650-host.xml b/tests/cputestdata/x86-cpuid-Xeon-E5-2650-host.xml new file mode 100644 index 0000000000000000000000000000000000000000..26a3b904a6d7dc940bc4d5bfb825432bd14586f6 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E5-2650-host.xml @@ -0,0 +1,29 @@ + + x86_64 + Haswell-noTSX + Intel + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Xeon-E5-2650-json.xml b/tests/cputestdata/x86-cpuid-Xeon-E5-2650-json.xml new file mode 100644 index 0000000000000000000000000000000000000000..36b7bf20fa63d9731e550e931eca53ad388c92a1 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E5-2650-json.xml @@ -0,0 +1,12 @@ + + x86_64 + Haswell-noTSX + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Xeon-E5-2650.json b/tests/cputestdata/x86-cpuid-Xeon-E5-2650.json new file mode 100644 index 0000000000000000000000000000000000000000..2cd15f64b5b70461bc844b4de7bbb692fbbf9c89 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E5-2650.json @@ -0,0 +1,71 @@ +{ + "return": [ + { + "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": 33 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 2147483649, + "features": 739248128 + }, + { + "cpuid-register": "EBX", + "cpuid-input-ecx": 0, + "cpuid-input-eax": 7, + "features": 1961 + }, + { + "cpuid-register": "ECX", + "cpuid-input-eax": 1, + "features": 4160369187 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 1, + "features": 260832255 + } + ], + "id": "feature-words" +} + +{ + "return": 6, + "id": "family" +} + +{ + "return": 63, + "id": "model" +} + +{ + "return": 2, + "id": "stepping" +} + +{ + "return": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz", + "id": "model-id" +} diff --git a/tests/cputestdata/x86-cpuid-Xeon-E5-2650.xml b/tests/cputestdata/x86-cpuid-Xeon-E5-2650.xml new file mode 100644 index 0000000000000000000000000000000000000000..2b73adf11343cfff28cba405832b25b1bfcb12be --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-E5-2650.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +