mirror of
https://github.com/anrieff/libcpuid
synced 2025-06-07 00:51:40 +00:00
Release version 0.8.0
This commit is contained in:
parent
d81ffe0bab
commit
5bb7c32618
9 changed files with 52 additions and 22 deletions
|
@ -1,9 +1,9 @@
|
|||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
set(VERSION "0.7.1")
|
||||
set(LIBCPUID_CURRENT 17)
|
||||
set(LIBCPUID_AGE 0)
|
||||
set(LIBCPUID_REVISION 1)
|
||||
set(VERSION "0.8.0")
|
||||
set(LIBCPUID_CURRENT 18)
|
||||
set(LIBCPUID_AGE 1)
|
||||
set(LIBCPUID_REVISION 0)
|
||||
project(
|
||||
cpuid
|
||||
LANGUAGES C ASM_MASM
|
||||
|
|
25
ChangeLog
25
ChangeLog
|
@ -227,3 +227,28 @@ Version 0.7.1 (2024-11-30):
|
|||
* Fix detection of Intel Meteor Lake
|
||||
* Support for Intel Arrow Lake
|
||||
* Support for AMD Turin
|
||||
|
||||
Version 0.8.0 (2025-05-04):
|
||||
* A backwards-incompatible change, since the sizeof cpu_raw_data_t and
|
||||
cpu_id_t are now different.
|
||||
* Fix a typo in string (#208)
|
||||
* Support for AMD Turin Dense
|
||||
* Simplify exec_cpuid() to use constraints (#209)
|
||||
* Use HW_NCPUONLINE in get_total_cpus() for OpenBSD/NetBSD (#210)
|
||||
* Implement cpu_clock_by_os() for OpenBSD (#211)
|
||||
* Support Intel Lunar Lake
|
||||
* Support Intel Twin Lake
|
||||
* Support Intel Alder Lake-PS
|
||||
* Support more Intel Raptor Lake ("Intel Processor", "Xeon E")
|
||||
* Support Intel Raptor Lake-U Refresh
|
||||
* Support Intel Raptor Lake-U/H Re-refresh
|
||||
* Support Intel Arrow Lake-U/H
|
||||
* Fix warning during build on OpenBSD about strcpy()
|
||||
* Refactored internal struct match_entry_t for x86 CPUs to fix truncation issues (#212)
|
||||
* Add technology_node field to struct cpu_id_t
|
||||
* Support more ARM CPUs
|
||||
* Support ARMv9.5-A CPUs (new value FEATURE_LEVEL_ARM_V9_5_A for cpu_feature_level_t)
|
||||
* Massive DB updates for almost all Intel and AMD CPUs along with more test data
|
||||
* Return ERR_BADFMT during raw deserialization if cpu_raw_data_t is empty
|
||||
* Support another type of header for raw deserialization
|
||||
* Support Intel Granite Rapids-SP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
AC_INIT([libcpuid CPU Identification library], [0.7.1], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
|
||||
AC_INIT([libcpuid CPU Identification library], [0.8.0], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
|
||||
AC_CONFIG_SRCDIR([libcpuid/libcpuid.h])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
@ -33,9 +33,10 @@ dnl 16:0:4 Version 0.6.4: DB updates, fixes, support for Centaur CPUs (VIA and
|
|||
dnl 16:0:5 Version 0.6.5: DB updates, various improvements, detection of LP E-Cores for Intel CPUs
|
||||
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
|
||||
LIBCPUID_CURRENT=17
|
||||
LIBCPUID_AGE=0
|
||||
LIBCPUID_REVISION=1
|
||||
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
|
||||
LIBCPUID_CURRENT=18
|
||||
LIBCPUID_AGE=1
|
||||
LIBCPUID_REVISION=0
|
||||
AC_SUBST([LIBCPUID_AGE])
|
||||
AC_SUBST([LIBCPUID_REVISION])
|
||||
AC_SUBST([LIBCPUID_CURRENT])
|
||||
|
|
|
@ -5,7 +5,7 @@ all: libcpuid.lib
|
|||
ASM = ml64 /nologo
|
||||
CC = cl.exe /nologo /TC
|
||||
OPTFLAGS = /MT
|
||||
DEFINES = /D "VERSION=\"0.7.1\""
|
||||
DEFINES = /D "VERSION=\"0.8.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)
|
||||
|
|
|
@ -12,7 +12,7 @@ all: libcpuid.lib
|
|||
|
||||
CC = cl.exe /nologo /TC
|
||||
OPTFLAGS = /MT
|
||||
DEFINES = /D "VERSION=\"0.7.1\""
|
||||
DEFINES = /D "VERSION=\"0.8.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)
|
||||
|
|
|
@ -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.7.1\" /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 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.7.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.8.0\" /YX /FD /GZ /c
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
* \file libcpuid.h
|
||||
* \author Veselin Georgiev
|
||||
* \date Oct 2008
|
||||
* \version 0.7.1
|
||||
* \version 0.8.0
|
||||
*
|
||||
* Version history:
|
||||
*
|
||||
|
@ -84,6 +84,10 @@
|
|||
* add more fields in cpu_raw_data_t (amd_fn80000026h, arm_*),
|
||||
* detect x2APIC and AVX512 features for AMD x86 CPUs.
|
||||
* * 0.7.1 (2024-11-30): A lot of DB updates, fix build on ARM platforms.
|
||||
* * 0.8.0 (2025-05-04): A lot of 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 (FEATURE_LEVEL_ARM_V9_5_A in cpu_feature_level_t and more CPU_FEATURE in cpu_feature_t).
|
||||
*/
|
||||
|
||||
/** @mainpage A simple libcpuid introduction
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.7.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.8.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.7.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.8.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.7.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.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.7.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.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.7.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.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.7.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.8.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="VERSION=\"0.7.1\""
|
||||
PreprocessorDefinitions="VERSION=\"0.8.0\""
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
|
@ -60,7 +60,7 @@
|
|||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="VERSION=\"0.7.1\""
|
||||
PreprocessorDefinitions="VERSION=\"0.8.0\""
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
|
@ -99,7 +99,7 @@
|
|||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="VERSION=\"0.7.1\""
|
||||
PreprocessorDefinitions="VERSION=\"0.8.0\""
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
|
|
Loading…
Add table
Reference in a new issue