summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/ARCodeWidget.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-12-05 23:21:17 +0100
committerJosJuice <josjuice@gmail.com>2026-01-18 13:25:53 +0100
commit711c3e1013772634dd8787c659de84aadb9de4c2 (patch)
tree4c40a4bdd3c0b8ba8ddaf1a5b8756898ff4962a3 /Source/Core/DolphinQt/Config/ARCodeWidget.cpp
parent373e35ed5b3202bd91c05f6dd1f49fcee449d2a5 (diff)
Jit64: Improve cmpXX imm handling
In the past, the register cache would contain either a host register or an immediate (or neither) for a given guest register. Jit64::cmpXX would roll with whichever one it got. But now that PR 12134 is merged, the register cache can contain a host register at the same time as an immediate. This gives us an optimization opportunity in Jit64::cmpXX. Some paths are more efficient when we use an immediate and some paths are more efficient when we don't, so to generate the best code, we should carefully choose if we want an immediate or not rather than leaving it to the register cache.
Diffstat (limited to 'Source/Core/DolphinQt/Config/ARCodeWidget.cpp')
0 files changed, 0 insertions, 0 deletions