diff options
| author | Bram Speeckaert <bram.speeckaert@gmail.com> | 2022-11-01 19:58:27 +0100 |
|---|---|---|
| committer | Bram Speeckaert <bram.speeckaert@gmail.com> | 2022-11-01 21:13:45 +0100 |
| commit | f25611f388e34ec3610a90f8f862cb0ad5679ef9 (patch) | |
| tree | bc9ce74916c9fab51dc55ddade6f65ae207a5e0c /Source/Core/VideoCommon/OpcodeDecoding.cpp | |
| parent | 51cb918aa5fbc26c1cdb78dc0193cb29e9df5201 (diff) | |
JitArm64: MultiplyImmediate - Handle 1
Multiplication by one is also trivial. Depending on the registers
involved, either a single MOV or no instructions will be generated.
Before:
0x52800038 mov w24, #0x1
0x1b1a7f1b mul w27, w24, w26
After:
0x2a1a03fb mov w27, w26
Before:
0x52800039 mov w25, #0x1
0x1b1a7f3a mul w26, w25, w26
After:
Nothing!
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
0 files changed, 0 insertions, 0 deletions
