-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
VU: Expand IBit hack to work for immediates on several instructions #11117
base: master
Are you sure you want to change the base?
Conversation
12e0a5a
to
5811ab1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5811ab1
to
06df371
Compare
Returning nullopt in Assembly changes LGTM, untested. |
06df371
to
dcd8731
Compare
Done :) |
dcd8731
to
ffb586c
Compare
ffb586c
to
4a6e46a
Compare
Description of Changes
Expand the IBit hack to several commands using immediates, to help reduce recompilation on games which modify these values a lot.
Rationale behind Changes
Games like Shellshock - Nam '67 and Killzone modify their VU programs a lot, changing immediate values and nothing else in several cases, This expands the IBit hack to try and ignore these differences and load the values from RAM instead of compiling new program.
Suggested Testing Steps
Test Shellshock - Nam '67, Killzone, Scarface and Crash Tag Team racing. If you know any other games that recompile constantly, try enabling the IBit gamefix and see if that helps.
Reduces VU compilation in Killzone by about half
Reduces VU compilation in Shellshock - Nam '67 by roughly 10% (reduces hitching by a bit)