Skip to content

-remove HVX optimization of functions SimdBgrToGray and SimdBgrToRgb. - #1040

Merged
ermig1979 merged 1 commit into
devfrom
cursor/remove-hvx-bgr-to-gray-rgb-9839
Sep 30, 2026
Merged

ermig1979 merged 1 commit into
devfrom
cursor/remove-hvx-bgr-to-gray-rgb-9839

Conversation

@ermig1979

@ermig1979 ermig1979 commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Remove the HVX implementations of SimdBgrToGray and SimdBgrToRgb (src/Simd/SimdHvxBgrToGray.cpp, src/Simd/SimdHvxBgrToRgb.cpp).
  • Drop the HVX declarations in SimdHvx.h, the dispatch paths in SimdLib.cpp, the HVX auto-tests, and the VS2022 Hvx project entries.
  • Record the removals under release 7.2.166 in docs/2026.html.

Base, SSE4.1, AVX2, AVX-512BW, NEON, and SVE2 implementations of SimdBgrToGray and SimdBgrToRgb stay in place.

Test plan

  • Configure and build with g++ (SIMD_SHARED=ON).
  • Run ./Test "-r=.." -fi=BgrToGray -tt=1 -ts=1 from build/ (all tests finished successfully).
  • Run ./Test "-r=.." -fi=BgrToRgb -tt=1 -ts=1 from build/ (all tests finished successfully).
Open in Web Open in Cursor 

Delete SimdHvxBgrToGray.cpp and SimdHvxBgrToRgb.cpp and drop the HVX
dispatch paths, declarations, auto-tests, and VS2022 project entries.
Document the removal in the 7.2.166 release notes.

Co-authored-by: igor.ermolaev <igor.ermolaev@altezza.org>
@ermig1979
ermig1979 marked this pull request as ready for review September 30, 2026 09:42
@ermig1979
ermig1979 merged commit 6363386 into dev Sep 30, 2026
2 checks passed
@ermig1979
ermig1979 deleted the cursor/remove-hvx-bgr-to-gray-rgb-9839 branch September 30, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants