From 90c5d60b56ec63028568d9f8f7d534d1908ffdf9 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Mon, 29 Apr 2024 15:51:39 -0400 Subject: [PATCH 1/4] Remove non-portable msvc Release props. --- props/version4/base/Release.props | 6 ------ 1 file changed, 6 deletions(-) diff --git a/props/version4/base/Release.props b/props/version4/base/Release.props index 5c827fc..793413e 100644 --- a/props/version4/base/Release.props +++ b/props/version4/base/Release.props @@ -28,12 +28,6 @@ true true MaxSpeed - - - - - AdvancedVectorExtensions2 - ProgramDatabase true From 62a09dbfb0d8d9d216c897c942aa9a6217374689 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Mon, 29 Apr 2024 15:52:20 -0400 Subject: [PATCH 2/4] Remove obsolete datagen system-test config. --- .../libbitcoin-system-test.props | 2 -- .../libbitcoin-system-test/libbitcoin-system-test.xml | 10 ---------- 2 files changed, 12 deletions(-) diff --git a/props/version4/project/libbitcoin-system/libbitcoin-system-test/libbitcoin-system-test.props b/props/version4/project/libbitcoin-system/libbitcoin-system-test/libbitcoin-system-test.props index 4274860..40ccb85 100644 --- a/props/version4/project/libbitcoin-system/libbitcoin-system-test/libbitcoin-system-test.props +++ b/props/version4/project/libbitcoin-system/libbitcoin-system-test/libbitcoin-system-test.props @@ -21,7 +21,6 @@ %(DisableSpecificWarnings) false - ENABLE_DATAGEN;%(PreprocessorDefinitions) BOOST_TEST_DYN_LINK;%(PreprocessorDefinitions) @@ -57,7 +56,6 @@ - diff --git a/props/version4/project/libbitcoin-system/libbitcoin-system-test/libbitcoin-system-test.xml b/props/version4/project/libbitcoin-system/libbitcoin-system-test/libbitcoin-system-test.xml index 8246b1a..2d1704d 100644 --- a/props/version4/project/libbitcoin-system/libbitcoin-system-test/libbitcoin-system-test.xml +++ b/props/version4/project/libbitcoin-system/libbitcoin-system-test/libbitcoin-system-test.xml @@ -1,15 +1,5 @@ - - - - - - - - - - \ No newline at end of file From 9db962e95d23b410b4560263d948e17ba98e363a Mon Sep 17 00:00:00 2001 From: evoskuil Date: Mon, 29 Apr 2024 16:21:19 -0400 Subject: [PATCH 3/4] Update system and system-import msvc props for intrinsics. --- .../import/libbitcoin-system.import.props | 43 ++++++++++++++++++- .../import/libbitcoin-system.import.xml | 32 ++++++++++++++ .../libbitcoin-system/libbitcoin-system.props | 36 +++++++++++++--- .../libbitcoin-system/libbitcoin-system.xml | 18 ++++---- 4 files changed, 113 insertions(+), 16 deletions(-) diff --git a/props/version4/import/libbitcoin-system.import.props b/props/version4/import/libbitcoin-system.import.props index 374a352..67cc87d 100644 --- a/props/version4/import/libbitcoin-system.import.props +++ b/props/version4/import/libbitcoin-system.import.props @@ -10,6 +10,36 @@ + + + + + + true + true + true + true + false + + + + + + + AdvancedVectorExtensions2 + AdvancedVectorExtensions512 + + + + + + + + + + + + @@ -18,11 +48,22 @@ $(ProjectDir)..\..\..\..\..\libbitcoin-system\include\;%(AdditionalIncludeDirectories) - WITH_ICU;WIN32_LEAN_AND_MEAN;NOMINMAX;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions) BC_STATIC;%(PreprocessorDefinitions) + + + WITH_AVX512;%(PreprocessorDefinitions) + WITH_AVX2;%(PreprocessorDefinitions) + WITH_SSE41;%(PreprocessorDefinitions) + WITH_SHANI;%(PreprocessorDefinitions) + WITH_NEON;%(PreprocessorDefinitions) + + + + /ignore:4099 %(AdditionalOptions) + libbitcoin-system.lib;%(AdditionalDependencies) diff --git a/props/version4/import/libbitcoin-system.import.xml b/props/version4/import/libbitcoin-system.import.xml index 05d1d74..e8bed3f 100644 --- a/props/version4/import/libbitcoin-system.import.xml +++ b/props/version4/import/libbitcoin-system.import.xml @@ -14,4 +14,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.props b/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.props index 3ca04e0..28ea6a4 100644 --- a/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.props +++ b/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.props @@ -21,17 +21,16 @@ false - WITH_ICU;WIN32_LEAN_AND_MEAN;NOMINMAX;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions) BC_DLL;%(PreprocessorDefinitions) BC_STATIC;%(PreprocessorDefinitions) - WITH_AVX2;%(PreprocessorDefinitions) - WITH_SSE41;%(PreprocessorDefinitions) - WITH_SHANI;%(PreprocessorDefinitions) - WITH_SSE4;%(PreprocessorDefinitions) - WITH_NEON;%(PreprocessorDefinitions) + WITH_AVX512;%(PreprocessorDefinitions) + WITH_AVX2;%(PreprocessorDefinitions) + WITH_SSE41;%(PreprocessorDefinitions) + WITH_SHANI;%(PreprocessorDefinitions) + WITH_NEON;%(PreprocessorDefinitions) @@ -50,10 +49,35 @@ static + + + + + + true + true + true + true + false + + + + + + + AdvancedVectorExtensions2 + AdvancedVectorExtensions512 + + + + + + + diff --git a/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.xml b/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.xml index 741f2d2..4c4cf1e 100644 --- a/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.xml +++ b/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.xml @@ -2,33 +2,33 @@ + - + + + + - + - + - + - - - - - + From a25bd2cfefcb2ba246a6fb1bb96f8de08670ab7e Mon Sep 17 00:00:00 2001 From: evoskuil Date: Mon, 29 Apr 2024 16:57:54 -0400 Subject: [PATCH 4/4] Change intrinsics config to avoid shani/avx512 by default. --- props/version4/import/libbitcoin-system.import.props | 8 ++++---- .../libbitcoin-system/libbitcoin-system.props | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/props/version4/import/libbitcoin-system.import.props b/props/version4/import/libbitcoin-system.import.props index 67cc87d..390dc00 100644 --- a/props/version4/import/libbitcoin-system.import.props +++ b/props/version4/import/libbitcoin-system.import.props @@ -14,15 +14,15 @@ + + - true + false true true - true + false false - - diff --git a/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.props b/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.props index 28ea6a4..3bf5c75 100644 --- a/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.props +++ b/props/version4/project/libbitcoin-system/libbitcoin-system/libbitcoin-system.props @@ -53,15 +53,15 @@ + + - true + false true true - true + false false - -