Skip to content

Commit 4b968d1

Browse files
committed
Added universal intrinsic for VSX
1 parent d077778 commit 4b968d1

File tree

2 files changed

+932
-0
lines changed

2 files changed

+932
-0
lines changed

modules/core/include/opencv2/core/hal/intrin.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ CV_CPU_OPTIMIZATION_HAL_NAMESPACE_END
308308
#ifdef CV_DOXYGEN
309309
# undef CV_SSE2
310310
# undef CV_NEON
311+
# undef CV_VSX
311312
#endif
312313

313314
#if CV_SSE2
@@ -318,6 +319,10 @@ CV_CPU_OPTIMIZATION_HAL_NAMESPACE_END
318319

319320
#include "opencv2/core/hal/intrin_neon.hpp"
320321

322+
#elif CV_VSX
323+
324+
#include "opencv2/core/hal/intrin_vsx.hpp"
325+
321326
#else
322327

323328
#include "opencv2/core/hal/intrin_cpp.hpp"

0 commit comments

Comments
 (0)