Merge pull request #168 from TurkeyMan/more_sse

Added some missing SSE versions that I've wanted a few times
This commit is contained in:
starkos 2015-07-30 15:49:17 -04:00
commit 50d89a1c00
4 changed files with 10 additions and 1 deletions

View File

@ -1022,6 +1022,9 @@
"AVX2",
"SSE",
"SSE2",
"SSE3",
"SSSE3",
"SSE4.1",
}
}

View File

@ -1110,7 +1110,7 @@
elseif x == "AVX2" and _ACTION > "vs2012" then
v = "AdvancedVectorExtensions2"
elseif cfg.architecture ~= "x86_64" then
if x == "SSE2" then
if x == "SSE2" or x == "SSE3" or x == "SSSE3" or x == "SSE4.1" then
v = "StreamingSIMDExtensions2"
elseif x == "SSE" then
v = "StreamingSIMDExtensions"

View File

@ -74,6 +74,9 @@
AVX2 = "-mavx2",
SSE = "-msse",
SSE2 = "-msse2",
SSE3 = "-msse3",
SSSE3 = "-mssse3",
["SSE4.1"] = "-msse4.1",
},
warnings = {
Extra = "-Wall -Wextra",

View File

@ -66,6 +66,9 @@
AVX2 = "/arch:AVX2",
SSE = "/arch:SSE",
SSE2 = "/arch:SSE2",
SSE3 = "/arch:SSE2",
SSSE3 = "/arch:SSE2",
["SSE4.1"] = "/arch:SSE2",
},
warnings = {
Extra = "/W4",