Merge pull request #561 from manxorist/vs201x-vector-ia32
Add vectorextensions "IA32" support for VS>=2012 on x86. (#560)
This commit is contained in:
commit
c4157062bc
@ -1098,6 +1098,7 @@
|
||||
"Default",
|
||||
"AVX",
|
||||
"AVX2",
|
||||
"IA32",
|
||||
"SSE",
|
||||
"SSE2",
|
||||
"SSE3",
|
||||
|
@ -1213,6 +1213,8 @@
|
||||
v = "StreamingSIMDExtensions2"
|
||||
elseif x == "SSE" then
|
||||
v = "StreamingSIMDExtensions"
|
||||
elseif x == "IA32" and _ACTION > "vs2010" then
|
||||
v = "NoExtensions"
|
||||
end
|
||||
end
|
||||
if v then
|
||||
|
@ -29,6 +29,21 @@
|
||||
end
|
||||
|
||||
|
||||
function suite.instructionSet_onIA32_onVS2010()
|
||||
vectorextensions "IA32"
|
||||
prepare()
|
||||
test.isemptycapture()
|
||||
end
|
||||
|
||||
function suite.instructionSet_onIA32()
|
||||
premake.action.set("vs2012")
|
||||
vectorextensions "IA32"
|
||||
prepare()
|
||||
test.capture [[
|
||||
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
|
||||
]]
|
||||
end
|
||||
|
||||
function suite.instructionSet_onSSE()
|
||||
vectorextensions "SSE"
|
||||
prepare()
|
||||
|
Loading…
Reference in New Issue
Block a user