Skip to content

Commit

Permalink
Work around ICL 19.1 bug by disabling IPO in kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
sekrit-twc committed Jul 7, 2020
1 parent b6aaf5b commit 78e5e67
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions _msvc/znedi3/znedi3.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -144,33 +144,47 @@
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">SingleFile</InterproceduralOptimization>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">SingleFile</InterproceduralOptimization>
</ClCompile>
<ClCompile Include="..\..\znedi3\x86\kernel_avx2.cpp">
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">SingleFile</InterproceduralOptimization>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">SingleFile</InterproceduralOptimization>
</ClCompile>
<ClCompile Include="..\..\znedi3\x86\kernel_avx512.cpp">
<UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">COMMON512</UseProcessorExtensions>
<UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">COMMON512</UseProcessorExtensions>
<UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">COMMON512</UseProcessorExtensions>
<UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">COMMON512</UseProcessorExtensions>
<AdditionalOptions Condition="!$(PlatformToolset.Contains('Intel C++ Compiler'))">/arch:AVX512</AdditionalOptions>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">SingleFile</InterproceduralOptimization>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">SingleFile</InterproceduralOptimization>
</ClCompile>
<ClCompile Include="..\..\znedi3\x86\kernel_f16c.cpp">
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AVX2</UseProcessorExtensions>
<UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AVX2</UseProcessorExtensions>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">SingleFile</InterproceduralOptimization>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">SingleFile</InterproceduralOptimization>
<UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AVX2</UseProcessorExtensions>
<UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AVX2</UseProcessorExtensions>
</ClCompile>
<ClCompile Include="..\..\znedi3\x86\kernel_sse.cpp">
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">StreamingSIMDExtensions</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">StreamingSIMDExtensions</EnableEnhancedInstructionSet>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">SingleFile</InterproceduralOptimization>
</ClCompile>
<ClCompile Include="..\..\znedi3\x86\kernel_sse2.cpp">
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<InterproceduralOptimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">SingleFile</InterproceduralOptimization>
</ClCompile>
<ClCompile Include="..\..\znedi3\x86\kernel_x86.cpp" />
<ClCompile Include="..\..\znedi3\znedi3.cpp" />
Expand Down

0 comments on commit 78e5e67

Please sign in to comment.