Skip to content

Commit

Permalink
Release version 0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTumultuousUnicornOfDarkness committed Apr 2, 2023
1 parent 2780368 commit 20b177b
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 20 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.13)

set(VERSION "0.6.2")
set(VERSION "0.6.3")
set(LIBCPUID_CURRENT 16)
set(LIBCPUID_AGE 0)
set(LIBCPUID_REVISION 2)
set(LIBCPUID_REVISION 3)
project(
cpuid
LANGUAGES C CXX ASM_MASM
Expand Down
19 changes: 19 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,22 @@ Version 0.6.2 (2022-11-11):
* Support for Intel Ice Lake (Xeon-D)
* Support for AMD Zen 2 Desktop Kit CPUs (4700S + 4800S)
* Support for AMD Athlon 64 Sherman

Version 0.6.3 (2023-04-02):
* Support for Intel Pentium and Celeron for Alder Lake-S
* Support for Intel Alder Lake-HX
* Support for Intel Alder Lake-X
* Fix detection of Intel Alder Lake-P
* Fix infinite loop in set_cpu_affinity() on macOS
* Fix a misprint of extended CPUID in cpuid_basic_identify()
* Restore previous thread CPU affinity before returning from cpuid_get_all_raw_data() (#184)
* Query CPU info at least once even if set_cpu_affinity() fails
* Support for AMD 19h family MSRs
* Fix detection of Intel Core i5 Lynnfield
* Rename set_error() to cpuid_set_error() and get_error() to cpuid_get_error() (#188)
* Support for Intel Alder Lake-N
* Support for AMD Rembrandt with Radeon Graphics
* Support for Intel Raptor Lake-S with "Golden Cove" cores
* Support for Intel Raptor Lake-P
* Support for Intel Raptor Lake-U
* Support for Intel Rocket Lake-E
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([libcpuid CPU Identification library], [0.6.2], [[email protected]], [libcpuid])
AC_INIT([libcpuid CPU Identification library], [0.6.3], [[email protected]], [libcpuid])
AC_CONFIG_SRCDIR([libcpuid/libcpuid.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
Expand Down Expand Up @@ -28,9 +28,10 @@ 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
dnl 16:0:3 Version 0.6.3: DB updates, fixes, restore CPU affinity, rename {set,get}_error() to cpuid_{set,get}_error()
LIBCPUID_CURRENT=16
LIBCPUID_AGE=0
LIBCPUID_REVISION=2
LIBCPUID_REVISION=3
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.6.2\""
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

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.6.2\""
DEFINES = /D "VERSION=\"0.6.3\""
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.

9 changes: 7 additions & 2 deletions 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.6.2
* \version 0.6.3
*
* Version history:
*
Expand Down Expand Up @@ -68,7 +68,12 @@
* 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.
* * 0.6.2 (2022-11-11): A lot of DB updates, fix cpu_identify_all() for single-core CPUs.
* * 0.6.3 (2023-04-02): A lot of DB updates, fix infinite loop in set_cpu_affinity() on macOS,
* fix a misprint of extended CPUID in cpuid_basic_identify(),
* 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().
*/

/** @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.6.2";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.6.3";%(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.6.2";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.6.3";%(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.6.2";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.3";%(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.6.2";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.3";%(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.6.2";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.3";%(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.6.2";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.3";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
Expand Down
8 changes: 4 additions & 4 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.6.2\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.6.3\&quot;"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
Expand Down Expand Up @@ -60,7 +60,7 @@
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="VERSION=\&quot;0.6.2\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.6.3\&quot;"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Expand Down Expand Up @@ -99,7 +99,7 @@
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="VERSION=\&quot;0.6.2\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.6.3\&quot;"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Expand Down Expand Up @@ -145,7 +145,7 @@
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
UniqueIdentifier="{4FC737F1-C7A5-4376-A0.6.3A32D752A2FF}">
<File
RelativePath=".\asm-bits.c">
</File>
Expand Down

0 comments on commit 20b177b

Please sign in to comment.