1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Need to have SSE4.1 support when SSE is available for _mm_mullo_epi32

This commit is contained in:
f4exb 2016-11-02 02:51:13 +01:00
parent 86c148ab10
commit 875f63fd3d
3 changed files with 4 additions and 2 deletions

View File

@ -411,8 +411,8 @@ include_directories(
if(USE_SIMD MATCHES SSE2)
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX)
set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -msse2" )
set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -msse2" )
set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -msse4.1" )
set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -msse4.1" )
add_definitions(-DUSE_SIMD)
elseif(MSVC)
set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /arch:SSE2" )

View File

@ -14,6 +14,7 @@ INCLUDEPATH += $$PWD
INCLUDEPATH += ../../../sdrbase
DEFINES += USE_SIMD=1
QMAKE_CXXFLAGS += -msse4.1
CONFIG(Release):build_subdir = release
CONFIG(Debug):build_subdir = debug

View File

@ -15,6 +15,7 @@ DEFINES += USE_KISSFFT=1
DEFINES += __WINDOWS__=1
DEFINES += DSD_USE_SERIALDV=1
DEFINES += USE_SIMD=1
QMAKE_CXXFLAGS += -msse4.1
CONFIG(Release):build_subdir = release
CONFIG(Debug):build_subdir = debug