diff options
| author | Sintendo <3380580+Sintendo@users.noreply.github.com> | 2024-10-10 22:16:25 +0200 |
|---|---|---|
| committer | Sintendo <3380580+Sintendo@users.noreply.github.com> | 2024-10-10 22:16:28 +0200 |
| commit | 0d9984b299ece57b5fec22d5d45d55d8f3f6554e (patch) | |
| tree | 2e666366d96b9004291703c30f8c8c09b43b006c /Source/Core/VideoCommon/VertexLoaderBase.cpp | |
| parent | 8304ae33613c197ae377ed246d705f0b2a398e38 (diff) | |
JitArm64_SystemRegisters: Optimize mtspr
No need to materialize the immediate if it is zero, we can just use WZR.
Before:
mov w27, #0x0 ; =0
str w27, [x29, #0x1178]
After:
str wzr, [x29, #0x1178]
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderBase.cpp')
0 files changed, 0 insertions, 0 deletions
