JitArm64: Minor subfzex optimizations#14516
Open
Sintendo wants to merge 2 commits intodolphin-emu:masterfrom
Open
JitArm64: Minor subfzex optimizations#14516Sintendo wants to merge 2 commits intodolphin-emu:masterfrom
Sintendo wants to merge 2 commits intodolphin-emu:masterfrom
Conversation
Before: 0x52800019 mov w25, #0x0 ; =0 0x7a1903f9 ngcs w25, w25 0x1a9f37f5 cset w21, hs 0x390bd3b5 strb w21, [x29, #0x2f4] After: 0x5a9f23f9 csetm w25, lo
Before: 0x12800019 mov w25, #-0x1 ; =-1 0x7a1903fa ngcs w26, w25 0x1a9f37f8 cset w24, hs 0x390bd3b8 strb w24, [x29, #0x2f4] After: 0x1a9f37fa cset w26, hs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some optimizations that were missed in #13251 for this instruction.
Optimize a == 0 with in-host carry
Before:After:
Optimize a == -1 with in-host carry
Before:After: