[Python-checkins] cpython (3.5): Issue #25361: Disables use of SSE2 instructions in Windows 32-bit build

steve.dower python-checkins at python.org
Sun Oct 11 18:16:36 EDT 2015


https://hg.python.org/cpython/rev/15f6bbe944fa
changeset:   98691:15f6bbe944fa
branch:      3.5
parent:      98687:80501740ab84
user:        Steve Dower <steve.dower at microsoft.com>
date:        Sun Oct 11 15:15:52 2015 -0700
summary:
  Issue #25361: Disables use of SSE2 instructions in Windows 32-bit build

files:
  Misc/NEWS                          |  2 ++
  PCbuild/pyproject.props            |  1 +
  PCbuild/pythoncore.vcxproj.filters |  6 ++++++
  3 files changed, 9 insertions(+), 0 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -308,6 +308,8 @@
 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.
 
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -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>
diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters
--- a/PCbuild/pythoncore.vcxproj.filters
+++ b/PCbuild/pythoncore.vcxproj.filters
@@ -435,6 +435,9 @@
     <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">
@@ -968,6 +971,9 @@
     <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">

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list