diff --git a/src/_premake_init.lua b/src/_premake_init.lua index 04955949..8de34233 100644 --- a/src/_premake_init.lua +++ b/src/_premake_init.lua @@ -1022,6 +1022,9 @@ "AVX2", "SSE", "SSE2", + "SSE3", + "SSSE3", + "SSE4.1", } } diff --git a/src/actions/vstudio/vs2010_vcxproj.lua b/src/actions/vstudio/vs2010_vcxproj.lua index b5f97d30..d666da1a 100644 --- a/src/actions/vstudio/vs2010_vcxproj.lua +++ b/src/actions/vstudio/vs2010_vcxproj.lua @@ -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" diff --git a/src/tools/gcc.lua b/src/tools/gcc.lua index 6e61f63f..c1263231 100644 --- a/src/tools/gcc.lua +++ b/src/tools/gcc.lua @@ -74,6 +74,9 @@ AVX2 = "-mavx2", SSE = "-msse", SSE2 = "-msse2", + SSE3 = "-msse3", + SSSE3 = "-mssse3", + ["SSE4.1"] = "-msse4.1", }, warnings = { Extra = "-Wall -Wextra", diff --git a/src/tools/msc.lua b/src/tools/msc.lua index 20270661..73f59adf 100644 --- a/src/tools/msc.lua +++ b/src/tools/msc.lua @@ -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",