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: Allow swapped FMA and multiplications args in match context #15162

Merged
merged 2 commits into from Feb 7, 2024

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Feb 6, 2024

  • Allow expression matching when arguments are swapped in some expressions. For example, in multiplication, which a * b = b * a,this should help keep the code clean while adding new instruction pattersn without actually adding anything, just correcting the previous code to support both arguments ordering.

@elad335 elad335 added Optimization Optimizes existing code Refactoring Refactors or simplifies existing code LLVM Related to LLVM instruction decoders labels Feb 6, 2024
@elad335 elad335 changed the title LLVM: Allow swapped FMA and multiplications args in match context SPU LLVM: Allow swapped FMA and multiplications args in match context Feb 6, 2024
@elad335 elad335 force-pushed the llvm-match branch 2 times, most recently from 09cafd8 to 0d6229c Compare February 6, 2024 13:59
@elad335 elad335 merged commit 30e8c3e into RPCS3:master Feb 7, 2024
6 checks passed
@elad335 elad335 deleted the llvm-match branch May 6, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LLVM Related to LLVM instruction decoders Optimization Optimizes existing code Refactoring Refactors or simplifies existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant