Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 5700ae8

Browse files
committed
Issue python#25361: Disables use of SSE2 instructions in Windows 32-bit build
1 parent 9c8213f commit 5700ae8

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ Build
308308
Windows
309309
-------
310310

311+
- Issue #25361: Disables use of SSE2 instructions in Windows 32-bit build
312+
311313
- Issue #25089: Adds logging to installer for case where launcher is not
312314
selected on upgrade.
313315

PCbuild/pyproject.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<CompileAs>Default</CompileAs>
4444
<SuppressStartupBanner>true</SuppressStartupBanner>
4545
<WholeProgramOptimization>true</WholeProgramOptimization>
46+
<EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">NoExtensions</EnableEnhancedInstructionSet>
4647
</ClCompile>
4748
<ClCompile Condition="$(Configuration) == 'Debug'">
4849
<Optimization>Disabled</Optimization>

PCbuild/pythoncore.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,9 @@
435435
<ClInclude Include="..\Modules\hashtable.h">
436436
<Filter>Modules</Filter>
437437
</ClInclude>
438+
<ClInclude Include="..\Include\odictobject.h">
439+
<Filter>Include</Filter>
440+
</ClInclude>
438441
</ItemGroup>
439442
<ItemGroup>
440443
<ClCompile Include="..\Modules\_bisectmodule.c">
@@ -968,6 +971,9 @@
968971
<ClCompile Include="..\PC\invalid_parameter_handler.c">
969972
<Filter>PC</Filter>
970973
</ClCompile>
974+
<ClCompile Include="..\Objects\odictobject.c">
975+
<Filter>Objects</Filter>
976+
</ClCompile>
971977
</ItemGroup>
972978
<ItemGroup>
973979
<ResourceCompile Include="..\PC\python_nt.rc">

0 commit comments

Comments
 (0)