diff --git a/CMakeLists.txt b/CMakeLists.txt index 4aa6f53..937dada 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 3.13) -set(VERSION "0.6.1") +set(VERSION "0.6.2") set(LIBCPUID_CURRENT 16) set(LIBCPUID_AGE 0) -set(LIBCPUID_REVISION 1) +set(LIBCPUID_REVISION 2) project( cpuid LANGUAGES C CXX ASM_MASM diff --git a/ChangeLog b/ChangeLog index 750880b..a6ca987 100644 --- a/ChangeLog +++ b/ChangeLog @@ -132,3 +132,12 @@ Version 0.6.1 (2022-10-23): * Fix physical core count computed by cpu_identify_all() when HT is disabled (#175) * Fix shared library symlinks with CMake (#174) * Support for Intel Raptor Lake-S + +Version 0.6.2 (2022-11-11): + * Fix segmentation fault in cpu_identify_all() for single-core CPUs + * Support for Intel Penryn L + * Support for Intel Tremont + * Support for AMD Mendocino + * Support for Intel Ice Lake (Xeon-D) + * Support for AMD Zen 2 Desktop Kit CPUs (4700S + 4800S) + * Support for AMD Athlon 64 Sherman diff --git a/configure.ac b/configure.ac index 08a863a..d1637df 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libcpuid CPU Identification library], [0.6.1], [libcpuid-devel@lists.sourceforge.net], [libcpuid]) +AC_INIT([libcpuid CPU Identification library], [0.6.2], [libcpuid-devel@lists.sourceforge.net], [libcpuid]) AC_CONFIG_SRCDIR([libcpuid/libcpuid.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -27,9 +27,10 @@ dnl 15:0:0 Version 0.5.0: add one more field per cpu_raw_data_t (amd_fn8000001 dnl 15:0:1 Version 0.5.1: DB updates dnl 16:0:0 Version 0.6.0: add more fields in cpu_id_t (cache instances), support for hybrid CPUs, DB updates dnl 16:0:1 Version 0.6.1: DB updates, fixes +dnl 16:0:2 Version 0.6.2: DB updates, fix for single-core CPUs LIBCPUID_CURRENT=16 LIBCPUID_AGE=0 -LIBCPUID_REVISION=1 +LIBCPUID_REVISION=2 AC_SUBST([LIBCPUID_AGE]) AC_SUBST([LIBCPUID_REVISION]) AC_SUBST([LIBCPUID_CURRENT]) diff --git a/libcpuid/Makefile.x64 b/libcpuid/Makefile.x64 index 5126769..4ac4082 100644 --- a/libcpuid/Makefile.x64 +++ b/libcpuid/Makefile.x64 @@ -5,7 +5,7 @@ all: libcpuid.lib ASM = ml64 /nologo CC = cl.exe /nologo /TC OPTFLAGS = /MT -DEFINES = /D "VERSION=\"0.6.1\"" +DEFINES = /D "VERSION=\"0.6.2\"" OBJECTS = masm-x64.obj asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_intel.obj rdtsc.obj libcpuid.lib: $(OBJECTS) diff --git a/libcpuid/Makefile.x86 b/libcpuid/Makefile.x86 index f129773..c77c2a7 100644 --- a/libcpuid/Makefile.x86 +++ b/libcpuid/Makefile.x86 @@ -12,7 +12,7 @@ all: libcpuid.lib CC = cl.exe /nologo /TC OPTFLAGS = /MT -DEFINES = /D "VERSION=\"0.6.1\"" +DEFINES = /D "VERSION=\"0.6.2\"" OBJECTS = asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_intel.obj rdtsc.obj libcpuid.lib: $(OBJECTS) diff --git a/libcpuid/libcpuid.dsp b/libcpuid/libcpuid.dsp index b0c7df6..fc0477f 100644 --- a/libcpuid/libcpuid.dsp +++ b/libcpuid/libcpuid.dsp @@ -41,7 +41,7 @@ RSC=rc.exe # PROP Intermediate_Dir "Release" # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.6.1\" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.6.2\" /YX /FD /c # ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe @@ -64,7 +64,7 @@ LIB32=link.exe -lib # PROP Intermediate_Dir "Debug" # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.6.1\" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.6.2\" /YX /FD /GZ /c # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe diff --git a/libcpuid/libcpuid.h b/libcpuid/libcpuid.h index 92e2e34..b5b05be 100644 --- a/libcpuid/libcpuid.h +++ b/libcpuid/libcpuid.h @@ -29,7 +29,7 @@ * \file libcpuid.h * \author Veselin Georgiev * \date Oct 2008 - * \version 0.6.1 + * \version 0.6.2 * * Version history: * @@ -68,6 +68,7 @@ * cpu_id_t is now different). * * 0.6.1 (2022-10-23): A lot of DB updates, fix set_cpu_affinity() on Windows, * fix cpu_identify_all() when HT is disabled. + * * 0.6.6 (2022-11-11): A lot of DB updates, fix cpu_identify_all() for single-core CPUs. */ /** @mainpage A simple libcpuid introduction diff --git a/libcpuid/libcpuid_vc10.vcxproj b/libcpuid/libcpuid_vc10.vcxproj index a817051..44825bb 100644 --- a/libcpuid/libcpuid_vc10.vcxproj +++ b/libcpuid/libcpuid_vc10.vcxproj @@ -102,7 +102,7 @@ Disabled - WIN32;_DEBUG;_LIB;VERSION="0.6.1";%(PreprocessorDefinitions) + WIN32;_DEBUG;_LIB;VERSION="0.6.2";%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebug @@ -117,7 +117,7 @@ Disabled - WIN32;_DEBUG;_LIB;VERSION="0.6.1";%(PreprocessorDefinitions) + WIN32;_DEBUG;_LIB;VERSION="0.6.2";%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebug @@ -130,7 +130,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.6.1";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.2";%(PreprocessorDefinitions) MultiThreaded @@ -142,7 +142,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.6.1";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.2";%(PreprocessorDefinitions) MultiThreaded @@ -157,7 +157,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.6.1";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.2";%(PreprocessorDefinitions) MultiThreaded @@ -169,7 +169,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.6.1";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.2";%(PreprocessorDefinitions) MultiThreaded diff --git a/libcpuid/libcpuid_vc71.vcproj b/libcpuid/libcpuid_vc71.vcproj index 5dcf449..bbdff76 100644 --- a/libcpuid/libcpuid_vc71.vcproj +++ b/libcpuid/libcpuid_vc71.vcproj @@ -19,7 +19,7 @@