mirror of
https://github.com/opencv/opencv.git
synced 2026-11-18 23:35:23 -06:00
Move v_pack_trunc down after v_shr is declared. Otherwise, the error is:
error: use of undeclared identifier 'v_shr'
474 | OPENCV_HAL_IMPL_SATURATING_PACK_64(v_int64x2, v_uint64x2, v_int32x4, v_uint32x4, v_setall_s32, v_pack_trunc, v_pack_trunc)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OpenCV/core/hal/intrin_forward.hpp:202:28: note: expanded from macro 'OPENCV_HAL_IMPL_SATURATING_PACK_64'
202 | SV32 hi = PACK_TRUNC_S(v_shr<32>(a), v_shr<32>(b)); \