Skip to content

Commit bd49926

Browse files
committed
Explicitly use only the SSE instruction set for maximum CPU compatibility
1 parent 5fa76a4 commit bd49926

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

VisualC/SDL_net.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
9696
<WarningLevel>Level3</WarningLevel>
9797
<DebugInformationFormat>OldStyle</DebugInformationFormat>
98+
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
9899
</ClCompile>
99100
<ResourceCompile>
100101
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -121,6 +122,7 @@
121122
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
122123
<WarningLevel>Level3</WarningLevel>
123124
<DebugInformationFormat>OldStyle</DebugInformationFormat>
125+
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
124126
</ClCompile>
125127
<ResourceCompile>
126128
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -145,6 +147,7 @@
145147
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
146148
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
147149
<WarningLevel>Level3</WarningLevel>
150+
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
148151
</ClCompile>
149152
<ResourceCompile>
150153
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -169,6 +172,7 @@
169172
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
170173
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
171174
<WarningLevel>Level3</WarningLevel>
175+
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
172176
</ClCompile>
173177
<ResourceCompile>
174178
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>

VisualC/SDL_net_VS2008.vcproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
Optimization="0"
5454
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
5555
RuntimeLibrary="2"
56+
EnableEnhancedInstructionSet="1"
5657
WarningLevel="3"
5758
DebugInformationFormat="1"
5859
/>
@@ -129,6 +130,7 @@
129130
Optimization="0"
130131
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
131132
RuntimeLibrary="2"
133+
EnableEnhancedInstructionSet="1"
132134
WarningLevel="3"
133135
DebugInformationFormat="1"
134136
/>
@@ -204,6 +206,7 @@
204206
Name="VCCLCompilerTool"
205207
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
206208
RuntimeLibrary="2"
209+
EnableEnhancedInstructionSet="1"
207210
WarningLevel="3"
208211
/>
209212
<Tool
@@ -277,6 +280,7 @@
277280
Name="VCCLCompilerTool"
278281
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
279282
RuntimeLibrary="2"
283+
EnableEnhancedInstructionSet="1"
280284
WarningLevel="3"
281285
/>
282286
<Tool

0 commit comments

Comments
 (0)