diff --git a/CMakeLists.txt b/CMakeLists.txt index 34eb2cf3..76f276dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 3.13) -set(VERSION "0.6.3") +set(VERSION "0.6.4") set(LIBCPUID_CURRENT 16) set(LIBCPUID_AGE 0) -set(LIBCPUID_REVISION 3) +set(LIBCPUID_REVISION 4) project( cpuid LANGUAGES C CXX ASM_MASM diff --git a/ChangeLog b/ChangeLog index 88e28be9..3e693365 100644 --- a/ChangeLog +++ b/ChangeLog @@ -160,3 +160,22 @@ Version 0.6.3 (2023-04-02): * Support for Intel Raptor Lake-P * Support for Intel Raptor Lake-U * Support for Intel Rocket Lake-E + +Version 0.6.4 (2023-10-08): + * Support for AMD Genoa + * Support for Intel Sapphire Rapids-WS + * Support for Intel Skylake (server) + * Support for Intel Cascade Lake + * Support for Intel Ice-Lake (server) + * Support for Intel Sapphire Rapids-SP + * Improve support for Intel Arrandale (Pentium and Celeron) + * Fix support for Intel Sandy Bridge-E (Core i7) + * Support for AMD Phoenix + * Support for Intel Raptor Lake-H/HX + * Improve support for Intel Alder-Lake and Raptor-Lake P/U + * Fix floating point exception in cpu_identify_all() for unsupported CPU vendor + * Initial support for Centaur CPUs (VIA and Zhaoxin) + * Support for Intel Apollo Lake + * Fix build for NetBSD and DragonFly BSD (#190) + * Support for AMD Dragon Range + * Support for AMD Ryzen Z1 diff --git a/configure.ac b/configure.ac index 74bfd6c3..6afaa2a6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libcpuid CPU Identification library], [0.6.3], [libcpuid-devel@lists.sourceforge.net], [libcpuid]) +AC_INIT([libcpuid CPU Identification library], [0.6.4], [libcpuid-devel@lists.sourceforge.net], [libcpuid]) AC_CONFIG_SRCDIR([libcpuid/libcpuid.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -29,9 +29,10 @@ dnl 16:0:0 Version 0.6.0: add more fields in cpu_id_t (cache instances), suppo 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 dnl 16:0:3 Version 0.6.3: DB updates, fixes, restore CPU affinity, rename {set,get}_error() to cpuid_{set,get}_error() +dnl 16:0:4 Version 0.6.4: DB updates, fixes, support for Centaur CPUs (VIA and Zhaoxin) LIBCPUID_CURRENT=16 LIBCPUID_AGE=0 -LIBCPUID_REVISION=3 +LIBCPUID_REVISION=4 AC_SUBST([LIBCPUID_AGE]) AC_SUBST([LIBCPUID_REVISION]) AC_SUBST([LIBCPUID_CURRENT]) diff --git a/libcpuid/Makefile.x64 b/libcpuid/Makefile.x64 index 037ddae7..5dce9605 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.3\"" +DEFINES = /D "VERSION=\"0.6.4\"" 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) diff --git a/libcpuid/Makefile.x86 b/libcpuid/Makefile.x86 index 56120a1b..332577dc 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.3\"" +DEFINES = /D "VERSION=\"0.6.4\"" OBJECTS = asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_centaur.obj recog_intel.obj rdtsc.obj libcpuid.lib: $(OBJECTS) diff --git a/libcpuid/libcpuid.dsp b/libcpuid/libcpuid.dsp index e1682014..5b526c56 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.3\" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.6.4\" /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.3\" /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.4\" /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 37759725..037e29fc 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.3 + * \version 0.6.4 * * Version history: * @@ -74,6 +74,9 @@ * restore previous thread CPU affinity before returning from cpuid_get_all_raw_data(), * query CPU info at least once even if set_cpu_affinity() fails, * rename set_error() to cpuid_set_error() and get_error() to cpuid_get_error(). + * * 0.6.4 (2023-10-08): A lot of DB updates, add support for Centaur CPUs (VIA and Zhaoxin), + * fix floating point exception in cpu_identify_all(), + * fix build for NetBSD and DragonFly BSD. */ /** @mainpage A simple libcpuid introduction diff --git a/libcpuid/libcpuid_vc10.vcxproj b/libcpuid/libcpuid_vc10.vcxproj index 2516ec6d..5a982364 100644 --- a/libcpuid/libcpuid_vc10.vcxproj +++ b/libcpuid/libcpuid_vc10.vcxproj @@ -102,7 +102,7 @@ Disabled - WIN32;_DEBUG;_LIB;VERSION="0.6.3";%(PreprocessorDefinitions) + WIN32;_DEBUG;_LIB;VERSION="0.6.4";%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebug @@ -117,7 +117,7 @@ Disabled - WIN32;_DEBUG;_LIB;VERSION="0.6.3";%(PreprocessorDefinitions) + WIN32;_DEBUG;_LIB;VERSION="0.6.4";%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebug @@ -130,7 +130,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.6.3";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.4";%(PreprocessorDefinitions) MultiThreaded @@ -142,7 +142,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.6.3";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.4";%(PreprocessorDefinitions) MultiThreaded @@ -157,7 +157,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.6.3";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.4";%(PreprocessorDefinitions) MultiThreaded @@ -169,7 +169,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.6.3";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.4";%(PreprocessorDefinitions) MultiThreaded diff --git a/libcpuid/libcpuid_vc71.vcproj b/libcpuid/libcpuid_vc71.vcproj index 097f2dd7..0fab75e0 100644 --- a/libcpuid/libcpuid_vc71.vcproj +++ b/libcpuid/libcpuid_vc71.vcproj @@ -19,7 +19,7 @@ + UniqueIdentifier="{4FC737F1-C7A5-4376-A0.6.4A32D752A2FF}">