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

Jit64: some load/store optimizations #758

Merged
merged 1 commit into from Aug 28, 2014

Conversation

FioraAeterna
Copy link
Contributor

Avoid extra ops during address calculation in loads; use LEAs or immediates whenever possible.

}
else
{
if (gpr.R(a).IsSimpleReg() && gpr.R(b).IsSimpleReg())

This comment was marked as off-topic.

@FioraAeterna FioraAeterna force-pushed the loadstoreopt branch 2 times, most recently from 704a562 to 5425ad9 Compare August 24, 2014 17:59
}
// In this case we need an extra temporary register.

This comment was marked as off-topic.

@delroth
Copy link
Member

delroth commented Aug 24, 2014

@FioraAeterna: This comment grants you the permission to merge this pull request whenever you think it is ready. After addressing the remaining comments, click this link to merge.


Kind of worried that one of the constant paths might be broken... but LGTM.

@dolphin-emu-bot allowmerge

@FioraAeterna FioraAeterna force-pushed the loadstoreopt branch 2 times, most recently from a59541f to 649a6ee Compare August 25, 2014 17:26
Avoid extra ops during address calculation in loads; use LEAs or immediates
whenever possible.
dolphin-emu-bot added a commit that referenced this pull request Aug 28, 2014
Jit64: some load/store optimizations
@dolphin-emu-bot dolphin-emu-bot merged commit 1cf77c7 into dolphin-emu:master Aug 28, 2014
@ralstig
Copy link

ralstig commented Aug 29, 2014

This build broke F-Zero GX.
Error:
BackPatch: Base reg not RBX.
Attempted to access 20000094.

@FioraAeterna
Copy link
Contributor Author

Yeah, it looks like it broke some games, and I put in #899 to fix it, but people seem to disagree on whether that's the correct solution, or if we need to enable MMU Hack for those games.

I mean, I rather dislike the build being broken, but I can't make them commit a solution xD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants