Skip to content

Add SVE2 Bgr48pToBgra32 optimization - #391

Merged
ermig1979 merged 1 commit into
devfrom
cursor/sve2-bgr48p-to-bgra32-a77a
Jun 10, 2026
Merged

Add SVE2 Bgr48pToBgra32 optimization#391
ermig1979 merged 1 commit into
devfrom
cursor/sve2-bgr48p-to-bgra32-a77a

Conversation

@ermig1979

@ermig1979 ermig1979 commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add SVE2 implementation of Bgr48pToBgra32 using scalable predicates for body and tail processing.
  • Dispatch the public API to the SVE2 path when available and add SVE2 auto-test coverage.
  • Add the new source to the VS2022 SVE2 project and document it in release 7.2.163.

Validation

  • aarch64-linux-gnu-g++ -march=armv9-a+sve2 -msve-vector-bits=scalable -std=c++11 -O3 -fPIC -I src -c src/Simd/SimdSve2BgrToBgra.cpp -o /tmp/SimdSve2BgrToBgra.o
  • aarch64-linux-gnu-g++ -march=armv9-a+sve2 -msve-vector-bits=scalable -std=c++11 -O3 -fPIC -I src -c src/Simd/SimdLib.cpp -o /tmp/SimdLib-sve2.o
  • cmake --build build --parallel$(nproc)
  • export LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" && ./Test "-r=.." -fi=Bgr48pToBgra32 -tt=1 -ts=1
Open in Web Open in Cursor 

Co-authored-by: Ihar Yermalayeu <ermig1979@gmail.com>
@ermig1979
ermig1979 marked this pull request as ready for review June 10, 2026 09:27
@ermig1979
ermig1979 merged commit 93712f9 into dev Jun 10, 2026
1 check passed
@ermig1979
ermig1979 deleted the cursor/sve2-bgr48p-to-bgra32-a77a branch July 1, 2026 11:51
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