File tree 2 files changed +21
-0
lines changed
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)
124
124
if (HAVE_AVX)
125
125
set (CCOMMON_OPT "${CCOMMON_OPT} -mavx" )
126
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
+ endif ()
127
133
if (HAVE_SSE3)
128
134
set (CCOMMON_OPT "${CCOMMON_OPT} -msse3" )
129
135
endif ()
130
136
if (HAVE_SSSE3)
131
137
set (CCOMMON_OPT "${CCOMMON_OPT} -mssse3" )
132
138
endif ()
139
+ if (HAVE_SSE4_1)
140
+ set (CCOMMON_OPT "${CCOMMON_OPT} -msse4.1" )
141
+ endif ()
133
142
endif ()
Original file line number Diff line number Diff line change @@ -70,9 +70,21 @@ if (DEFINED TARGET)
70
70
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx2" )
71
71
endif ()
72
72
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 ()
73
79
if (DEFINED HAVE_SSE3)
74
80
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -msse3" )
75
81
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 ()
76
88
endif ()
77
89
78
90
if (DEFINED TARGET )
You can’t perform that action at this time.
0 commit comments