Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIMD: AlphaComposite SSE4 & AVX2 #8299

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

homm
Copy link
Member

@homm homm commented Aug 11, 2024

Depends on #8209.

This is porting of AlphaComposite acceleration from Pillow-SIMD.

This PR includes required changes from #8209.

SIMD AlphaComposite. avx2 implementation

SIMD AlphaComposite. increase precision

SIMD AlphaComposite. speedup sse4 by using _mm_mullo_epi16 instead of _mm_mullo_epi32

SIMD AlphaComposite. speedup avx2 by using _mm256_mullo_epi16 instead of _mm256_mullo_epi32

SIMD AlphaComposite. fix bugs

SIMD AlphaComposite. move declarations to beginning of the blocks

SIMD AlphaComposite. fast div aproximation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants