Skip to content

Commit a5f8711

Browse files
authored
Merge pull request opencv#26537 from artoolkitx:emscripten-build-fixes
Emscripten build fixes opencv#26537 - Corrects typo in Emscripten-only intrinsics header (Fixes opencv#26536) - Updates deprecated intrinsic title (as per LLVM final intrinsic name). ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
1 parent a27d749 commit a5f8711

File tree

2 files changed

+149
-149
lines changed

2 files changed

+149
-149
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ inline v_uint16x16 v_mul_hi(const v_uint16x16& a, const v_uint16x16& b) { return
906906
{ return _Tpuvec(__lasx_xvsll_##suffix(a.val, __lasx_xvreplgr2vr_##suffix(imm))); } \
907907
inline _Tpsvec v_shl(const _Tpsvec& a, int imm) \
908908
{ return _Tpsvec(__lasx_xvsll_##suffix(a.val, __lasx_xvreplgr2vr_##suffix(imm))); } \
909-
inline _Tpuvec V_shr(const _Tpuvec& a, int imm) \
909+
inline _Tpuvec v_shr(const _Tpuvec& a, int imm) \
910910
{ return _Tpuvec(__lasx_xvsrl_##suffix(a.val, __lasx_xvreplgr2vr_##suffix(imm))); } \
911911
inline _Tpsvec v_shr(const _Tpsvec& a, int imm) \
912912
{ return _Tpsvec(srai(a.val, __lasx_xvreplgr2vr_##suffix(imm))); } \

0 commit comments

Comments
 (0)