diff --git a/tests/cputest.c b/tests/cputest.c index 20a1f23a0f3d4ca114ef8a0df3ca40806066c55d..e47c3ef67a3e8741339680594b43ebb4ac8ac5a7 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -850,6 +850,7 @@ mymain(void) DO_TEST_CPUID("x86", "Atom-N450", false); DO_TEST_CPUID("x86", "Core-i5-2500", true); DO_TEST_CPUID("x86", "Core-i5-2540M", true); + DO_TEST_CPUID("x86", "Core-i5-4670T", true); #if WITH_QEMU && WITH_YAJL qemuTestDriverFree(&driver); diff --git a/tests/cputestdata/x86-cpuid-Core-i5-4670T-guest.xml b/tests/cputestdata/x86-cpuid-Core-i5-4670T-guest.xml new file mode 100644 index 0000000000000000000000000000000000000000..77b1a18c5e1533762103762897052b4dcff927fa --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-4670T-guest.xml @@ -0,0 +1,28 @@ + + x86_64 + Haswell + Intel + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core-i5-4670T-host.xml b/tests/cputestdata/x86-cpuid-Core-i5-4670T-host.xml new file mode 100644 index 0000000000000000000000000000000000000000..32051e4f1daf59ffc3f4c03455a4f09789f18423 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-4670T-host.xml @@ -0,0 +1,28 @@ + + x86_64 + Haswell + Intel + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core-i5-4670T-json.xml b/tests/cputestdata/x86-cpuid-Core-i5-4670T-json.xml new file mode 100644 index 0000000000000000000000000000000000000000..32b86a10004a5a0cce1f20fa8ce852c587b0e907 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-4670T-json.xml @@ -0,0 +1,13 @@ + + x86_64 + Haswell + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core-i5-4670T.json b/tests/cputestdata/x86-cpuid-Core-i5-4670T.json new file mode 100644 index 0000000000000000000000000000000000000000..e715ca082abcf8aa4a277b21cf13c3d88917af6a --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-4670T.json @@ -0,0 +1,77 @@ +{ + "return": [ + { + "cpuid-register": "EAX", + "cpuid-input-ecx": 1, + "cpuid-input-eax": 13, + "features": 1 + }, + { + "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": 4027 + }, + { + "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": 60, + "id": "model" +} + +{ + "return": 3, + "id": "stepping" +} + +{ + "return": "Intel(R) Core(TM) i5-4670T CPU @ 2.30GHz", + "id": "model-id" +} diff --git a/tests/cputestdata/x86-cpuid-Core-i5-4670T.xml b/tests/cputestdata/x86-cpuid-Core-i5-4670T.xml new file mode 100644 index 0000000000000000000000000000000000000000..62960f98af6df5c14dc9f8b433daae1dd47d6592 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i5-4670T.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +