summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authorMartino Fontana <tinozzo123@gmail.com>2026-10-19 10:39:01 +0000
committerMartino Fontana <tinozzo123@gmail.com>2026-10-28 17:13:20 +0100
commitffc287903e52f5c53b4e37c98eecc73784c0a66a (patch)
tree652e82635fa337113ddbfa283c8d19685bc0b7b4 /Source/Core/VideoBackends
parent3eb30c7620b4475b2e0404228ba0d2b238a132f1 (diff)
Jit: Invalidate instruction block cache only with dcbf
Dolphin uses `dcbi` and `dcbst` as heuristics to invalidate the instruction block cache, as some games do not use `icbi` properly. However, no games are known to depend on this (unfortunately, the commits that introduced it, e03fd9a942e9851ca29b590b99c7f311b043c021 or b27f47148809ff027e7bdfef6cd0a16fb69a69eb, don't give any details). The problem is that some games are known to be negatively affected by the unnecessary invalidation and suffer heavy stutters due to it (NBA Live 2005/06, Harry Potter and the Prisoner of Azkaban). Removing the heuristic for these instructions completely fixes their stutters. `dcbf` also invalidates the block cache, but it's known to fix a crash after loading an area in games developed by Artificial Mind and Movement (Monster House, Scooby-Doo! Mystery Mayhem, Scooby-Doo! Unmasked), so this one is kept. Maybe this is not the best heuristic, but it's one that currently works. Closes https://bugs.dolphin-emu.org/issues/12825.
Diffstat (limited to 'Source/Core/VideoBackends')
0 files changed, 0 insertions, 0 deletions