summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoBackendBase.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-10-22 14:04:00 +0200
committerJosJuice <josjuice@gmail.com>2023-07-30 14:20:44 +0200
commitf78ba9ac557798ce451283f50a0dc19c10363fd0 (patch)
tree6cd78b0b7ecb5031ea496010c2505b2bbac878ba /Source/Core/VideoCommon/VideoBackendBase.cpp
parentbed3874497aeb6fd18b15c63291b92eb7d2d50f9 (diff)
JitArm64: Never check downcount on block entry
Jumping between linked blocks currently works as follows: First, at the end of the first block, we check if the downcount is greater than zero. If it is, we jump to the `normalEntry` of the block. So far so good. But if the downcount wasn't greater than zero, we jump to the `checkedEntry` of the block, which checks the downcount *again* and then jumps to `do_timing` if it's less than zero (which seems like an off by one error - Jit64 doesn't do anything like this). This second check is rather redundant. Let's jump to `do_timing` where we previously jumped to `checkedEntry`. Jit64 doesn't check the downcount on block entry. See 5236dc3.
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
0 files changed, 0 insertions, 0 deletions