1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-12-16 16:35:45 +00:00

Release version 0.6.4

This commit is contained in:
The Tumultuous Unicorn Of Darkness 2023-10-08 17:12:01 +02:00
parent ede3b8ca9e
commit f9b833d122
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
9 changed files with 42 additions and 19 deletions

View file

@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.13)
set(VERSION "0.6.3")
set(VERSION "0.6.4")
set(LIBCPUID_CURRENT 16)
set(LIBCPUID_AGE 0)
set(LIBCPUID_REVISION 3)
set(LIBCPUID_REVISION 4)
project(
cpuid
LANGUAGES C CXX ASM_MASM

View file

@ -160,3 +160,22 @@ Version 0.6.3 (2023-04-02):
* Support for Intel Raptor Lake-P
* Support for Intel Raptor Lake-U
* Support for Intel Rocket Lake-E
Version 0.6.4 (2023-10-08):
* Support for AMD Genoa
* Support for Intel Sapphire Rapids-WS
* Support for Intel Skylake (server)
* Support for Intel Cascade Lake
* Support for Intel Ice-Lake (server)
* Support for Intel Sapphire Rapids-SP
* Improve support for Intel Arrandale (Pentium and Celeron)
* Fix support for Intel Sandy Bridge-E (Core i7)
* Support for AMD Phoenix
* Support for Intel Raptor Lake-H/HX
* Improve support for Intel Alder-Lake and Raptor-Lake P/U
* Fix floating point exception in cpu_identify_all() for unsupported CPU vendor
* Initial support for Centaur CPUs (VIA and Zhaoxin)
* Support for Intel Apollo Lake
* Fix build for NetBSD and DragonFly BSD (#190)
* Support for AMD Dragon Range
* Support for AMD Ryzen Z1

View file

@ -1,4 +1,4 @@
AC_INIT([libcpuid CPU Identification library], [0.6.3], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
AC_INIT([libcpuid CPU Identification library], [0.6.4], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
AC_CONFIG_SRCDIR([libcpuid/libcpuid.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
@ -29,9 +29,10 @@ dnl 16:0:0 Version 0.6.0: add more fields in cpu_id_t (cache instances), suppo
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()
dnl 16:0:4 Version 0.6.4: DB updates, fixes, support for Centaur CPUs (VIA and Zhaoxin)
LIBCPUID_CURRENT=16
LIBCPUID_AGE=0
LIBCPUID_REVISION=3
LIBCPUID_REVISION=4
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.3\""
DEFINES = /D "VERSION=\"0.6.4\""
OBJECTS = masm-x64.obj asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_centaur.obj recog_intel.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.3\""
DEFINES = /D "VERSION=\"0.6.4\""
OBJECTS = asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_centaur.obj recog_intel.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.3\" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D VERSION=\"0.6.4\" /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.3\" /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.4\" /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.3
* \version 0.6.4
*
* Version history:
*
@ -74,6 +74,9 @@
* 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().
* * 0.6.4 (2023-10-08): A lot of DB updates, add support for Centaur CPUs (VIA and Zhaoxin),
* fix floating point exception in cpu_identify_all(),
* fix build for NetBSD and DragonFly BSD.
*/
/** @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.3";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.6.4";%(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.3";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.6.4";%(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.3";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.4";%(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.3";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.4";%(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.3";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.4";%(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.3";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.6.4";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="VERSION=\&quot;0.6.3\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.6.4\&quot;"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -60,7 +60,7 @@
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="VERSION=\&quot;0.6.3\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.6.4\&quot;"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
@ -99,7 +99,7 @@
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="VERSION=\&quot;0.6.3\&quot;"
PreprocessorDefinitions="VERSION=\&quot;0.6.4\&quot;"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
@ -145,7 +145,7 @@
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A0.6.3A32D752A2FF}">
UniqueIdentifier="{4FC737F1-C7A5-4376-A0.6.4A32D752A2FF}">
<File
RelativePath=".\asm-bits.c">
</File>