diff options
| author | Sintendo <3380580+Sintendo@users.noreply.github.com> | 2024-12-28 23:07:33 +0100 |
|---|---|---|
| committer | Sintendo <3380580+Sintendo@users.noreply.github.com> | 2024-12-28 23:07:38 +0100 |
| commit | 14641b06fc001e4ecd828b6b3e6d66422b2da8e4 (patch) | |
| tree | c4d715481cdff167453caae6071109b56423613b /Source/Core/InputCommon/ControlReference/ExpressionParser.cpp | |
| parent | a4ba13b4c98f668e69523448960a230c031fea37 (diff) | |
JitArm64_Integer: addzex - Optimize ConstantFalse and ConstantTrue
When the input register and carry flags are known, we can always
precompute the result.
We still materialize the immediate when the condition register
needs to be updated, but this seems to be a general problem. I might
look into that one day, but for now this'll do.
- ConstantFalse
Before:
0x52800119 mov w25, #0x8 ; =8
0x2a1903fa mov w26, w25
After:
N/A
- ConstantTrue
Before:
0x52800119 mov w25, #0x8 ; =8
0x1100073a add w26, w25, #0x1
After:
N/A
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ExpressionParser.cpp')
0 files changed, 0 insertions, 0 deletions
