From d4461a9b5f16e9496e183f87eb8107f867f4d5c5 Mon Sep 17 00:00:00 2001 From: The Tumultuous Unicorn Of Darkness Date: Sat, 1 Jul 2023 16:01:26 +0200 Subject: [PATCH] Add basic support for Centaur CPUs (VIA/Zhaoxin) --- libcpuid/CMakeLists.txt | 3 +- libcpuid/Makefile.am | 6 +- libcpuid/Makefile.x64 | 5 +- libcpuid/Makefile.x86 | 5 +- libcpuid/centaur_code_t.h | 32 ++ libcpuid/cpuid_main.c | 8 +- libcpuid/libcpuid.dsp | 8 + libcpuid/libcpuid_internal.h | 33 +- libcpuid/libcpuid_vc10.vcxproj | 4 +- libcpuid/libcpuid_vc10.vcxproj.filters | 8 +- libcpuid/libcpuid_vc71.vcproj | 6 + libcpuid/recog_centaur.c | 240 ++++++++++++++ libcpuid/recog_centaur.h | 32 ++ tests/via/esther/c7-m.test | 47 +++ tests/via/esther/c7.test | 46 +++ tests/via/ezra/c3-t.test | 43 +++ tests/via/ezra/c3.test | 43 +++ tests/via/isaiah/eden-x4.test | 169 ++++++++++ tests/via/isaiah/nano-l-2000.test | 58 ++++ tests/via/isaiah/nano-l-3000.test | 58 ++++ tests/via/isaiah/nano-x2.test | 85 +++++ tests/via/isaiah/nano-x4.test | 145 +++++++++ tests/via/nehemiah/c3.test | 45 +++ tests/via/samuel/cyrix-iii.test | 42 +++ tests/via/samuel2/c3.test | 43 +++ tests/zhaoxin/lujiazui/kaixian-kx-6000g.test | 177 ++++++++++ tests/zhaoxin/lujiazui/kaixian-kx-6640ma.test | 169 ++++++++++ tests/zhaoxin/lujiazui/kaixian-kx-u6780a.test | 305 ++++++++++++++++++ .../zhangjiang/kaixian-zx-c+-c4580.test | 169 ++++++++++ 29 files changed, 2023 insertions(+), 11 deletions(-) create mode 100644 libcpuid/centaur_code_t.h create mode 100644 libcpuid/recog_centaur.c create mode 100644 libcpuid/recog_centaur.h create mode 100644 tests/via/esther/c7-m.test create mode 100644 tests/via/esther/c7.test create mode 100644 tests/via/ezra/c3-t.test create mode 100644 tests/via/ezra/c3.test create mode 100644 tests/via/isaiah/eden-x4.test create mode 100644 tests/via/isaiah/nano-l-2000.test create mode 100644 tests/via/isaiah/nano-l-3000.test create mode 100644 tests/via/isaiah/nano-x2.test create mode 100644 tests/via/isaiah/nano-x4.test create mode 100644 tests/via/nehemiah/c3.test create mode 100644 tests/via/samuel/cyrix-iii.test create mode 100644 tests/via/samuel2/c3.test create mode 100644 tests/zhaoxin/lujiazui/kaixian-kx-6000g.test create mode 100644 tests/zhaoxin/lujiazui/kaixian-kx-6640ma.test create mode 100644 tests/zhaoxin/lujiazui/kaixian-kx-u6780a.test create mode 100644 tests/zhaoxin/zhangjiang/kaixian-zx-c+-c4580.test diff --git a/libcpuid/CMakeLists.txt b/libcpuid/CMakeLists.txt index d285f8b..418be3f 100644 --- a/libcpuid/CMakeLists.txt +++ b/libcpuid/CMakeLists.txt @@ -1,7 +1,8 @@ set(cpuid_sources cpuid_main.c - recog_intel.c recog_amd.c + recog_centaur.c + recog_intel.c rdtsc.c libcpuid_util.c rdmsr.c diff --git a/libcpuid/Makefile.am b/libcpuid/Makefile.am index d74469e..7adc3b6 100644 --- a/libcpuid/Makefile.am +++ b/libcpuid/Makefile.am @@ -8,8 +8,9 @@ libcpuid_la_LDFLAGS = \ -no-undefined -version-info @LIBCPUID_VERSION_INFO@ libcpuid_la_SOURCES = \ cpuid_main.c \ - recog_intel.c \ recog_amd.c \ + recog_centaur.c \ + recog_intel.c \ rdtsc.c \ asm-bits.c \ libcpuid_util.c \ @@ -34,8 +35,9 @@ noinst_HEADERS = \ intel_code_t.h \ libcpuid_internal.h \ libcpuid_util.h \ - recog_intel.h \ recog_amd.h \ + recog_centaur.h \ + recog_intel.h \ rdtsc.h EXTRA_DIST += libcpuid.sym libcpuid_vc71.vcproj libcpuid_vc10.vcxproj libcpuid_vc10.vcxproj.filters diff --git a/libcpuid/Makefile.x64 b/libcpuid/Makefile.x64 index 6a0c765..037ddae 100644 --- a/libcpuid/Makefile.x64 +++ b/libcpuid/Makefile.x64 @@ -6,7 +6,7 @@ ASM = ml64 /nologo CC = cl.exe /nologo /TC OPTFLAGS = /MT DEFINES = /D "VERSION=\"0.6.3\"" -OBJECTS = masm-x64.obj asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_intel.obj rdtsc.obj +OBJECTS = masm-x64.obj asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_centaur.obj recog_intel.obj rdtsc.obj libcpuid.lib: $(OBJECTS) lib /nologo /MACHINE:AMD64 /out:libcpuid.lib $(OBJECTS) bufferoverflowU.lib @@ -26,6 +26,9 @@ libcpuid_util.obj: libcpuid_util.c recog_amd.obj: recog_amd.c $(CC) $(OPTFLAGS) $(DEFINES) /c recog_amd.c +recog_centaur.obj: recog_centaur.c + $(CC) $(OPTFLAGS) $(DEFINES) /c recog_centaur.c + recog_intel.obj: recog_intel.c $(CC) $(OPTFLAGS) $(DEFINES) /c recog_intel.c diff --git a/libcpuid/Makefile.x86 b/libcpuid/Makefile.x86 index a6ab954..56120a1 100644 --- a/libcpuid/Makefile.x86 +++ b/libcpuid/Makefile.x86 @@ -13,7 +13,7 @@ all: libcpuid.lib CC = cl.exe /nologo /TC OPTFLAGS = /MT DEFINES = /D "VERSION=\"0.6.3\"" -OBJECTS = asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_intel.obj rdtsc.obj +OBJECTS = asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_centaur.obj recog_intel.obj rdtsc.obj libcpuid.lib: $(OBJECTS) lib /nologo /out:libcpuid.lib $(OBJECTS) @@ -30,6 +30,9 @@ libcpuid_util.obj: libcpuid_util.c recog_amd.obj: recog_amd.c $(CC) $(OPTFLAGS) $(DEFINES) /c recog_amd.c +recog_centaur.obj: recog_centaur.c + $(CC) $(OPTFLAGS) $(DEFINES) /c recog_centaur.c + recog_intel.obj: recog_intel.c $(CC) $(OPTFLAGS) $(DEFINES) /c recog_intel.c diff --git a/libcpuid/centaur_code_t.h b/libcpuid/centaur_code_t.h new file mode 100644 index 0000000..5e91aad --- /dev/null +++ b/libcpuid/centaur_code_t.h @@ -0,0 +1,32 @@ +/* + * Copyright 2023 Veselin Georgiev, + * anrieffNOSPAM @ mgail_DOT.com (convert to gmail) + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * This file contains a list of internal codes we use in detection. It is + * of no external use and isn't a complete list of Centaur products. + */ + CODE2(VIA, 3000), + CODE(ZHAOXIN), diff --git a/libcpuid/cpuid_main.c b/libcpuid/cpuid_main.c index 9aaa892..5ebcda8 100644 --- a/libcpuid/cpuid_main.c +++ b/libcpuid/cpuid_main.c @@ -25,8 +25,9 @@ */ #include "libcpuid.h" #include "libcpuid_internal.h" -#include "recog_intel.h" #include "recog_amd.h" +#include "recog_centaur.h" +#include "recog_intel.h" #include "asm-bits.h" #include "libcpuid_util.h" #ifdef HAVE_CONFIG_H @@ -1138,6 +1139,9 @@ int cpu_ident_internal(struct cpu_raw_data_t* raw, struct cpu_id_t* data, struct case VENDOR_HYGON: r = cpuid_identify_amd(raw, data, internal); break; + case VENDOR_CENTAUR: + r = cpuid_identify_centaur(raw, data, internal); + break; default: break; } @@ -1684,7 +1688,7 @@ void cpuid_get_cpu_list(cpu_vendor_t vendor, struct cpu_list_t* list) make_list_from_string("UMC x86 CPU", list); break; case VENDOR_CENTAUR: - make_list_from_string("VIA C3,VIA C7,VIA Nano", list); + cpuid_get_list_centaur(list); break; case VENDOR_RISE: make_list_from_string("Rise mP6", list); diff --git a/libcpuid/libcpuid.dsp b/libcpuid/libcpuid.dsp index ed2b2f5..e168201 100644 --- a/libcpuid/libcpuid.dsp +++ b/libcpuid/libcpuid.dsp @@ -115,6 +115,10 @@ SOURCE=.\recog_amd.c SOURCE=.\recog_intel.c # End Source File +# Begin Source File + +SOURCE=.\recog_centaur.c +# End Source File # End Group # Begin Group "Header Files" @@ -149,6 +153,10 @@ SOURCE=.\recog_amd.h # End Source File # Begin Source File +SOURCE=.\recog_centaur.h +# End Source File +# Begin Source File + SOURCE=.\recog_intel.h # End Source File # End Group diff --git a/libcpuid/libcpuid_internal.h b/libcpuid/libcpuid_internal.h index 1a85b95..0175909 100644 --- a/libcpuid/libcpuid_internal.h +++ b/libcpuid/libcpuid_internal.h @@ -55,6 +55,11 @@ enum _amd_code_t { }; typedef enum _amd_code_t amd_code_t; +enum _centaur_code_t { + #include "centaur_code_t.h" +}; +typedef enum _centaur_code_t centaur_code_t; + enum _intel_code_t { #include "intel_code_t.h" }; @@ -64,8 +69,9 @@ typedef enum _intel_code_t intel_code_t; struct internal_id_info_t { union { - amd_code_t amd; - intel_code_t intel; + amd_code_t amd; + centaur_code_t centaur; + intel_code_t intel; } code; uint64_t bits; int score; // detection (matchtable) score @@ -161,6 +167,29 @@ enum _amd_bits_t { }; typedef enum _amd_bits_t amd_bits_t; +enum _via_bits_t { + SAMUEL_ = LBIT( 10 ), + EZRA_ = LBIT( 11 ), + NEHEMIAH_ = LBIT( 12 ), + ESTHER_ = LBIT( 13 ), + EDEN_ = LBIT( 14 ), + CNA_ = LBIT( 15 ), + NANO_ = LBIT( 16 ), + QUADCORE_ = LBIT( 17 ), +}; +typedef enum _via_bits_t via_bits_t; + +enum _zhaoxin_bits_t { + KAISHENG_ = LBIT( 10 ), + KAIXIAN_ = LBIT( 11 ), + _KH_ = LBIT( 12 ), + _KX_ = LBIT( 13 ), + _ZX_ = LBIT( 14 ), + _C = LBIT( 15 ), + _D = LBIT( 16 ), + _E = LBIT( 17 ), +}; +typedef enum _zhaoxin_bits_t zhaoxin_bits_t; int cpu_ident_internal(struct cpu_raw_data_t* raw, struct cpu_id_t* data, diff --git a/libcpuid/libcpuid_vc10.vcxproj b/libcpuid/libcpuid_vc10.vcxproj index 59e254f..2516ec6 100644 --- a/libcpuid/libcpuid_vc10.vcxproj +++ b/libcpuid/libcpuid_vc10.vcxproj @@ -190,6 +190,7 @@ + @@ -199,6 +200,7 @@ + @@ -213,4 +215,4 @@ - \ No newline at end of file + diff --git a/libcpuid/libcpuid_vc10.vcxproj.filters b/libcpuid/libcpuid_vc10.vcxproj.filters index b61e7f5..9e57fd3 100644 --- a/libcpuid/libcpuid_vc10.vcxproj.filters +++ b/libcpuid/libcpuid_vc10.vcxproj.filters @@ -30,6 +30,9 @@ Source Files + + Source Files + Source Files @@ -59,6 +62,9 @@ Header Files + + Header Files + Header Files @@ -71,4 +77,4 @@ Source Files - \ No newline at end of file + diff --git a/libcpuid/libcpuid_vc71.vcproj b/libcpuid/libcpuid_vc71.vcproj index 3848f2c..097f2dd 100644 --- a/libcpuid/libcpuid_vc71.vcproj +++ b/libcpuid/libcpuid_vc71.vcproj @@ -170,6 +170,9 @@ + + @@ -208,6 +211,9 @@ + + diff --git a/libcpuid/recog_centaur.c b/libcpuid/recog_centaur.c new file mode 100644 index 0000000..c21cc93 --- /dev/null +++ b/libcpuid/recog_centaur.c @@ -0,0 +1,240 @@ +/* + * Copyright 2023 Veselin Georgiev, + * anrieffNOSPAM @ mgail_DOT.com (convert to gmail) + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include +#include +#include "libcpuid.h" +#include "libcpuid_util.h" +#include "libcpuid_internal.h" +#include "recog_centaur.h" + +const struct centaur_code_str { centaur_code_t code; char *str; } centaur_code_str[] = { + #define CODE(x) { x, #x } + #define CODE2(x, y) CODE(x) + #include "centaur_code_t.h" + #undef CODE +}; + +typedef struct { + int code; + uint64_t bits; +} centaur_code_and_bits_t; + +enum _centaur_model_t { + UNKNOWN = -1, + _4000 = 100, /* Zhaoxin KaiXian (KX) / KaisHeng (KH) Zhangjiang */ + _5000, /* Zhaoxin KaiXian (KX) WuDaoKou */ + _6000, /* Zhaoxin KaiXian (KX) LuJiaZui */ + _7000, /* Zhaoxin KaiXian (KX) Yongfeng */ + _20000 = 1000, /* Zhaoxin KaisHeng (KH) WuDaoKou */ + _30000, /* Zhaoxin KaisHeng (KH) LuJiaZui */ + _40000, /* Zhaoxin KaisHeng (KH) Yongfeng */ +}; +typedef enum _centaur_model_t centaur_model_t; + +const struct match_entry_t cpudb_centaur[] = { +// F M S EF EM #cores L2$ L3$ BC ModelBits ModelCode Name + { -1, -1, -1, -1, -1, -1, -1, -1, NC, 0, 0, "Unknown Centaur CPU" }, +// F M S EF EM #cores L2$ L3$ BC ModelBits ModelCode Name + + + /* VIA */ +// F M S EF EM #cores L2$ L3$ BC ModelBits ModelCode Name + { 6, -1, -1, -1, -1, -1, -1, -1, VIA, 0 , 0, "Unknown VIA CPU" }, + /* Samuel (2000, 180 nm) */ + { 6, 6, -1, -1, -1, -1, -1, -1, VIA, SAMUEL_ , 0, "VIA Cyrix III (Samuel)" }, + /* Samuel 2 (2001, 150 nm) */ + { 6, 7, -1, -1, -1, -1, -1, -1, VIA, SAMUEL_ , 0, "VIA C3 (Samuel 2)" }, + /* Ezra (2001, 130 nm) */ + { 6, 7, -1, -1, -1, -1, -1, -1, VIA, EZRA_ , 0, "VIA C3 (Ezra)" }, + { 6, 8, -1, -1, -1, -1, -1, -1, VIA, EZRA_ , 0, "VIA C3 (Ezra-T)" }, + /* Nehemiah (2003, 130 nm) */ + { 6, 9, -1, -1, -1, -1, -1, -1, VIA, NEHEMIAH_ , 0, "VIA C3 (Nehemiah)" }, + /* Esther (2005, 90 nm) */ + { 6, 10, -1, -1, -1, -1, -1, -1, VIA, ESTHER_ , 0, "VIA C7 (Esther)" }, + { 6, 13, -1, -1, -1, -1, -1, -1, VIA, ESTHER_ , 0, "VIA C7-M (Esther)" }, + /* Isaiah (2008, 65 nm) */ + { 6, 15, -1, -1, -1, -1, -1, -1, VIA, CNA_ , 0, "VIA Nano (Isaiah)" }, + { 6, 15, -1, -1, -1, 1, -1, -1, VIA, NANO_ , 0, "VIA Nano (Isaiah)" }, + { 6, 15, -1, -1, -1, 2, -1, -1, VIA, NANO_ , 0, "VIA Nano X2 (Isaiah)" }, + { 6, 15, -1, -1, -1, -1, -1, -1, VIA, QUADCORE_ , 0, "VIA Nano X4 (Isaiah)" }, + { 6, 15, -1, -1, -1, 4, -1, -1, VIA, EDEN_ , 0, "VIA Eden X4 (Isaiah)" }, +// F M S EF EM #cores L2$ L3$ BC ModelBits ModelCode Name + + + /* Zhaoxin */ +// F M S EF EM #cores L2$ L3$ BC ModelBits ModelCode Name + { 7, -1, -1, -1, -1, -1, -1, -1, ZHAOXIN, 0 , 0, "Unknown Zhaoxin CPU" }, + /* Zhangjiang (2015, 28 nm) */ + { 7, -1, -1, -1, 15, -1, -1, -1, ZHAOXIN, KAISHENG_|_KH_|_C, 0, "Zhaoxin KaisHeng (ZhangJiang)" }, // C+ (4000) + { 7, -1, -1, -1, 15, -1, -1, -1, ZHAOXIN, KAIXIAN_|_ZX_|_C , 0, "Zhaoxin KaiXian (ZhangJiang)" }, // C/C+ (4000) + /* WuDaoKou (2017, 28 nm) */ + { 7, -1, -1, -1, 27, -1, -1, -1, ZHAOXIN, KAISHENG_|_KH_ , _20000, "Zhaoxin KaisHeng (WuDaoKou)" }, // KH (20000) + { 7, -1, -1, -1, 27, -1, -1, -1, ZHAOXIN, KAIXIAN_|_KX_ , _5000, "Zhaoxin KaiXian (WuDaoKou)" }, // KX (5000) + /* LuJiaZui (2019, 16 nm) */ + { 7, -1, -1, -1, 59, -1, -1, -1, ZHAOXIN, KAISHENG_|_KH_ , _30000, "Zhaoxin KaisHeng (LuJiaZui)" }, // KH (30000) + { 7, -1, -1, -1, 59, -1, -1, -1, ZHAOXIN, KAIXIAN_|_KX_ , _6000, "Zhaoxin KaiXian (LuJiaZui)" }, // KX (6000) + /* Yongfeng (2022, 16 nm) */ + { 7, -1, -1, -1, 91, -1, -1, -1, ZHAOXIN, KAISHENG_|_KH_ , _40000, "Zhaoxin KaisHeng (Yongfeng)" }, // KH (40000) + { 7, -1, -1, -1, 91, -1, -1, -1, ZHAOXIN, KAIXIAN_|_KX_ , _7000, "Zhaoxin KaiXian (Yongfeng)" }, // KX (7000) +// F M S EF EM #cores L2$ L3$ BC ModelBits ModelCode Name +}; + +static centaur_code_and_bits_t get_brand_code_and_bits(struct cpu_id_t* data) +{ + centaur_code_t code = (centaur_code_t) NC; + centaur_code_and_bits_t result; + uint64_t bits = 0; + int i = 0; + + const char* bs = data->brand_str; + const struct { centaur_code_t c; const char *search; } code_matchtable[] = { + { VIA, "VIA" }, + { ZHAOXIN, "ZHAOXIN" }, + }; + + const struct { uint64_t bit; const char* search; } bit_matchtable_via[] = { + { SAMUEL_, "Samuel" }, + { EZRA_, "Ezra" }, + { NEHEMIAH_, "Nehemiah" }, + { ESTHER_, "Esther" }, + { EDEN_, "Eden" }, + { CNA_, "CNA" }, + { NANO_, "Nano" }, + { QUADCORE_, "QuadCore" }, + }; + const struct { uint64_t bit; const char* search; } bit_matchtable_zhaoxin[] = { + { KAISHENG_, "KaisHeng" }, + { KAIXIAN_, "KaiXian" }, + { _KH_, "KH" }, + { _KX_, "KX" }, + { _ZX_, "ZX" }, + { _C, "-C" }, + { _D, "-D" }, + { _E, "-E" }, + }; + + for (i = 0; i < COUNT_OF(code_matchtable); i++) { + if (match_pattern(bs, code_matchtable[i].search)) { + code = code_matchtable[i].c; + break; + } + } + + if (code == VIA) { + for (i = 0; i < COUNT_OF(bit_matchtable_via); i++) { + if (match_pattern(bs, bit_matchtable_via[i].search)) + bits |= bit_matchtable_via[i].bit; + } + } + else if (code == ZHAOXIN) { + for (i = 0; i < COUNT_OF(bit_matchtable_zhaoxin); i++) { + if (match_pattern(bs, bit_matchtable_zhaoxin[i].search)) + bits |= bit_matchtable_zhaoxin[i].bit; + } + } + + result.code = code; + result.bits = bits; + return result; +} + +static centaur_model_t get_model_code(struct cpu_id_t* data, centaur_code_and_bits_t brand) +{ + int i = 0; + int l = (int) strlen(data->brand_str); + const char *bs = data->brand_str; + + if (brand.code == ZHAOXIN) { + if ((i = match_pattern(bs, "KaiSheng KH-")) != 0) { + i += 11; + if (i + 4 >= l) return UNKNOWN; + switch(bs[i]) { + case '2': return _20000; + case '3': return _30000; + case '4': return _40000; + default: return UNKNOWN; + } + } + else if ((i = match_pattern(bs, "KaiXian KX-")) != 0) { + i += 10; + if (bs[i] == 'U') i++; + if (i + 3 >= l) return UNKNOWN; + switch(bs[i]) { + case '4': return _4000; + case '5': return _5000; + case '6': return _6000; + case '7': return _7000; + default: return UNKNOWN; + } + } + } + + return UNKNOWN; +} + +int cpuid_identify_centaur(struct cpu_raw_data_t* raw, struct cpu_id_t* data, struct internal_id_info_t* internal) +{ + centaur_code_and_bits_t brand; + centaur_model_t model_code; + int i; + char* brand_code_str = NULL; + + if (raw->basic_cpuid[0][EAX] >= 4) + decode_deterministic_cache_info_x86(raw->intel_fn4, MAX_INTELFN4_LEVEL, data, internal); + decode_number_of_cores_x86(raw, data); + + brand = get_brand_code_and_bits(data); + model_code = get_model_code(data, brand); + for (i = 0; i < COUNT_OF(centaur_code_str); i++) { + if (brand.code == centaur_code_str[i].code) { + brand_code_str = centaur_code_str[i].str; + break; + } + } + if (brand_code_str) + debugf(2, "Detected Centaur brand code: %d (%s)\n", brand.code, brand_code_str); + else + debugf(2, "Detected Centaur brand code: %d\n", brand.code); + if (brand.bits) { + debugf(2, "Detected Centaur bits: "); + debug_print_lbits(2, brand.bits); + } + debugf(2, "Detected Centaur model code: %d\n", model_code); + + internal->code.centaur = brand.code; + internal->bits = brand.bits; + internal->score = match_cpu_codename(cpudb_centaur, COUNT_OF(cpudb_centaur), data, + brand.code, brand.bits, model_code); + + return 0; +} + +void cpuid_get_list_centaur(struct cpu_list_t* list) +{ + generic_get_cpu_list(cpudb_centaur, COUNT_OF(cpudb_centaur), list); +} diff --git a/libcpuid/recog_centaur.h b/libcpuid/recog_centaur.h new file mode 100644 index 0000000..09b5ebd --- /dev/null +++ b/libcpuid/recog_centaur.h @@ -0,0 +1,32 @@ +/* + * Copyright 2023 Veselin Georgiev, + * anrieffNOSPAM @ mgail_DOT.com (convert to gmail) + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +#ifndef __RECOG_CENTAUR_H__ +#define __RECOG_CENTAUR_H__ + +int cpuid_identify_centaur(struct cpu_raw_data_t* raw, struct cpu_id_t* data, struct internal_id_info_t* internal); +void cpuid_get_list_centaur(struct cpu_list_t* list); + +#endif /* __RECOG_CENTAUR_H__ */ diff --git a/tests/via/esther/c7-m.test b/tests/via/esther/c7-m.test new file mode 100644 index 0000000..d98eced --- /dev/null +++ b/tests/via/esther/c7-m.test @@ -0,0 +1,47 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 00000001-746E6543-736C7561-48727561 +CPUID 00000001: 000006D0-00000800-00004181-A7C9BBFF +CPUID 80000000: 80000006-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000000-00100000 +CPUID 80000002: 20202020-20202020-20202020-20202020 +CPUID 80000003: 20202020-41495620-2D374320-7250204D +CPUID 80000004: 7365636F-20726F73-30303231-007A484D +CPUID 80000005: 00000000-08800880-40040140-40040140 +CPUID 80000006: 00000000-00000000-0080A140-00000000 +CPUID C0000000: C0000003-00000000-00000000-00000000 +CPUID C0000001: 00000000-00000001-00000000-0000FFCC +CPUID C0000002: 00003A00-04000C09-04060C09-43040000 +CPUID C0000003: 94D53FDE-7980BEBF-366B736B-ED908777 +-------------------------------------------------------------------------------- +x86 +general +6 +13 +0 +6 +13 +1 +1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA C7-M (Esther) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge cmov pat clflush mmx fxsr sse sse2 pni diff --git a/tests/via/esther/c7.test b/tests/via/esther/c7.test new file mode 100644 index 0000000..d2ed36b --- /dev/null +++ b/tests/via/esther/c7.test @@ -0,0 +1,46 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 00000001-746E6543-736C7561-48727561 +CPUID 00000001: 000006A9-00010800-00000181-A7C9BBFF +CPUID 80000000: 80000006-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000000-00100000 +CPUID 80000002: 20202020-20202020-20202020-20202020 +CPUID 80000003: 56202020-45204149-65687473-72702072 +CPUID 80000004: 7365636F-20726F73-30303531-007A484D +CPUID 80000005: 00000000-08800880-40040140-40040140 +CPUID 80000006: 00000000-00000000-0080A140-00000000 +CPUID C0000000: C0000002-00000000-00000000-00000000 +CPUID C0000001: 00000000-00000000-00000000-00003FCC +CPUID C0000002: 00002C00-08000F13-08100F13-43C00000 +-------------------------------------------------------------------------------- +x86 +general +6 +10 +9 +6 +10 +1 +1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA C7 (Esther) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge cmov pat clflush mmx fxsr sse sse2 pni diff --git a/tests/via/ezra/c3-t.test b/tests/via/ezra/c3-t.test new file mode 100644 index 0000000..2fce933 --- /dev/null +++ b/tests/via/ezra/c3-t.test @@ -0,0 +1,43 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 00000001-746E6543-736C7561-48727561 +CPUID 00000001: 00000689-00000000-00000000-00803135 +CPUID 80000000: 80000006-00000000-00000000-00000000 +CPUID 80000001: 00000689-00000000-00000000-80803135 +CPUID 80000002: 20414956-45203343-0061727A-00000000 +CPUID 80000003: 00000000-00000000-00000000-00000000 +CPUID 80000004: 00000000-00000000-00000000-00000000 +CPUID 80000005: 00000000-08800880-40040120-40040120 +CPUID 80000006: 00000000-00000000-40040120-00000000 +-------------------------------------------------------------------------------- +x86 +general +6 +8 +9 +6 +8 +1 +1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA C3 (Ezra-T) +fpu de tsc msr cx8 mtrr pge mmx diff --git a/tests/via/ezra/c3.test b/tests/via/ezra/c3.test new file mode 100644 index 0000000..dfc601f --- /dev/null +++ b/tests/via/ezra/c3.test @@ -0,0 +1,43 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 00000001-746E6543-736C7561-48727561 +CPUID 00000001: 00000678-00000000-00000000-00803135 +CPUID 80000000: 80000006-00000000-00000000-00000000 +CPUID 80000001: 00000678-00000000-00000000-80803135 +CPUID 80000002: 20414956-61727A45-00000000-00000000 +CPUID 80000003: 00000000-00000000-00000000-00000000 +CPUID 80000004: 00000000-00000000-00000000-00000000 +CPUID 80000005: 00000000-08800880-40040120-40040120 +CPUID 80000006: 00000000-00000000-40040120-00000000 +-------------------------------------------------------------------------------- +x86 +general +6 +7 +8 +6 +7 +1 +1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA C3 (Ezra) +fpu de tsc msr cx8 mtrr pge mmx diff --git a/tests/via/isaiah/eden-x4.test b/tests/via/isaiah/eden-x4.test new file mode 100644 index 0000000..00afb0a --- /dev/null +++ b/tests/via/isaiah/eden-x4.test @@ -0,0 +1,169 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000006FE-00040800-76FA63AB-BFCBFBFF +CPUID 00000002: 00000001-00000000-00000000-00000000 +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] +CPUID 00000004: 0C00C143-03C0003F-000007FF-00000000 [SL 02] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-000C25AB-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 0000000B: 00000000-00000001-00000100-00000000 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000000 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000240-00000340-00000000 [SL 00] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2E100800 +CPUID 80000002: 20202020-20202020-20202020-20202020 [ ] +CPUID 80000003: 20202020-49562020-64452041-58206E65 [ VIA Eden X] +CPUID 80000004: 34432034-40303532-2B322E31-007A4847 [4 C4250@1.2+GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 +CPUID 80000006: 00000000-00000000-08008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FE-00000000-00000000-1EC33DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000003D-08000A52-084D0D5B-00000000 +------[ Logical CPU #1 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000006FE-01040800-76FA63AB-BFCBFBFF +CPUID 00000002: 00000001-00000000-00000000-00000000 +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] +CPUID 00000004: 0C00C143-03C0003F-000007FF-00000000 [SL 02] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-000C25AB-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 0000000B: 00000000-00000001-00000100-00000001 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000001 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000240-00000340-00000000 [SL 00] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2E100800 +CPUID 80000002: 20202020-20202020-20202020-20202020 [ ] +CPUID 80000003: 20202020-49562020-64452041-58206E65 [ VIA Eden X] +CPUID 80000004: 34432034-40303532-2B322E31-007A4847 [4 C4250@1.2+GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 +CPUID 80000006: 00000000-00000000-08008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FE-00000000-00000000-1EC33DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000003D-08000B56-084D0D5B-00000000 +------[ Logical CPU #2 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000006FE-02040800-76FA63AB-BFCBFBFF +CPUID 00000002: 00000001-00000000-00000000-00000000 +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] +CPUID 00000004: 0C00C143-03C0003F-000007FF-00000000 [SL 02] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-000C25AB-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 0000000B: 00000000-00000001-00000100-00000002 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000002 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000240-00000340-00000000 [SL 00] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2E100800 +CPUID 80000002: 20202020-20202020-20202020-20202020 [ ] +CPUID 80000003: 20202020-49562020-64452041-58206E65 [ VIA Eden X] +CPUID 80000004: 34432034-40303532-2B322E31-007A4847 [4 C4250@1.2+GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 +CPUID 80000006: 00000000-00000000-08008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FE-00000000-00000000-1EC33DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000003D-08000B56-084D0D5B-00000000 +------[ Logical CPU #3 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000006FE-03040800-76FA63AB-BFCBFBFF +CPUID 00000002: 00000001-00000000-00000000-00000000 +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] +CPUID 00000004: 0C00C143-03C0003F-000007FF-00000000 [SL 02] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-000C25AB-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 0000000B: 00000000-00000001-00000100-00000003 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000003 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000240-00000340-00000000 [SL 00] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2E100800 +CPUID 80000002: 20202020-20202020-20202020-20202020 [ ] +CPUID 80000003: 20202020-49562020-64452041-58206E65 [ VIA Eden X] +CPUID 80000004: 34432034-40303532-2B322E31-007A4847 [4 C4250@1.2+GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 +CPUID 80000006: 00000000-00000000-08008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FE-00000000-00000000-1EC33DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000003C-08320A55-084D0D5B-00000000 +-------------------------------------------------------------------------------- +x86 +general +6 +15 +14 +6 +15 +4 +4 +32 +32 +2048 +-1 +-1 +8 +8 +16 +-1 +-1 +64 +64 +64 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA Eden X4 (Isaiah) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht pni pclmul monitor ssse3 cx16 sse4_1 sse4_2 syscall movbe popcnt aes xsave avx rdtscp lm lahf_lm abm f16c rdrand avx2 bmi1 bmi2 rdseed adx diff --git a/tests/via/isaiah/nano-l-2000.test b/tests/via/isaiah/nano-l-2000.test new file mode 100644 index 0000000..25c5832 --- /dev/null +++ b/tests/via/isaiah/nano-l-2000.test @@ -0,0 +1,58 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 0000000A-746E6543-736C7561-48727561 +CPUID 00000001: 000006F2-00010800-000063A9-AFC9FBFF +CPUID 00000002: 02B3B001-00000000-00000000-2C04307D +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000000-00000000-00000000-00000000 +CPUID 00000007: 00000000-00000000-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280302-00000000-00000000-00000503 +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000001-2A100800 +CPUID 80000002: 20202020-20202020-20202020-56202020 +CPUID 80000003: 4E204149-206F6E61-636F7270-6F737365 +CPUID 80000004: 324C2072-40303032-30303631-007A484D +CPUID 80000005: 00000000-08800880-40100140-40100140 +CPUID 80000006: 00000000-00000000-04008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006F2-00000000-00000000-00070DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000002C-0800101A-080D101A-00000000 +-------------------------------------------------------------------------------- +x86 +general +6 +15 +2 +6 +15 +1 +1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA Nano (Isaiah) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat clflush mmx fxsr sse sse2 pni monitor ssse3 cx16 syscall rdtscp lm lahf_lm diff --git a/tests/via/isaiah/nano-l-3000.test b/tests/via/isaiah/nano-l-3000.test new file mode 100644 index 0000000..f21fbcd --- /dev/null +++ b/tests/via/isaiah/nano-l-3000.test @@ -0,0 +1,58 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 0000000A-746E6543-736C7561-48727561 +CPUID 00000001: 000006F8-00010800-008863A9-AFC9FBFF +CPUID 00000002: 02B3B001-00000000-00000000-2C04307D +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000000-00000000-00000000-00000000 +CPUID 00000007: 00000000-00000000-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000001-20100800 +CPUID 80000002: 20202020-20202020-20202020-20202020 +CPUID 80000003: 20202020-20202020-41495620-6E614E20 +CPUID 80000004: 334C206F-40303530-30303831-007A484D +CPUID 80000005: 00000000-08800880-40100140-40100140 +CPUID 80000006: 00000000-00000000-04008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006F8-00000000-00000000-1EC33DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000002A-08001265-08571265-00000000 +-------------------------------------------------------------------------------- +x86 +general +6 +15 +8 +6 +15 +1 +1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA Nano (Isaiah) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat clflush mmx fxsr sse sse2 pni monitor ssse3 cx16 sse4_1 syscall popcnt lm lahf_lm diff --git a/tests/via/isaiah/nano-x2.test b/tests/via/isaiah/nano-x2.test new file mode 100644 index 0000000..ec7c526 --- /dev/null +++ b/tests/via/isaiah/nano-x2.test @@ -0,0 +1,85 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 0000000A-746E6543-736C7561-48727561 +CPUID 00000001: 000006FA-00020800-008863A9-AFC9FBFF +CPUID 00000002: 02B3B001-00000000-00000000-2C04307D +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 00000000-00000000-00000000-00000000 +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000002-00000000-00000000-00000000 +CPUID 00000007: 00000000-00000000-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000001-20100800 +CPUID 80000002: 20202020-20202020-20202020-56202020 +CPUID 80000003: 4E204149-206F6E61-636F7270-6F737365 +CPUID 80000004: 20202072-40202020-30303831-007A484D +CPUID 80000005: 00000000-08800880-40100140-40100140 +CPUID 80000006: 00000000-00000000-04008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FA-00000000-00000000-1EC13DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000001C-08001263-08471263-00000000 +------[ Logical CPU #1 ]------ +CPUID 00000000: 0000000A-746E6543-736C7561-48727561 +CPUID 00000001: 000006FA-02020800-008863A9-AFC9FBFF +CPUID 00000002: 02B3B001-00000000-00000000-2C04307D +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 00000000-00000000-00000000-00000000 +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000002-00000000-00000000-00000000 +CPUID 00000007: 00000000-00000000-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000001-20100800 +CPUID 80000002: 20202020-20202020-20202020-56202020 +CPUID 80000003: 4E204149-206F6E61-636F7270-6F737365 +CPUID 80000004: 20202072-40202020-30303831-007A484D +CPUID 80000005: 00000000-08800880-40100140-40100140 +CPUID 80000006: 00000000-00000000-04008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FA-00000000-00000000-1EC13DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000026-08001263-08471263-00000000 +-------------------------------------------------------------------------------- +x86 +general +6 +15 +10 +6 +15 +2 +2 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA Nano X2 (Isaiah) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat clflush mmx fxsr sse sse2 pni monitor ssse3 cx16 sse4_1 syscall popcnt lm lahf_lm diff --git a/tests/via/isaiah/nano-x4.test b/tests/via/isaiah/nano-x4.test new file mode 100644 index 0000000..ef44380 --- /dev/null +++ b/tests/via/isaiah/nano-x4.test @@ -0,0 +1,145 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 0000000A-746E6543-736C7561-48727561 +CPUID 00000001: 000006FC-00080800-008863A9-BFC9FBFF +CPUID 00000002: 02B3B001-00000000-00000000-2C04307D +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000021-03C0003F-0000003F-00000000 +CPUID 00000004: 1C000022-03C0003F-0000003F-00000000 +CPUID 00000004: 1C000043-07C0003F-000001FF-00000000 +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000002-00000000-00000000-00000000 +CPUID 00000007: 00000000-00000000-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000001-20100800 +CPUID 80000002: 20202020-20202020-20202020-20202020 +CPUID 80000003: 49562020-75512041-6F436461-4C206572 +CPUID 80000004: 30303734-31204020-202B322E-007A4847 +CPUID 80000005: 00000000-08800880-40100140-40100140 +CPUID 80000006: 00000000-00000000-04008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FC-00000000-00000000-1EC33DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000001F-08000B67-08540B66-00000000 +------[ Logical CPU #1 ]------ +CPUID 00000000: 0000000A-746E6543-736C7561-48727561 +CPUID 00000001: 000006FC-02080800-008863A9-BFC9FBFF +CPUID 00000002: 02B3B001-00000000-00000000-2C04307D +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000021-03C0003F-0000003F-00000000 +CPUID 00000004: 1C000022-03C0003F-0000003F-00000000 +CPUID 00000004: 1C000043-07C0003F-000001FF-00000000 +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000002-00000000-00000000-00000000 +CPUID 00000007: 00000000-00000000-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000001-20100800 +CPUID 80000002: 20202020-20202020-20202020-20202020 +CPUID 80000003: 49562020-75512041-6F436461-4C206572 +CPUID 80000004: 30303734-31204020-202B322E-007A4847 +CPUID 80000005: 00000000-08800880-40100140-40100140 +CPUID 80000006: 00000000-00000000-04008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FC-00000000-00000000-1EC33DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000001E-08000B67-08540B66-00000000 +------[ Logical CPU #2 ]------ +CPUID 00000000: 0000000A-746E6543-736C7561-48727561 +CPUID 00000001: 000006FC-04080800-008863A9-BFC9FBFF +CPUID 00000002: 02B3B001-00000000-00000000-2C04307D +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000021-03C0003F-0000003F-00000000 +CPUID 00000004: 1C000022-03C0003F-0000003F-00000000 +CPUID 00000004: 1C000043-07C0003F-000001FF-00000000 +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000002-00000000-00000000-00000000 +CPUID 00000007: 00000000-00000000-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000001-20100800 +CPUID 80000002: 20202020-20202020-20202020-20202020 +CPUID 80000003: 49562020-75512041-6F436461-4C206572 +CPUID 80000004: 30303734-31204020-202B322E-007A4847 +CPUID 80000005: 00000000-08800880-40100140-40100140 +CPUID 80000006: 00000000-00000000-04008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FC-00000000-00000000-1EC33DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000001E-08000B67-08540B66-00000000 +------[ Logical CPU #3 ]------ +CPUID 00000000: 0000000A-746E6543-736C7561-48727561 +CPUID 00000001: 000006FC-06080800-008863A9-BFC9FBFF +CPUID 00000002: 02B3B001-00000000-00000000-2C04307D +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000021-03C0003F-0000003F-00000000 +CPUID 00000004: 1C000022-03C0003F-0000003F-00000000 +CPUID 00000004: 1C000043-07C0003F-000001FF-00000000 +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000002-00000000-00000000-00000000 +CPUID 00000007: 00000000-00000000-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000001-20100800 +CPUID 80000002: 20202020-20202020-20202020-20202020 +CPUID 80000003: 49562020-75512041-6F436461-4C206572 +CPUID 80000004: 30303734-31204020-202B322E-007A4847 +CPUID 80000005: 00000000-08800880-40100140-40100140 +CPUID 80000006: 00000000-00000000-04008140-00000000 +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FC-00000000-00000000-1EC33DCC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000001E-08000B67-08540B66-00000000 +-------------------------------------------------------------------------------- +x86 +general +6 +15 +12 +6 +15 +4 +4 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA Nano X4 (Isaiah) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat clflush mmx fxsr sse sse2 ht pni monitor ssse3 cx16 sse4_1 syscall popcnt lm lahf_lm diff --git a/tests/via/nehemiah/c3.test b/tests/via/nehemiah/c3.test new file mode 100644 index 0000000..90afaa8 --- /dev/null +++ b/tests/via/nehemiah/c3.test @@ -0,0 +1,45 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 00000001-746e6543-736c7561-48727561 +CPUID 00000001: 00000693-00000000-00000000-0380b13d +CPUID 80000000: 80000006-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000000-00000000 +CPUID 80000002: 20414956-6568654e-6861696d-00000000 +CPUID 80000003: 00000000-00000000-00000000-00000000 +CPUID 80000004: 00000000-00000000-00000000-00000000 +CPUID 80000005: 00000000-08800880-40040120-40040120 +CPUID 80000006: 00000000-00000000-00408120-00000000 +CPUID c0000000: c0000001-00000000-00000000-00000000 +CPUID c0000001: 00000000-00000000-00000000-0000001d +-------------------------------------------------------------------------------- +x86 +general +6 +9 +3 +6 +9 +1 +1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA C3 (Nehemiah) +fpu de pse tsc msr cx8 mtrr pge cmov mmx fxsr sse diff --git a/tests/via/samuel/cyrix-iii.test b/tests/via/samuel/cyrix-iii.test new file mode 100644 index 0000000..dc846d5 --- /dev/null +++ b/tests/via/samuel/cyrix-iii.test @@ -0,0 +1,42 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 00000001-746e6543-736c7561-48727561 +CPUID 00000001: 00000660-c1704000-c1705f8c-008031b5 +CPUID 80000000: 80000005-c1704000-c1705f8c-00000010 +CPUID 80000001: 00000660-c1704000-c1705f8c-808031b5 +CPUID 80000002: 20414956-756d6153-00006c65-0000004d +CPUID 80000003: 00000000-00000000-00000000-00000000 +CPUID 80000004: 00000000-00000000-00000000-00000000 +CPUID 80000005: 80000005-08800880-40040120-40040120 +-------------------------------------------------------------------------------- +x86 +general +6 +6 +0 +6 +6 +1 +1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA Cyrix III (Samuel) +fpu de tsc msr mce cx8 mtrr pge mmx monitor ssse3 sse4_2 movbe fma3 rdrand hypervisor diff --git a/tests/via/samuel2/c3.test b/tests/via/samuel2/c3.test new file mode 100644 index 0000000..62f56bc --- /dev/null +++ b/tests/via/samuel2/c3.test @@ -0,0 +1,43 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 00000001-746E6543-736C7561-48727561 +CPUID 00000001: 00000673-00000000-00000000-00803135 +CPUID 80000000: 80000006-00000000-00000000-00000000 +CPUID 80000001: 00000673-00000000-00000000-80803135 +CPUID 80000002: 20414956-756D6153-32206C65-00000000 +CPUID 80000003: 00000000-00000000-00000000-00000000 +CPUID 80000004: 00000000-00000000-00000000-00000000 +CPUID 80000005: 00000000-08800880-40040120-40040120 +CPUID 80000006: 00000000-00000000-40040120-00000000 +-------------------------------------------------------------------------------- +x86 +general +6 +7 +3 +6 +7 +1 +1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +VIA C3 (Samuel 2) +fpu de tsc msr cx8 mtrr pge mmx diff --git a/tests/zhaoxin/lujiazui/kaixian-kx-6000g.test b/tests/zhaoxin/lujiazui/kaixian-kx-6000g.test new file mode 100644 index 0000000..641c746 --- /dev/null +++ b/tests/zhaoxin/lujiazui/kaixian-kx-6000g.test @@ -0,0 +1,177 @@ +------[ CPUID Registers / Logical CPU #0 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B2-00040800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-00000FFF-00000002 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000E81-00000000-00000001-00000000 +CPUID 00000007: 00000000-201C258B-0040000C-24000000 [SL 00] +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000000 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000000 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000207-00000340-00000A88-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 0000000D: 00000008-00000A80-00000000-00000000 [SL 09] [PKRU] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-485A2020 [ ZH] +CPUID 80000003: 49584F41-614B204E-61695869-584B206E [AOXIN KaiXian KX] +CPUID 80000004: 3030362D-342F4730-362E3240-007A4847 [-6000G/4@2.6GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000005-00000000-00000000-00000000 +CPUID C0000001: 000307B2-00000000-00000000-1EC03DFF +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000002B-1000105B-105B42C7-00000000 +CPUID C0000005: 00000082-00000000-00000000-00000000 +------[ CPUID Registers / Logical CPU #1 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B2-01040800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-00000FFF-00000002 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000E81-00000000-00000001-00000000 +CPUID 00000007: 00000000-201C258B-0040000C-24000000 [SL 00] +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000001 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000001 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000207-00000340-00000A88-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 0000000D: 00000008-00000A80-00000000-00000000 [SL 09] [PKRU] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-485A2020 [ ZH] +CPUID 80000003: 49584F41-614B204E-61695869-584B206E [AOXIN KaiXian KX] +CPUID 80000004: 3030362D-342F4730-362E3240-007A4847 [-6000G/4@2.6GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000005-00000000-00000000-00000000 +CPUID C0000001: 000307B2-00000000-00000000-1EC03DFF +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000002B-1000105B-105B42C7-00000000 +CPUID C0000005: 00000082-00000000-00000000-00000000 +------[ CPUID Registers / Logical CPU #2 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B2-02040800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-00000FFF-00000002 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000E81-00000000-00000001-00000000 +CPUID 00000007: 00000000-201C258B-0040000C-24000000 [SL 00] +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000002 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000002 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000207-00000340-00000A88-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 0000000D: 00000008-00000A80-00000000-00000000 [SL 09] [PKRU] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-485A2020 [ ZH] +CPUID 80000003: 49584F41-614B204E-61695869-584B206E [AOXIN KaiXian KX] +CPUID 80000004: 3030362D-342F4730-362E3240-007A4847 [-6000G/4@2.6GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000005-00000000-00000000-00000000 +CPUID C0000001: 000307B2-00000000-00000000-1EC03DFF +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000002A-1000105B-105B42C7-00000000 +CPUID C0000005: 00000082-00000000-00000000-00000000 +------[ CPUID Registers / Logical CPU #3 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B2-03040800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-00000FFF-00000002 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000E81-00000000-00000001-00000000 +CPUID 00000007: 00000000-201C258B-0040000C-24000000 [SL 00] +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000003 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000003 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000207-00000340-00000A88-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 0000000D: 00000008-00000A80-00000000-00000000 [SL 09] [PKRU] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-485A2020 [ ZH] +CPUID 80000003: 49584F41-614B204E-61695869-584B206E [AOXIN KaiXian KX] +CPUID 80000004: 3030362D-342F4730-362E3240-007A4847 [-6000G/4@2.6GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000005-00000000-00000000-00000000 +CPUID C0000001: 000307B2-00000000-00000000-1EC03DFF +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000002A-1000105B-105B42C7-00000000 +CPUID C0000005: 00000082-00000000-00000000-00000000 +-------------------------------------------------------------------------------- +x86 +general +7 +11 +2 +7 +59 +4 +4 +32 +32 +4096 +-1 +-1 +8 +8 +16 +-1 +-1 +64 +64 +64 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +Zhaoxin KaiXian (LuJiaZui) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht pni pclmul monitor ssse3 cx16 sse4_1 sse4_2 syscall movbe popcnt aes xsave osxsave avx rdtscp lm lahf_lm abm constant_tsc f16c rdrand bmi1 bmi2 sha_ni rdseed adx diff --git a/tests/zhaoxin/lujiazui/kaixian-kx-6640ma.test b/tests/zhaoxin/lujiazui/kaixian-kx-6640ma.test new file mode 100644 index 0000000..bf2ec33 --- /dev/null +++ b/tests/zhaoxin/lujiazui/kaixian-kx-6640ma.test @@ -0,0 +1,169 @@ +------[ CPUID Registers / Logical CPU #0 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B0-00040800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-00000FFF-00000002 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 [SL 00] +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000000 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000000 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-485A2020 [ ZH] +CPUID 80000003: 49584F41-614B204E-61695869-584B206E [AOXIN KaiXian KX] +CPUID 80000004: 3436362D-40414D30-2B322E32-007A4847 [-6640MA@2.2+GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B0-00000000-00000000-1EC13DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000004D-18002C98-186F34AA-00000000 +------[ CPUID Registers / Logical CPU #1 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B0-01040800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-00000FFF-00000002 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 [SL 00] +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000001 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000001 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-485A2020 [ ZH] +CPUID 80000003: 49584F41-614B204E-61695869-584B206E [AOXIN KaiXian KX] +CPUID 80000004: 3436362D-40414D30-2B322E32-007A4847 [-6640MA@2.2+GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B0-00000000-00000000-1EC13DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000004D-18002C98-186F34AA-00000000 +------[ CPUID Registers / Logical CPU #2 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B0-02040800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-00000FFF-00000002 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 [SL 00] +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000002 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000002 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-485A2020 [ ZH] +CPUID 80000003: 49584F41-614B204E-61695869-584B206E [AOXIN KaiXian KX] +CPUID 80000004: 3436362D-40414D30-2B322E32-007A4847 [-6640MA@2.2+GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B0-00000000-00000000-1EC13DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000004D-183031A6-186F34AA-00000000 +------[ CPUID Registers / Logical CPU #3 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B0-03040800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-00000FFF-00000002 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 [SL 00] +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000003 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000003 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-485A2020 [ ZH] +CPUID 80000003: 49584F41-614B204E-61695869-584B206E [AOXIN KaiXian KX] +CPUID 80000004: 3436362D-40414D30-2B322E32-007A4847 [-6640MA@2.2+GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B0-00000000-00000000-1EC13DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 0000004D-180034AA-186F34AA-00000000 +-------------------------------------------------------------------------------- +x86 +general +7 +11 +0 +7 +59 +4 +4 +32 +32 +4096 +-1 +-1 +8 +8 +16 +-1 +-1 +64 +64 +64 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +Zhaoxin KaiXian (LuJiaZui) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht pni pclmul monitor ssse3 cx16 sse4_1 sse4_2 syscall movbe popcnt aes xsave osxsave avx rdtscp lm lahf_lm abm constant_tsc f16c rdrand bmi1 bmi2 sha_ni rdseed adx diff --git a/tests/zhaoxin/lujiazui/kaixian-kx-u6780a.test b/tests/zhaoxin/lujiazui/kaixian-kx-u6780a.test new file mode 100644 index 0000000..c07734f --- /dev/null +++ b/tests/zhaoxin/lujiazui/kaixian-kx-u6780a.test @@ -0,0 +1,305 @@ +------[ CPUID Registers / Logical CPU #0 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B1-00080800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 1C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 1C00C143-03C0003F-00000FFF-00000003 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000000 [SL 00] +CPUID 0000000B: 00000003-00000008-00000201-00000000 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-5A202020 [ Z] +CPUID 80000003: 584F4148-4B204E49-69586961-4B206E61 [HAOXIN KaiXian K] +CPUID 80000004: 36552D58-41303837-372E3240-007A4847 [X-U6780A@2.7GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B1-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000024-180036A5-186936A5-00000000 +------[ CPUID Registers / Logical CPU #1 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B1-01080800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 1C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 1C00C143-03C0003F-00000FFF-00000003 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000001 [SL 00] +CPUID 0000000B: 00000003-00000008-00000201-00000001 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-5A202020 [ Z] +CPUID 80000003: 584F4148-4B204E49-69586961-4B206E61 [HAOXIN KaiXian K] +CPUID 80000004: 36552D58-41303837-372E3240-007A4847 [X-U6780A@2.7GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B1-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000024-180036A5-186936A5-00000000 +------[ CPUID Registers / Logical CPU #2 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B1-02080800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 1C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 1C00C143-03C0003F-00000FFF-00000003 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000002 [SL 00] +CPUID 0000000B: 00000003-00000008-00000201-00000002 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-5A202020 [ Z] +CPUID 80000003: 584F4148-4B204E49-69586961-4B206E61 [HAOXIN KaiXian K] +CPUID 80000004: 36552D58-41303837-372E3240-007A4847 [X-U6780A@2.7GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B1-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000024-180036A5-186936A5-00000000 +------[ CPUID Registers / Logical CPU #3 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B1-03080800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 1C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 1C00C143-03C0003F-00000FFF-00000003 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000003 [SL 00] +CPUID 0000000B: 00000003-00000008-00000201-00000003 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-5A202020 [ Z] +CPUID 80000003: 584F4148-4B204E49-69586961-4B206E61 [HAOXIN KaiXian K] +CPUID 80000004: 36552D58-41303837-372E3240-007A4847 [X-U6780A@2.7GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B1-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000024-180036A5-186936A5-00000000 +------[ CPUID Registers / Logical CPU #4 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B1-04080800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 1C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 1C00C143-03C0003F-00000FFF-00000003 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000004 [SL 00] +CPUID 0000000B: 00000003-00000008-00000201-00000004 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-5A202020 [ Z] +CPUID 80000003: 584F4148-4B204E49-69586961-4B206E61 [HAOXIN KaiXian K] +CPUID 80000004: 36552D58-41303837-372E3240-007A4847 [X-U6780A@2.7GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B1-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000024-180036A5-186936A5-00000000 +------[ CPUID Registers / Logical CPU #5 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B1-05080800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 1C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 1C00C143-03C0003F-00000FFF-00000003 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000005 [SL 00] +CPUID 0000000B: 00000003-00000008-00000201-00000005 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-5A202020 [ Z] +CPUID 80000003: 584F4148-4B204E49-69586961-4B206E61 [HAOXIN KaiXian K] +CPUID 80000004: 36552D58-41303837-372E3240-007A4847 [X-U6780A@2.7GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B1-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000024-180036A5-186936A5-00000000 +------[ CPUID Registers / Logical CPU #6 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B1-06080800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 1C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 1C00C143-03C0003F-00000FFF-00000003 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000006 [SL 00] +CPUID 0000000B: 00000003-00000008-00000201-00000006 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-5A202020 [ Z] +CPUID 80000003: 584F4148-4B204E49-69586961-4B206E61 [HAOXIN KaiXian K] +CPUID 80000004: 36552D58-41303837-372E3240-007A4847 [X-U6780A@2.7GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B1-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000024-180036A5-186936A5-00000000 +------[ CPUID Registers / Logical CPU #7 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000307B1-07080800-7FDA63EB-BFCBFBFF +CPUID 00000002: 635AF001-00000000-00000000-000000FF +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 1C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 1C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 1C00C143-03C0003F-00000FFF-00000003 [SL 02] [L2U: 4 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-200C258B-00000004-24000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 07300402-00000000-00000000-00000603 +CPUID 0000000B: 00000000-00000001-00000100-00000007 [SL 00] +CPUID 0000000B: 00000003-00000008-00000201-00000007 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-5A202020 [ Z] +CPUID 80000003: 584F4148-4B204E49-69586961-4B206E61 [HAOXIN KaiXian K] +CPUID 80000004: 36552D58-41303837-372E3240-007A4847 [X-U6780A@2.7GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-10008140-00000000 [L2: 4096 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000100 +CPUID 80000008: 00003028-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000307B1-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000024-180036A5-186936A5-00000000 +-------------------------------------------------------------------------------- +x86 +general +7 +11 +1 +7 +59 +8 +8 +32 +32 +4096 +-1 +-1 +8 +8 +16 +-1 +-1 +64 +64 +64 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +Zhaoxin KaiXian (LuJiaZui) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht pni pclmul monitor ssse3 cx16 sse4_1 sse4_2 syscall movbe popcnt aes xsave osxsave avx rdtscp lm lahf_lm abm constant_tsc f16c rdrand bmi1 bmi2 sha_ni rdseed adx diff --git a/tests/zhaoxin/zhangjiang/kaixian-zx-c+-c4580.test b/tests/zhaoxin/zhangjiang/kaixian-zx-c+-c4580.test new file mode 100644 index 0000000..b6255a8 --- /dev/null +++ b/tests/zhaoxin/zhangjiang/kaixian-zx-c+-c4580.test @@ -0,0 +1,169 @@ +------[ Logical CPU #0 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000006FE-00040800-76DA63AB-BFCBFBFF +CPUID 00000002: 00000001-00000000-00000000-00000000 +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-000007FF-00000000 [SL 02] [L2U: 2 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-000C25AB-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 0000000B: 00000000-00000001-00000100-00000000 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000000 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000240-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-4F41485A [ ZHAO] +CPUID 80000003: 204E4958-5869614B-206E6169-432D585A [XIN KaiXian ZX-C] +CPUID 80000004: 3443202B-40303835-33382E31-007A4847 [+ C4580@1.83GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-08008140-00000000 [L2: 2048 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FE-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000028-08000B5C-08510B5B-00000000 +------[ Logical CPU #1 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000006FE-01040800-76DA63AB-BFCBFBFF +CPUID 00000002: 00000001-00000000-00000000-00000000 +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-000007FF-00000000 [SL 02] [L2U: 2 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-000C25AB-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 0000000B: 00000000-00000001-00000100-00000001 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000001 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000240-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-4F41485A [ ZHAO] +CPUID 80000003: 204E4958-5869614B-206E6169-432D585A [XIN KaiXian ZX-C] +CPUID 80000004: 3443202B-40303835-33382E31-007A4847 [+ C4580@1.83GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-08008140-00000000 [L2: 2048 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FE-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000028-08000B5C-08510B5B-00000000 +------[ Logical CPU #2 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000006FE-02040800-76DA63AB-BFCBFBFF +CPUID 00000002: 00000001-00000000-00000000-00000000 +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-000007FF-00000000 [SL 02] [L2U: 2 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-000C25AB-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 0000000B: 00000000-00000001-00000100-00000002 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000002 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000240-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-4F41485A [ ZHAO] +CPUID 80000003: 204E4958-5869614B-206E6169-432D585A [XIN KaiXian ZX-C] +CPUID 80000004: 3443202B-40303835-33382E31-007A4847 [+ C4580@1.83GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-08008140-00000000 [L2: 2048 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FE-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000028-08000B5C-08510B5B-00000000 +------[ Logical CPU #3 ]------ +CPUID 00000000: 0000000D-746E6543-736C7561-48727561 [CentaurHauls] +CPUID 00000001: 000006FE-03040800-76DA63AB-BFCBFBFF +CPUID 00000002: 00000001-00000000-00000000-00000000 +CPUID 00000003: 00000000-00000000-00000000-00000000 +CPUID 00000004: 0C000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB] +CPUID 00000004: 0C000122-01C0003F-0000003F-00000000 [SL 01] [L1I: 32 KB] +CPUID 00000004: 0C00C143-03C0003F-000007FF-00000000 [SL 02] [L2U: 2 MB] +CPUID 00000005: 00000040-00000040-00000003-00022220 +CPUID 00000006: 00000003-00000000-00000000-00000000 +CPUID 00000007: 00000000-000C25AB-00000000-00000000 +CPUID 00000008: 00000000-00000000-00000000-00000000 +CPUID 00000009: 00000000-00000000-00000000-00000000 +CPUID 0000000A: 06280202-00000000-00000000-00000503 +CPUID 0000000B: 00000000-00000001-00000100-00000003 [SL 00] +CPUID 0000000B: 00000002-00000004-00000201-00000003 [SL 01] +CPUID 0000000C: 00000000-00000000-00000000-00000000 +CPUID 0000000D: 00000007-00000240-00000340-00000000 [SL 00] [x87] +CPUID 0000000D: 00000001-00000000-00000000-00000000 [SL 01] [SSE] +CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX] +CPUID 80000000: 80000008-00000000-00000000-00000000 +CPUID 80000001: 00000000-00000000-00000121-2C100800 +CPUID 80000002: 20202020-20202020-20202020-4F41485A [ ZHAO] +CPUID 80000003: 204E4958-5869614B-206E6169-432D585A [XIN KaiXian ZX-C] +CPUID 80000004: 3443202B-40303835-33382E31-007A4847 [+ C4580@1.83GHz] +CPUID 80000005: 04200420-06600660-20080140-20080140 [L1D: 32 KB / L1I: 32 KB] +CPUID 80000006: 00000000-00000000-08008140-00000000 [L2: 2048 KB] / L3: 0 KB] +CPUID 80000007: 00000000-00000000-00000000-00000000 +CPUID 80000008: 00003024-00000000-00000000-00000000 +CPUID C0000000: C0000004-00000000-00000000-00000000 +CPUID C0000001: 000006FE-00000000-00000000-1EC33DFC +CPUID C0000002: 00000000-00000000-00000000-00000000 +CPUID C0000003: 00000000-00000000-00000000-00000000 +CPUID C0000004: 00000028-08000B5C-08510B5B-00000000 +-------------------------------------------------------------------------------- +x86 +general +6 +15 +14 +6 +15 +4 +4 +32 +32 +2048 +-1 +-1 +8 +8 +16 +-1 +-1 +64 +64 +64 +-1 +-1 +-1 +-1 +-1 +-1 +-1 +-1 (non-authoritative) +Zhaoxin KaiXian (ZhangJiang) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht pni pclmul monitor ssse3 cx16 sse4_1 sse4_2 syscall movbe popcnt aes xsave avx rdtscp lm lahf_lm abm f16c rdrand avx2 bmi1 bmi2 rdseed adx