Skip to content

Commit

Permalink
Release version 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTumultuousUnicornOfDarkness committed Sep 27, 2022
1 parent 7ab6b32 commit 3bf569f
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 19 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
28 changes: 28 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 4 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([libcpuid CPU Identification library], [0.5.1], [[email protected]], [libcpuid])
AC_INIT([libcpuid CPU Identification library], [0.6.0], [[email protected]], [libcpuid])
AC_CONFIG_SRCDIR([libcpuid/libcpuid.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
Expand All @@ -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])
Expand Down
2 changes: 1 addition & 1 deletion libcpuid/Makefile.x64
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion libcpuid/Makefile.x86
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions libcpuid/libcpuid.dsp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion libcpuid/libcpuid.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* \file libcpuid.h
* \author Veselin Georgiev
* \date Oct 2008
* \version 0.5.1
* \version 0.6.0
*
* Version history:
*
Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions libcpuid/libcpuid_vc10.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
Expand All @@ -117,7 +117,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>
Expand All @@ -130,7 +130,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
Expand All @@ -142,7 +142,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
Expand All @@ -157,7 +157,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
Expand All @@ -169,7 +169,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
Expand Down
6 changes: 3 additions & 3 deletions libcpuid/libcpuid_vc71.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="VERSION=\&quot;0.5.1\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.6.0\&quot;"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
Expand Down Expand Up @@ -60,7 +60,7 @@
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="VERSION=\&quot;0.5.1\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.6.0\&quot;"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Expand Down Expand Up @@ -99,7 +99,7 @@
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="VERSION=\&quot;0.5.1\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.6.0\&quot;"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Expand Down

0 comments on commit 3bf569f

Please sign in to comment.