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

Save JitIL! Fix bug so JitIL actually runs again. #1036

Merged
merged 2 commits into from Sep 11, 2014

Conversation

phire
Copy link
Member

@phire phire commented Sep 8, 2014

This Pr fixes a bug in JitIL that was introduced by #926 a few days ago.

Brings JitIL up to a runnable state again. Conflicts with #1023

Was broken in the PowerPCState Register PR a few days ago.
@phire
Copy link
Member Author

phire commented Sep 8, 2014

I've always wondered how fast JitIL would go if someone actually spent some time fixing it up.

It has always had the potential to be faster than Jit64, but it was never finished. I actually spent last night thinking about possible improvements to JitIL, so I was a little disheartened to wake up and find a PR killing it.

The argument for killing JitIL is certainly strong, It has suffered a lot of code rot and missed out on so many optimisations over the years, especially in the last month with @FioraAeterna's jit assault. Currently the code rot is so bad, that almost no games run and nobody is maintaining it.

This commit is just the start. It restores JitIL's ability to run the PovRay benchmark.

Most non-wii, non-mmu games run now.
@phire
Copy link
Member Author

phire commented Sep 8, 2014

Most gamecube games run now.

@BhaaLseN
Copy link
Member

BhaaLseN commented Sep 8, 2014

+1 for saving JitIL; wish I had more time than just doing the occasional code review and actually work on it again.
Using an IL provides a huge potential for doing all sorts of optimizations, so I'd be really sad if #1023 wins over this one.

@comex
Copy link
Contributor

comex commented Sep 11, 2014

LGTM

@JMC47
Copy link
Contributor

JMC47 commented Sep 11, 2014

This should be merged ASAP if it doesn't affect JIT or Interpreter. This restores JITIL functionality in most GameCube games (MMU games + games it failed on before still don't work) and some Wii games (is valid wii apparently fails on others.)

Confirmed Wii games working - Mario Party 8, Pokemon Battle Revolution, Fire Emblem: Radiant Dawn, and seemingly any Virtual Console Title.

Broken Wii games - Mario Party 9 (spits out error after a while), NSMBWii (Boots the system menu,) Super Mario Galaxy 1 and 2, Mario Kart Wii, Super Smash Bros. Brawl, Block Party, Game Party 2 and likely many more.

delroth added a commit that referenced this pull request Sep 11, 2014
Save JitIL! Fix bug so JitIL actually runs again.
@delroth delroth merged commit a96618b into dolphin-emu:master Sep 11, 2014
@phire phire deleted the save-jitil branch July 4, 2015 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants