Restored legacy intrinsics operators in a separate header#27327
Merged
asmorkalov merged 1 commit intoopencv:4.xfrom May 19, 2025
Merged
Restored legacy intrinsics operators in a separate header#27327asmorkalov merged 1 commit intoopencv:4.xfrom
asmorkalov merged 1 commit intoopencv:4.xfrom
Conversation
s-trinh
reviewed
May 18, 2025
Comment on lines
+20
to
+22
| #if defined(CV_VERSION) && CV_VERSION_MAJOR == 4 && CV_VERSION_MINOR < 11 | ||
| #warning "Older versions of OpenCV (<4.11) already have Universal Intrinscs operators" | ||
| #endif |
Contributor
There was a problem hiding this comment.
It is only since OpenCV 4.11 the Universal Intrinscs operators have been removed?
I don't understand, I had to fix some code since OpenCV 4.9 release.
Contributor
There was a problem hiding this comment.
Thanks a lot for the feedback. The operator overload was removed due to problems with RISC-V platform. The header with overloaded operators was added for compatibility on previously supported platforms (we have such issue report). You do not need to touch your code. v_xxx functions is the way to go further.
Contributor
Author
There was a problem hiding this comment.
@s-trinh , you are right. Operators has been removed from AArch64 backend since 4.9 and from other backends since 4.11.
asmorkalov
approved these changes
May 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves #27267