diff options
| author | JosJuice <josjuice@gmail.com> | 2020-12-20 13:23:17 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2021-03-24 20:48:44 +0100 |
| commit | 62ce1c7653a58ea38042f2c485127e8ade37a989 (patch) | |
| tree | d2fc21f0ab8ca334434c614c3cb093eba9b33d9f /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | 901170e2996104abc64a8e655134a2c14929d9c5 (diff) | |
Jits: Discard registers which we know will be overwritten
This commit adds a new "discarded" state for registers.
Discarding a register is like flushing it, but without
actually writing its value back to memory. We can discard
a register only when it is guaranteed that no instruction
will read from the register before it is next written to.
Discarding reduces the register pressure a little, and can
also let us skip a few flushes on interpreter fallbacks.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions
