Skip to content

Commit 29bbbaa

Browse files
committed
Merge pull request opencv#17376 from alalek:dnn_fix_build
2 parents d5e8792 + 73aa5f5 commit 29bbbaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/dnn/src/layers/convolution_layer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ class ConvolutionLayerImpl CV_FINAL : public BaseConvolutionLayerImpl
12301230
CV_TRACE_FUNCTION();
12311231
CV_TRACE_ARG_VALUE(name, "name", name.c_str());
12321232

1233-
#if CV_TRY_SSE
1233+
#if CV_SSE3
12341234
uint32_t ftzMode = _MM_GET_FLUSH_ZERO_MODE();
12351235
uint32_t dazMode = _MM_GET_DENORMALS_ZERO_MODE();
12361236
_MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
@@ -1319,7 +1319,7 @@ class ConvolutionLayerImpl CV_FINAL : public BaseConvolutionLayerImpl
13191319
ParallelConv::run(inputs[0], outputs[0], weightsMat, biasvec, reluslope,
13201320
kernel_size, strides, pads_begin, pads_end, dilations, activ.get(), ngroups, nstripes);
13211321
}
1322-
#if CV_TRY_SSE
1322+
#if CV_SSE3
13231323
_MM_SET_FLUSH_ZERO_MODE(ftzMode);
13241324
_MM_SET_DENORMALS_ZERO_MODE(dazMode);
13251325
#endif

0 commit comments

Comments
 (0)