We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a85ac71 commit 786c0a3Copy full SHA for 786c0a3
cmake/cc.cmake
@@ -124,10 +124,19 @@ if (NOT DYNAMIC_ARCH)
124
if (HAVE_AVX)
125
set (CCOMMON_OPT "${CCOMMON_OPT} -mavx")
126
endif ()
127
+ if (HAVE_SSE)
128
+ set (CCOMMON_OPT "${CCOMMON_OPT} -msse")
129
+ endif ()
130
+ if (HAVE_SSE2)
131
+ set (CCOMMON_OPT "${CCOMMON_OPT} -msse2")
132
133
if (HAVE_SSE3)
134
set (CCOMMON_OPT "${CCOMMON_OPT} -msse3")
135
136
if (HAVE_SSSE3)
137
set (CCOMMON_OPT "${CCOMMON_OPT} -mssse3")
138
139
+ if (HAVE_SSE4_1)
140
+ set (CCOMMON_OPT "${CCOMMON_OPT} -msse4.1")
141
142
endif()
0 commit comments