diff options
| author | JosJuice <josjuice@gmail.com> | 2023-08-22 17:44:35 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2025-11-16 09:50:31 +0100 |
| commit | f9601dc38c78151fe1a8f95128a07fc821e50664 (patch) | |
| tree | bfe090a8d423150da66058f5fd4ce8e56d958a92 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | e8060bd169b6ef17f3a4e197f1b7296af328ecb5 (diff) | |
Jit: Extract immediate handling to separate ConstantPropagation class
Restructuring things in this way brings two immediate benefits:
* Code is deduplicated between Jit64 and JitArm64.
* Materializing an immediate value in a register no longer results in us
forgetting what the immediate value was.
As a more long-term benefit, this lets us also run constant propagation
as part of PPCAnalyst, which could let us do cool stuff in the future
like statically determining whether a conditional branch will be taken.
But I have nothing concrete planned for that right now.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions
