mirror of
https://github.com/anrieff/libcpuid
synced 2025-10-03 11:01:30 +00:00
Release version 0.8.1
This commit is contained in:
parent
d7a62cdc6b
commit
3c5b94bea7
9 changed files with 29 additions and 18 deletions
|
@ -1,9 +1,9 @@
|
||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
|
|
||||||
set(VERSION "0.8.0")
|
set(VERSION "0.8.1")
|
||||||
set(LIBCPUID_CURRENT 18)
|
set(LIBCPUID_CURRENT 18)
|
||||||
set(LIBCPUID_AGE 1)
|
set(LIBCPUID_AGE 1)
|
||||||
set(LIBCPUID_REVISION 0)
|
set(LIBCPUID_REVISION 1)
|
||||||
project(
|
project(
|
||||||
cpuid
|
cpuid
|
||||||
LANGUAGES C ASM_MASM
|
LANGUAGES C ASM_MASM
|
||||||
|
|
|
@ -252,3 +252,12 @@ Version 0.8.0 (2025-05-04):
|
||||||
* Return ERR_BADFMT during raw deserialization if cpu_raw_data_t is empty
|
* Return ERR_BADFMT during raw deserialization if cpu_raw_data_t is empty
|
||||||
* Support another type of header for raw deserialization
|
* Support another type of header for raw deserialization
|
||||||
* Support Intel Granite Rapids-SP
|
* Support Intel Granite Rapids-SP
|
||||||
|
|
||||||
|
Version 0.8.1 (2025-08-19):
|
||||||
|
* Fix kernel module name for FreeBSD ARM
|
||||||
|
* Support AMD Krackan Point
|
||||||
|
* Support Intel Skylake-X Core 9th
|
||||||
|
* Support AMD Strix Halo
|
||||||
|
* Build Python bindings without requiring wheel for building (#219)
|
||||||
|
* Support Intel Arrow Lake-HX
|
||||||
|
* Fix warnings about stringop-truncation
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
AC_INIT([libcpuid CPU Identification library], [0.8.0], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
|
AC_INIT([libcpuid CPU Identification library], [0.8.1], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
|
||||||
AC_CONFIG_SRCDIR([libcpuid/libcpuid.h])
|
AC_CONFIG_SRCDIR([libcpuid/libcpuid.h])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
@ -34,9 +34,10 @@ dnl 16:0:5 Version 0.6.5: DB updates, various improvements, detection of LP E-
|
||||||
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_*)
|
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_*)
|
||||||
dnl 17:0:1 Version 0.7.1: DB updates, fixes
|
dnl 17:0:1 Version 0.7.1: DB updates, fixes
|
||||||
dnl 18:1:0 Version 0.8.0: major DB updates, fixes, add more fields cpu_id_t (technology_node), add more fields in cpu_raw_data_t (ID_AA64DFR2_EL1, ID_AA64FPFR0_EL1, ID_AA64ISAR3_EL1), support ARMv9.5-A
|
dnl 18:1:0 Version 0.8.0: major DB updates, fixes, add more fields cpu_id_t (technology_node), add more fields in cpu_raw_data_t (ID_AA64DFR2_EL1, ID_AA64FPFR0_EL1, ID_AA64ISAR3_EL1), support ARMv9.5-A
|
||||||
|
dnl 18:1:1 Version 0.8.1: DB updates, fixes
|
||||||
LIBCPUID_CURRENT=18
|
LIBCPUID_CURRENT=18
|
||||||
LIBCPUID_AGE=1
|
LIBCPUID_AGE=1
|
||||||
LIBCPUID_REVISION=0
|
LIBCPUID_REVISION=1
|
||||||
AC_SUBST([LIBCPUID_AGE])
|
AC_SUBST([LIBCPUID_AGE])
|
||||||
AC_SUBST([LIBCPUID_REVISION])
|
AC_SUBST([LIBCPUID_REVISION])
|
||||||
AC_SUBST([LIBCPUID_CURRENT])
|
AC_SUBST([LIBCPUID_CURRENT])
|
||||||
|
|
|
@ -5,7 +5,7 @@ all: libcpuid.lib
|
||||||
ASM = ml64 /nologo
|
ASM = ml64 /nologo
|
||||||
CC = cl.exe /nologo /TC
|
CC = cl.exe /nologo /TC
|
||||||
OPTFLAGS = /MT
|
OPTFLAGS = /MT
|
||||||
DEFINES = /D "VERSION=\"0.8.0\""
|
DEFINES = /D "VERSION=\"0.8.1\""
|
||||||
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
|
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)
|
libcpuid.lib: $(OBJECTS)
|
||||||
|
|
|
@ -12,7 +12,7 @@ all: libcpuid.lib
|
||||||
|
|
||||||
CC = cl.exe /nologo /TC
|
CC = cl.exe /nologo /TC
|
||||||
OPTFLAGS = /MT
|
OPTFLAGS = /MT
|
||||||
DEFINES = /D "VERSION=\"0.8.0\""
|
DEFINES = /D "VERSION=\"0.8.1\""
|
||||||
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
|
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)
|
libcpuid.lib: $(OBJECTS)
|
||||||
|
|
|
@ -41,7 +41,7 @@ RSC=rc.exe
|
||||||
# PROP Intermediate_Dir "Release"
|
# PROP Intermediate_Dir "Release"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
# 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.8.0\" /YX /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.8.1\" /YX /FD /c
|
||||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
|
@ -64,7 +64,7 @@ LIB32=link.exe -lib
|
||||||
# PROP Intermediate_Dir "Debug"
|
# PROP Intermediate_Dir "Debug"
|
||||||
# PROP Target_Dir ""
|
# 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 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.8.0\" /YX /FD /GZ /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.8.1\" /YX /FD /GZ /c
|
||||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
* \file libcpuid.h
|
* \file libcpuid.h
|
||||||
* \author Veselin Georgiev
|
* \author Veselin Georgiev
|
||||||
* \date Oct 2008
|
* \date Oct 2008
|
||||||
* \version 0.8.0
|
* \version 0.8.1
|
||||||
*
|
*
|
||||||
* Version history:
|
* Version history:
|
||||||
*
|
*
|
||||||
|
@ -88,6 +88,7 @@
|
||||||
* add more fields cpu_id_t (technology_node),
|
* add more fields cpu_id_t (technology_node),
|
||||||
* add more fields in cpu_raw_data_t (ID_AA64DFR2_EL1, ID_AA64FPFR0_EL1, ID_AA64ISAR3_EL1),
|
* add more fields in cpu_raw_data_t (ID_AA64DFR2_EL1, ID_AA64FPFR0_EL1, ID_AA64ISAR3_EL1),
|
||||||
* support ARMv9.5-A (FEATURE_LEVEL_ARM_V9_5_A in cpu_feature_level_t and more CPU_FEATURE in cpu_feature_t).
|
* support ARMv9.5-A (FEATURE_LEVEL_ARM_V9_5_A in cpu_feature_level_t and more CPU_FEATURE in cpu_feature_t).
|
||||||
|
* * 0.8.1 (2025-08-19): A lot of DB updates, fixes.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** @mainpage A simple libcpuid introduction
|
/** @mainpage A simple libcpuid introduction
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.8.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.8.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.8.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.8.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
</PrecompiledHeader>
|
</PrecompiledHeader>
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
</PrecompiledHeader>
|
</PrecompiledHeader>
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
</PrecompiledHeader>
|
</PrecompiledHeader>
|
||||||
|
@ -169,7 +169,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
</PrecompiledHeader>
|
</PrecompiledHeader>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
PreprocessorDefinitions="VERSION=\"0.8.0\""
|
PreprocessorDefinitions="VERSION=\"0.8.1\""
|
||||||
MinimalRebuild="TRUE"
|
MinimalRebuild="TRUE"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
CharacterSet="2">
|
CharacterSet="2">
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
PreprocessorDefinitions="VERSION=\"0.8.0\""
|
PreprocessorDefinitions="VERSION=\"0.8.1\""
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
CharacterSet="2">
|
CharacterSet="2">
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
PreprocessorDefinitions="VERSION=\"0.8.0\""
|
PreprocessorDefinitions="VERSION=\"0.8.1\""
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue