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: Optimize FSM following comparison #9616

Merged
merged 1 commit into from Jan 17, 2021
Merged

Conversation

Whatcookie
Copy link
Member

FSM following a comparison instruction can be optimized to a single shuffle. In Wipeout HD we can hit this optimization 394/410 times.

Codegen before optimization

FSMbefore

Codegen after optimization

FSMafter

- FSM following a comparison instruction can be optimized to a single shuffle instruction
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.

None yet

2 participants