File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,19 @@ if (NOT DYNAMIC_ARCH)
124124 if (HAVE_AVX)
125125 set (CCOMMON_OPT "${CCOMMON_OPT} -mavx" )
126126 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+ endif ()
127133 if (HAVE_SSE3)
128134 set (CCOMMON_OPT "${CCOMMON_OPT} -msse3" )
129135 endif ()
130136 if (HAVE_SSSE3)
131137 set (CCOMMON_OPT "${CCOMMON_OPT} -mssse3" )
132138 endif ()
139+ if (HAVE_SSE4_1)
140+ set (CCOMMON_OPT "${CCOMMON_OPT} -msse4.1" )
141+ endif ()
133142endif ()
Original file line number Diff line number Diff line change @@ -70,9 +70,21 @@ if (DEFINED TARGET)
7070 set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx2" )
7171 endif ()
7272 endif ()
73+ if (DEFINED HAVE_SSE)
74+ set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -msse" )
75+ endif ()
76+ if (DEFINED HAVE_SSE2)
77+ set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -msse2" )
78+ endif ()
7379 if (DEFINED HAVE_SSE3)
7480 set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -msse3" )
7581 endif ()
82+ if (DEFINED HAVE_SSSE3)
83+ set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mssse3" )
84+ endif ()
85+ if (DEFINED HAVE_SSE4_1)
86+ set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -msse4.1" )
87+ endif ()
7688endif ()
7789
7890if (DEFINED TARGET )
You can’t perform that action at this time.
0 commit comments