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

OpcodeDispatcher: Unify PSHUF{L,H}W implementations #4125

Merged
merged 4 commits into from
Oct 21, 2024

Conversation

Sonicadvance1
Copy link
Member

MMX, SSE, and AVX were all using different implementations. Unify the three of them.
This is a nop for the MMX and SSE implementation, but this does some minor optimization for the AVX implementation since the SSE path was slightly more optimal.

Fixes #4123

Allows the AVX128 implementation to use the same implementation as the
128-bit SSE implementation, because it works per 128-bit lane just like
SSE. Is a minor optimization.
@alyssarosenzweig
Copy link
Collaborator

nice!

@lioncash lioncash merged commit 5d1fda7 into FEX-Emu:main Oct 21, 2024
12 checks passed
@Sonicadvance1 Sonicadvance1 deleted the unify_pshuflhw branch October 21, 2024 21:00
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.

{V,}PSHUF{L,H}W implementation can be unified
3 participants