Open
Conversation
badvision
pushed a commit
that referenced
this pull request
Jan 24, 2026
Cherry-picked optimization improvements from Peter Ferrie's PR #42: - Move sec out of hot path (set once instead of repeatedly) - Replace jmp with bne (2 cycles vs 3) - Eliminate redundant branching in .src3A - Reorder instructions to avoid pipeline stalls This provides measurable speedup in the decompression loop which runs frequently during game loading. Original commit: b258ed4 by Peter Ferrie Co-Authored-By: Claude <[email protected]>
Owner
|
I've extracted the decompression speedup optimization from this PR into a new branch: The optimization includes:
This is a clean cherry-pick of the decomp.s improvements without the other outdated changes in this PR. See commit 4a0615c. Thanks @peterferrie for the optimization! |
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.
No description provided.