Skip to content

Simplified SIMD fill algorithms #2793

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

Merged

Conversation

itzpr3d4t0r
Copy link
Member

@itzpr3d4t0r itzpr3d4t0r commented Apr 5, 2024

This PR condenses our SIMD fill algorithms a bit by removing the use of two color registers (that were the same register effectively).

I measured no significant difference in performance.

@itzpr3d4t0r itzpr3d4t0r added Code quality/robustness Code quality and resilience to changes SIMD labels Apr 5, 2024
@itzpr3d4t0r itzpr3d4t0r requested a review from a team as a code owner April 5, 2024 16:46
@itzpr3d4t0r itzpr3d4t0r changed the title Simplified fill algorithms Simplified SIMD fill algorithms Apr 21, 2024
Copy link
Member

@MyreMylar MyreMylar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, LGTM. Seems like a small change to no harm. 👍

Copy link
Member

@Starbuck5 Starbuck5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, this looks good to me.

@Starbuck5 Starbuck5 merged commit 89f9848 into pygame-community:main May 21, 2024
13 checks passed
@Starbuck5 Starbuck5 added this to the 2.5.0 milestone May 21, 2024
@itzpr3d4t0r itzpr3d4t0r deleted the simplify-fill-algorithms branch May 21, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code quality/robustness Code quality and resilience to changes SIMD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants