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

SPU LLVM: Minor SUMB AVX-512 path optimization #13266

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

Whatcookie
Copy link
Member

  • Tweak shuffle to allow LLVM to emit a cheap blend instruction instead of the expensive VPERMI2W instruction
  • Also avoids the need to load a constant from memory for the VPERMI2W indices

- Tweak shuffle to allow LLVM to emit a cheap blend instruction instead of the expensive VPERMI2W instruction
@Megamouse Megamouse added Optimization Optimizes existing code CPU labels Jan 21, 2023
@Nekotekina Nekotekina merged commit 813f7b5 into RPCS3:master Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CPU Optimization Optimizes existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants