diff --git a/tests/cputest.c b/tests/cputest.c index e47c3ef67a3e8741339680594b43ebb4ac8ac5a7..b97d9779021ef5561fd5a701f7457c352365876b 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -851,6 +851,7 @@ mymain(void) DO_TEST_CPUID("x86", "Core-i5-2500", true); DO_TEST_CPUID("x86", "Core-i5-2540M", true); DO_TEST_CPUID("x86", "Core-i5-4670T", true); + DO_TEST_CPUID("x86", "Core-i5-6600", true); #if WITH_QEMU && WITH_YAJL qemuTestDriverFree(&driver); diff --git a/tests/cputestdata/x86-cpuid-Core-i5-6600-guest.xml b/tests/cputestdata/x86-cpuid-Core-i5-6600-guest.xml new file mode 100644 index 0000000000000000000000000000000000000000..0001b2dabd1e1ca8cbbb61ccafcb57fbe708d80c --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-6600-guest.xml @@ -0,0 +1,30 @@ + + x86_64 + Broadwell + Intel + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core-i5-6600-host.xml b/tests/cputestdata/x86-cpuid-Core-i5-6600-host.xml new file mode 100644 index 0000000000000000000000000000000000000000..0c2aaee6864546dcc766f359bf02a2aeefc75012 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-6600-host.xml @@ -0,0 +1,30 @@ + + x86_64 + Broadwell + Intel + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core-i5-6600-json.xml b/tests/cputestdata/x86-cpuid-Core-i5-6600-json.xml new file mode 100644 index 0000000000000000000000000000000000000000..bd54d9d4584a782cf8308a1e7f766a3a616818b3 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-6600-json.xml @@ -0,0 +1,14 @@ + + x86_64 + Broadwell + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core-i5-6600.json b/tests/cputestdata/x86-cpuid-Core-i5-6600.json new file mode 100644 index 0000000000000000000000000000000000000000..da296f945abfea8b7bc190153b706a5f3cc2504b --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-6600.json @@ -0,0 +1,82 @@ +{ + "return": [ + { + "cpuid-register": "EAX", + "cpuid-input-eax": 6, + "features": 4 + }, + { + "cpuid-register": "EAX", + "cpuid-input-ecx": 1, + "cpuid-input-eax": 13, + "features": 15 + }, + { + "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": 289 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 2147483649, + "features": 739248128 + }, + { + "cpuid-register": "EBX", + "cpuid-input-ecx": 0, + "cpuid-input-eax": 7, + "features": 10244027 + }, + { + "cpuid-register": "ECX", + "cpuid-input-eax": 1, + "features": 4160369155 + }, + { + "cpuid-register": "EDX", + "cpuid-input-eax": 1, + "features": 260832255 + } + ], + "id": "feature-words" +} + +{ + "return": 6, + "id": "family" +} + +{ + "return": 94, + "id": "model" +} + +{ + "return": 3, + "id": "stepping" +} + +{ + "return": "Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz", + "id": "model-id" +} diff --git a/tests/cputestdata/x86-cpuid-Core-i5-6600.xml b/tests/cputestdata/x86-cpuid-Core-i5-6600.xml new file mode 100644 index 0000000000000000000000000000000000000000..cd0e63d856e97cb1e12e33fa60cfeca8696362d1 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-6600.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +