summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-02-14 22:09:21 +0100
committerJosJuice <josjuice@gmail.com>2022-02-14 22:09:21 +0100
commit20b2300ce1cc5b6bd2d8cf347ae99f77d3f32035 (patch)
tree58fdc534448622365211ac67f93913b498668902 /Source/Core/DiscIO/VolumeVerifier.cpp
parent86dbf768b925d7c451e42b0694d82c7f648957de (diff)
PPCAnalyst: Count outputs as being in use
In a code block where a guest register is accessed at least twice and the last access is a write and the register is not discardable immediately after the second-to-last instruction (perhaps there is an instruction in between that can cause an exception), currently Dolphin's JITs will flush the register after the second-to-last instruction. It would be better if we replaced the flush after the second-to-last instruction with a flush that only happens if the exception path is taken. This change accomplishes that by marking guest registers as "in use" not just when they are used as inputs but also when they are used as outputs, preventing the loop in DoJit from flushing the register until after the last access.
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
0 files changed, 0 insertions, 0 deletions