diff --git a/tests/cputest.c b/tests/cputest.c index 1d6f4053d29d11e9594e10698f45a20c1dcd332b..ba606fd2b4d622e2887a7e3fc5d14d575f20a1c8 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -872,6 +872,7 @@ mymain(void) DO_TEST_CPUID("x86", "Xeon-E5-2630", true); DO_TEST_CPUID("x86", "Xeon-E5-2650", true); DO_TEST_CPUID("x86", "Xeon-E7-4820", true); + DO_TEST_CPUID("x86", "Xeon-W3520", true); #if WITH_QEMU && WITH_YAJL qemuTestDriverFree(&driver); diff --git a/tests/cputestdata/x86-cpuid-Xeon-W3520-guest.xml b/tests/cputestdata/x86-cpuid-Xeon-W3520-guest.xml new file mode 100644 index 0000000000000000000000000000000000000000..4037fa60cfd03f0a902259509cdbb661eebc827d --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-W3520-guest.xml @@ -0,0 +1,23 @@ + + x86_64 + Nehalem + Intel + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Xeon-W3520-host.xml b/tests/cputestdata/x86-cpuid-Xeon-W3520-host.xml new file mode 100644 index 0000000000000000000000000000000000000000..c4a9226973b988a972398340da902e93ad10ff82 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-W3520-host.xml @@ -0,0 +1,23 @@ + + x86_64 + Nehalem + Intel + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Xeon-W3520-json.xml b/tests/cputestdata/x86-cpuid-Xeon-W3520-json.xml new file mode 100644 index 0000000000000000000000000000000000000000..3292264153f5f0dedf8db0eff74a5483d655e4aa --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-W3520-json.xml @@ -0,0 +1,10 @@ + + x86_64 + Nehalem + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Xeon-W3520.json b/tests/cputestdata/x86-cpuid-Xeon-W3520.json new file mode 100644 index 0000000000000000000000000000000000000000..c75594d4e6b2cd0845d89898bd31762110e28b64 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-W3520.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": 672139264 + }, + { + "cpuid-register": "EBX", + "cpuid-input-ecx": 0, + "cpuid-input-eax": 7, + "features": 2 + }, + { + "cpuid-register": "ECX", + "cpuid-input-eax": 1, + "features": 2159550977 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 1, + "features": 260832255 + } + ], + "id": "feature-words" +} + +{ + "return": 6, + "id": "family" +} + +{ + "return": 26, + "id": "model" +} + +{ + "return": 5, + "id": "stepping" +} + +{ + "return": "Intel(R) Xeon(R) CPU W3520 @ 2.67GHz", + "id": "model-id" +} diff --git a/tests/cputestdata/x86-cpuid-Xeon-W3520.xml b/tests/cputestdata/x86-cpuid-Xeon-W3520.xml new file mode 100644 index 0000000000000000000000000000000000000000..0d357f7162f2f8d9738cddab7197b2e4d59b8297 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Xeon-W3520.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +