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

Smoothscale assembly routines should be converted to intrinsics (3586) #1767

Open
GalacticEmperor1 opened this issue Feb 12, 2023 · 2 comments
Assignees
Labels

Comments

@GalacticEmperor1
Copy link
Collaborator

Issue №3586 opened by Starbuck5 at 2022-11-24 06:19:47

This is the only handwritten assembly in Pygame, and it is stuck in the past. Modern assembly we use "intrinsics" which can be written as lines of C and translate into assembly. This is more maintainable and portable, even allows header-file-translation to other SIMD standards (like we have an SSE2Neon header to convert x86 SSE routines to ARM Neon routines).

See scale_mmx.c and related files VS something like simd_blitters_sse2.c


Comments

@Starbuck5
Copy link
Member

I've been working this up for a bit, I'll have an initial PR out soonTM.

@MyreMylar
Copy link
Member

I think we should drop the mmx backend in the SDL 3.0 transition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants