Issue #25361: Disables use of SSE2 instructions in Windows 32-bit build
authorSteve Dower <steve.dower@microsoft.com>
Sun, 11 Oct 2015 22:15:52 +0000 (15:15 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Sun, 11 Oct 2015 22:15:52 +0000 (15:15 -0700)
Misc/NEWS
PCbuild/pyproject.props
PCbuild/pythoncore.vcxproj.filters

index 9c89f121ca5d99e5084c38c366769db581de89da..08c72c38903d86fbc58b5bff725da57b2db83f20 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -308,6 +308,8 @@ Build
 Windows
 -------
 
+- Issue #25361: Disables use of SSE2 instructions in Windows 32-bit build
+
 - Issue #25089: Adds logging to installer for case where launcher is not
   selected on upgrade.
 
index c1303e1aacbde24ef351b8f2c8959be460780aa7..a2c44f33cb004eb413d92cedd7811cc2135c629c 100644 (file)
@@ -43,6 +43,7 @@
       <CompileAs>Default</CompileAs>
       <SuppressStartupBanner>true</SuppressStartupBanner>
       <WholeProgramOptimization>true</WholeProgramOptimization>
+      <EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">NoExtensions</EnableEnhancedInstructionSet>
     </ClCompile>
     <ClCompile Condition="$(Configuration) == 'Debug'">
       <Optimization>Disabled</Optimization>
index 3b275bb0de543ef17194a980dc7cbc40aebcc754..837b73690a12b6a28a7dda13d81140534703ca5b 100644 (file)
     <ClInclude Include="..\Modules\hashtable.h">
       <Filter>Modules</Filter>
     </ClInclude>
+    <ClInclude Include="..\Include\odictobject.h">
+      <Filter>Include</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <ClCompile Include="..\Modules\_bisectmodule.c">
     <ClCompile Include="..\PC\invalid_parameter_handler.c">
       <Filter>PC</Filter>
     </ClCompile>
+    <ClCompile Include="..\Objects\odictobject.c">
+      <Filter>Objects</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ResourceCompile Include="..\PC\python_nt.rc">