From 3bf569faf5d606bc29d7122984eb888232fae8bd Mon Sep 17 00:00:00 2001 From: Xorg Date: Fri, 23 Sep 2022 19:55:44 +0200 Subject: [PATCH] Release version 0.6.0 --- CMakeLists.txt | 4 ++-- ChangeLog | 28 ++++++++++++++++++++++++++++ configure.ac | 7 ++++--- libcpuid/Makefile.x64 | 2 +- libcpuid/Makefile.x86 | 2 +- libcpuid/libcpuid.dsp | 4 ++-- libcpuid/libcpuid.h | 6 +++++- libcpuid/libcpuid_vc10.vcxproj | 12 ++++++------ libcpuid/libcpuid_vc71.vcproj | 6 +++--- 9 files changed, 52 insertions(+), 19 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fae3cc..a5425aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.13) -set(VERSION "0.5.1") -set(SOVERSION 15) +set(VERSION "0.6.0") +set(SOVERSION 16) project( cpuid LANGUAGES C CXX ASM_MASM diff --git a/ChangeLog b/ChangeLog index c8a8aa4..f99bd39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -94,3 +94,31 @@ Version 0.5.1 (2021-03-20): * Support for Cezanne * Support for Milan * Support for Rocket Lake + +Version 0.6.0 (2022-09-23): + * Support for Intel Tiger Lake + * CPU Family/Model is used as Ext.Family/Model + * Use popcount64 from libc when available (#152) + * Reduce minimum CMake requirement 3.14 to 3.13 + * Do not link with msrdriver.c on non-Windows platform (#159) + * Report memory allocation failures without making a segmentation fault (#160) + * Support for AMD Lucienne + * Support for AMD Rembrandt + * Support for AMD Warhol + * Remove Debian package from source tree (#165) + * Fix build under Clang 15 (#167) + * Support for AMD Athlon Godavari + * Support for hybrid CPU like Intel Alder Lake (#166) + * Detect presence of hypervisor (#169) + * Decode deterministic cache info for AMD CPUs (#168) + * Add cache instances field in cpu_id_t and system_id_t (#168) + * Support AMD Bald Eagle + * Support for more AMD Godavari (Athlon) + * Rename AMD Bulldozer to Zambezi + * Support for AMD Interlagos + * Support for AMD Abu Dhabi + * Support for AMD Beema + * Support for AMD Steppe Eagle + * Support for more AMD Kabini (Sempron + Athlon) + * Improve msr_serialize_raw_data() + * Support for AMD Zen 2 custom APU for Steam Deck diff --git a/configure.ac b/configure.ac index 5d4a3d5..28eae7a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libcpuid CPU Identification library], [0.5.1], [libcpuid-devel@lists.sourceforge.net], [libcpuid]) +AC_INIT([libcpuid CPU Identification library], [0.6.0], [libcpuid-devel@lists.sourceforge.net], [libcpuid]) AC_CONFIG_SRCDIR([libcpuid/libcpuid.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -25,9 +25,10 @@ dnl 14:0:0 Version 0.4.0: add one more field per cpu_raw_data_t and cpu_id_t dnl 14:0:1 Version 0.4.1: DB updates, and a lot of rdmsr improvements dnl 15:0:0 Version 0.5.0: add one more field per cpu_raw_data_t (amd_fn8000001dh) and cpu_id_t l1_{data,instruction}_{assoc,cacheline} dnl 15:0:1 Version 0.5.1: DB updates -LIBCPUID_CURRENT=15 +dnl 16:0:0 Version 0.6.0: add more fields in cpu_id_t (cache instances), support for hybrid CPUs, DB updates +LIBCPUID_CURRENT=16 LIBCPUID_AGE=0 -LIBCPUID_REVISION=1 +LIBCPUID_REVISION=0 AC_SUBST([LIBCPUID_AGE]) AC_SUBST([LIBCPUID_REVISION]) AC_SUBST([LIBCPUID_CURRENT]) diff --git a/libcpuid/Makefile.x64 b/libcpuid/Makefile.x64 index 1b0445c..7d94b12 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.5.1\"" +DEFINES = /D "VERSION=\"0.6.0\"" 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 53425e8..898bbc1 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.5.1\"" +DEFINES = /D "VERSION=\"0.6.0\"" 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 14d1457..cfcc5c2 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.5.1\" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.6.0\" /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.5.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.0\" /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 3d389cb..acd6b8b 100644 --- a/libcpuid/libcpuid.h +++ b/libcpuid/libcpuid.h @@ -29,7 +29,7 @@ * \file libcpuid.h * \author Veselin Georgiev * \date Oct 2008 - * \version 0.5.1 + * \version 0.6.0 * * Version history: * @@ -62,6 +62,10 @@ * (a backwards-incompatible change since the sizeof * cpu_raw_data_t and cpu_id_t is now different). * * 0.5.1 (2021-03-20): A lot of DB updates + * * 0.6.0 (2022-09-23): Support for hybrid CPUs; CPU cache instances count; + * a lot of DB updates + * (a backwards-incompatible change since the sizeof + * cpu_id_t is now different). */ /** @mainpage A simple libcpuid introduction diff --git a/libcpuid/libcpuid_vc10.vcxproj b/libcpuid/libcpuid_vc10.vcxproj index 7a44b28..e19b0b3 100644 --- a/libcpuid/libcpuid_vc10.vcxproj +++ b/libcpuid/libcpuid_vc10.vcxproj @@ -102,7 +102,7 @@ Disabled - WIN32;_DEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions) + WIN32;_DEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebug @@ -117,7 +117,7 @@ Disabled - WIN32;_DEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions) + WIN32;_DEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebug @@ -130,7 +130,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions) MultiThreaded @@ -142,7 +142,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions) MultiThreaded @@ -157,7 +157,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions) MultiThreaded @@ -169,7 +169,7 @@ - WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions) MultiThreaded diff --git a/libcpuid/libcpuid_vc71.vcproj b/libcpuid/libcpuid_vc71.vcproj index c97b048..8bc61d4 100644 --- a/libcpuid/libcpuid_vc71.vcproj +++ b/libcpuid/libcpuid_vc71.vcproj @@ -19,7 +19,7 @@