• Ryan Wong's avatar
    Merge pull request #11304 from kinchungwong:issue_11242_intrin_cv34x_nocpp11 · 6f675ae7
    Ryan Wong authored
    * Issue 11242 intrinsics v_extract, v_rotate improvement, branch 3.4, without C++11 (remove type restrictions for SSE2, use PALIGNR on SSSE3, compile to no-op when imm is 0 or nlanes).
    
    * fix whitespace
    
    * Fix #11242 (NEON intrinsics v_rotate...) branch 3.4
    Separate macro expansion OPENCV_HAL_IMPL_NEON_SHIFT_OP for bitwise shifts for integers, from macro expansion OPENCV_HAL_IMPL_NEON_ROTATE for lane rotations. Bitwise shifts do not apply to floats, but lane-rotations can apply to both.
    
    * fix whitespace
    
    * Fix #11242 compile error (VSX intrinsics v_rotate(a)) branch 3.4 no-c++11
    6f675ae7
test_intrin.cpp 6.99 KB