diff options
author | RSDuck <rsduck@users.noreply.github.com> | 2020-07-27 13:49:13 +0200 |
---|---|---|
committer | RSDuck <rsduck@users.noreply.github.com> | 2020-07-27 13:49:13 +0200 |
commit | 17ce4d2a73770ecd8c5f0ff036636b5453cb86c9 (patch) | |
tree | 62ef434dd1ff50d0309c3211e4bf4e28b9b0a80f /src/ARMJIT_x64 | |
parent | 0e7df468c761579e9378183ad7f1e8ba3b405ac0 (diff) |
x64 JIT: remove unecessary MOV
Diffstat (limited to 'src/ARMJIT_x64')
-rw-r--r-- | src/ARMJIT_x64/ARMJIT_Compiler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ARMJIT_x64/ARMJIT_Compiler.cpp b/src/ARMJIT_x64/ARMJIT_Compiler.cpp index d3834b2..7f32f31 100644 --- a/src/ARMJIT_x64/ARMJIT_Compiler.cpp +++ b/src/ARMJIT_x64/ARMJIT_Compiler.cpp @@ -330,7 +330,8 @@ Compiler::Compiler() if (num == 0) { MOV(64, R(ABI_PARAM2), R(RCPU)); - MOV(32, R(ABI_PARAM3), R(rdMapped)); + if (rdMapped != ABI_PARAM3) + MOV(32, R(ABI_PARAM3), R(rdMapped)); } else { |