|
17 | 17 | <!-- These will compile to the target regardless of the compiling platform. --> |
18 | 18 | <!-- That will result in a crash of test/executable execution if mismatched. --> |
19 | 19 | <PropertyGroup> |
20 | | - <Option-avx512>false</Option-avx512> |
21 | | - <Option-avx2>true</Option-avx2> |
22 | | - <Option-sse41>true</Option-sse41> |
23 | | - <Option-shani>false</Option-shani> |
24 | | - <Option-neon>false</Option-neon> |
| 20 | + <!--<Option-512>false</Option-512>--> |
| 21 | + <!--<Option-256>true</Option-256>--> |
| 22 | + <!--<Option-128>true</Option-128>--> |
| 23 | + <Option-sha>false</Option-sha> |
25 | 24 | </PropertyGroup> |
26 | 25 | <ItemDefinitionGroup> |
27 | 26 | <ClCompile> |
28 | 27 | <!-- order matters --> |
29 | | - <EnableEnhancedInstructionSet Condition="'$(Option-avx2)' == 'true'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet> |
30 | | - <EnableEnhancedInstructionSet Condition="'$(Option-avx512)' == 'true'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> |
| 28 | + <!-- Native configuration now specifyies avx, avx2 or avx512 - in which case we run 128, 256, 512. --> |
| 29 | + <!--<EnableEnhancedInstructionSet Condition="'$(Option-128)' == 'true'">AdvancedVectorExtensions</EnableEnhancedInstructionSet>--> |
| 30 | + <!--<EnableEnhancedInstructionSet Condition="'$(Option-256)' == 'true'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet>--> |
| 31 | + <!--<EnableEnhancedInstructionSet Condition="'$(Option-512)' == 'true'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet>--> |
31 | 32 | </ClCompile> |
32 | 33 | </ItemDefinitionGroup> |
33 | 34 |
|
34 | 35 | <!-- Messages --> |
35 | 36 |
|
36 | 37 | <Target Name="OptionInfo" BeforeTargets="PrepareForBuild"> |
37 | | - <Message Text="Option-avx512 : $(Option-avx512)" Importance="high"/> |
38 | | - <Message Text="Option-avx2 : $(Option-avx2)" Importance="high"/> |
39 | | - <Message Text="Option-sse41 : $(Option-sse41)" Importance="high"/> |
40 | | - <Message Text="Option-shani : $(Option-shani)" Importance="high"/> |
41 | | - <Message Text="Option-neon : $(Option-neon)" Importance="high"/> |
42 | | - </Target> |
| 38 | + <Message Text="Option-sha : $(Option-sha)" Importance="high"/> |
| 39 | + <!--<Message Text="Option-512 : $(Option-512)" Importance="high"/>--> |
| 40 | + <!--<Message Text="Option-256 : $(Option-256)" Importance="high"/>--> |
| 41 | + <!--<Message Text="Option-128 : $(Option-128)" Importance="high"/>--> |
| 42 | + </Target> |
43 | 43 |
|
44 | 44 | <!-- Linkage --> |
45 | 45 |
|
|
55 | 55 | <PreprocessorDefinitions Condition="'$(Linkage-libbitcoin-system)' == 'static' Or '$(Linkage-libbitcoin-system)' == 'ltcg'">BC_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
56 | 56 | <PreprocessorDefinitions Condition="$(Configuration.IndexOf('Debug')) != -1">_CRTDBG_MAP_ALLOC;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
57 | 57 | <!-- Enable use of CPU intrinsics. --> |
58 | | - <PreprocessorDefinitions Condition="'$(Option-avx512)' == 'true'">WITH_AVX512;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
59 | | - <PreprocessorDefinitions Condition="'$(Option-avx2)' == 'true'">WITH_AVX2;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
60 | | - <PreprocessorDefinitions Condition="'$(Option-sse41)' == 'true'">WITH_SSE41;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
61 | | - <PreprocessorDefinitions Condition="'$(Option-shani)' == 'true'">WITH_SHANI;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
62 | | - <PreprocessorDefinitions Condition="'$(Option-neon)' == 'true'">WITH_NEON;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 58 | + <!-- Eventually these options will be used to select SVE levels. --> |
| 59 | + <PreprocessorDefinitions Condition="'$(Option-sha)' == 'true'">WITH_SHA;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 60 | + <!--<PreprocessorDefinitions Condition="'$(Option-512)' == 'true'">WITH_512;%(PreprocessorDefinitions)</PreprocessorDefinitions>--> |
| 61 | + <!--<PreprocessorDefinitions Condition="'$(Option-256)' == 'true'">WITH_256;%(PreprocessorDefinitions)</PreprocessorDefinitions>--> |
| 62 | + <!--<PreprocessorDefinitions Condition="'$(Option-128)' == 'true'">WITH_128;%(PreprocessorDefinitions)</PreprocessorDefinitions>--> |
63 | 63 | </ClCompile> |
64 | 64 | <Link> |
65 | 65 | <!-- 4099: warns about missing PDB files. --> |
|
0 commit comments