1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00

Release version 0.7.0

This commit is contained in:
The Tumultuous Unicorn Of Darkness 2024-08-26 11:05:12 +02:00
parent 39506501d5
commit 9574313a76
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
9 changed files with 52 additions and 20 deletions

View file

@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.13)
set(VERSION "0.6.5")
set(LIBCPUID_CURRENT 16)
set(VERSION "0.7.0")
set(LIBCPUID_CURRENT 17)
set(LIBCPUID_AGE 0)
set(LIBCPUID_REVISION 5)
set(LIBCPUID_REVISION 0)
project(
cpuid
LANGUAGES C ASM_MASM

View file

@ -190,3 +190,30 @@ Version 0.6.5 (2024-04-28):
* Support for Intel Meteor Lake, including detection of LP E-Cores
* Support for Intel Emerald Rapids-SP
* Support for more AMD Van Gogh
Version 0.7.0 (2024-08-26):
* Fix handle leaks in rdmsr.c (#199)
* Fix cpuid_get_hypervisor when NULL data is provided (#199)
* Prevent intel_fn11 array overruns (#199)
* Support for AMD Hawk Point
* Support for more AMD Phoenix (8000 series)
* Add cpu_clock_by_tsc() function to the library (#124)
* Check x86 CPUs MSR support (#185)
* Add support for ARM CPUs (AArch32 + AArch64) (#200)
* Add cpu_feature_level_t enumerated values for x86 CPUs (#177)
* Support up to 4 subleaf entries for CPUID leaf 0x80000026 (#189)
* Support for Extended CPU topology subleaf in cpuid_identify_purpose_amd() (#189)
* Support CPU purpose for AMD x86 CPUs (#189)
* Add cpuid Linux and FreeBSD kernel modules for ARM CPUs
* Improve errors handling in cpuid_get_all_raw_data() and cpuid_get_raw_data_core() (#202)
* Support get_total_cpus() on DragonFly BSD
* Improve set_cpu_affinity() on NetBSD
* Fix build on OpenBSD
* Improve behavior when CPU affinity cannot be set
* Fix a regression in cpuid_tool about arguments doing nothing (like --rdmsr or --cpuid)
* Fix a segmentation fault when using --quiet in cpuid_tool
* Improve error handling in cpu_identify_all()
* Add Python bindings (#197)
* Support for AMD Granite Ridge
* Support for AMD Strix Point
* Detect x2APIC and AVX512 features for AMD x86 CPUs

View file

@ -1,4 +1,4 @@
AC_INIT([libcpuid CPU Identification library], [0.6.5], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
AC_INIT([libcpuid CPU Identification library], [0.7.0], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
AC_CONFIG_SRCDIR([libcpuid/libcpuid.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
@ -31,9 +31,10 @@ 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)
dnl 16:0:5 Version 0.6.5: DB updates, various improvements, detection of LP E-Cores for Intel CPUs
LIBCPUID_CURRENT=16
dnl 17:0:0 Version 0.7.0: DB updates, fixes, various improvements, add cpu_clock_by_tsc() function, add support for ARM CPUs, add cpu_feature_level_t enumerated values, add more fields in cpu_raw_data_t (amd_fn80000026h, arm_*)
LIBCPUID_CURRENT=17
LIBCPUID_AGE=0
LIBCPUID_REVISION=5
LIBCPUID_REVISION=0
AC_SUBST([LIBCPUID_AGE])
AC_SUBST([LIBCPUID_REVISION])
AC_SUBST([LIBCPUID_CURRENT])

View file

@ -5,7 +5,7 @@ all: libcpuid.lib
ASM = ml64 /nologo
CC = cl.exe /nologo /TC
OPTFLAGS = /MT
DEFINES = /D "VERSION=\"0.6.5\""
DEFINES = /D "VERSION=\"0.7.0\""
OBJECTS = masm-x64.obj asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_arm.obj recog_centaur.obj recog_intel.obj rdcpuid.obj rdtsc.obj
libcpuid.lib: $(OBJECTS)

View file

@ -12,7 +12,7 @@ all: libcpuid.lib
CC = cl.exe /nologo /TC
OPTFLAGS = /MT
DEFINES = /D "VERSION=\"0.6.5\""
DEFINES = /D "VERSION=\"0.7.0\""
OBJECTS = asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_arm.obj recog_centaur.obj recog_intel.obj rdcpuid.obj rdtsc.obj
libcpuid.lib: $(OBJECTS)

View file

@ -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.5\" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.7.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.6.5\" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.7.0\" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe

View file

@ -29,7 +29,7 @@
* \file libcpuid.h
* \author Veselin Georgiev
* \date Oct 2008
* \version 0.6.5
* \version 0.7.0
*
* Version history:
*
@ -79,6 +79,10 @@
* fix build for NetBSD and DragonFly BSD.
* * 0.6.5 (2024-04-28): A lot of DB updates, support heterogeneous RAW dumps in cpu_identify_all(),
* detection of LP E-Cores for Intel CPUs.
* * 0.7.0 (2024-08-26): A lot of DB updates, add cpu_clock_by_tsc() function,
* add support for ARM CPUs, add cpu_feature_level_t enumerated values,
* add more fields in cpu_raw_data_t (amd_fn80000026h, arm_*),
* detect x2APIC and AVX512 features for AMD x86 CPUs.
*/
/** @mainpage A simple libcpuid introduction

View file

@ -102,7 +102,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.6.5";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.7.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@ -117,7 +117,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.6.5";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.7.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>
@ -130,7 +130,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.5";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.7.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
@ -142,7 +142,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.5";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.7.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
@ -157,7 +157,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.5";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.7.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
@ -169,7 +169,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.5";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.7.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="VERSION=\&quot;0.6.5\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.7.0\&quot;"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -60,7 +60,7 @@
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="VERSION=\&quot;0.6.5\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.7.0\&quot;"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
@ -99,7 +99,7 @@
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="VERSION=\&quot;0.6.5\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.7.0\&quot;"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"