PPU LLVM: Fix optimization of branch string
Turns out the branch optimization in #14616 was not active, this enables it.
Improves performance on Demon's Souls.
Master: 63.8/69.8/75.3 FPS
PR: 66.7/71.4/75.1 FPS
Seems more or less the same in MGS4 with slightly better lows/avg in this scene.
I tested other areas as well and I didn't see a difference.
Master:
PR:
I forgot to mention that if you want to be benefited from you have to delete cache.
The game closes when trying to compile PPU modules on a fresh cache.
E PPU: LLVM: Verification failed for v6-kusa-Kh8ANdpJ7R8TYsfsPsw6ct-00001P-icelake-client.obj:
Instruction does not dominate all uses!
%58 = add i64 4336, %2
store i64 %58, ptr %51, align 8
good can not download why?
Any further testing needed?
Well it seems some problem occured?
Comparing build 15620 and this PR, with fresh PPU-SPU caches. Game version 1.12
PR
Build 15620
Disregard the frametime spike as Windows sometimes stutters while taking an SS. On an another note, this is what the game looks like when you boot it the first time after clearing caches with PR build.
and if you load into the level performance is basically horrible, though if you restart the game everything is normal.
With build 15620, interestingly menu has the same glitchy look but its also stuttering.
Which is again fixed by rebooting the game. Might be a new issue as its been a long time since I did the startup sequence of this game.
Which is again fixed by rebooting the game. Might be a new issue as its been a long time since I did the startup sequence of this game.
It's not caused by this PR.
Just checking to see if this was forgotten about?