mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
ARM64Emitter: Implement instructions to move data to/from SP
This commit is contained in:
1 parent
f5cef88e14
commit
a1ec735f6c
6 files changed
+25
-2
No files matched your search
@@ -1464,6 +1464,15 @@ void ARM64XEmitter::MOV(ARM64Reg Rd, ARM64Reg Rm)
|
||||
_assert_msg_(JIT, false, "Non-GPRs not supported in MOV");
|
||||
}
|
||||
}
|
||||
|
||||
void ARM64XEmitter::MOVfromSP(ARM64Reg Rd) {
|
||||
ADD(Rd, ARM64Reg::SP, 0, false);
|
||||
}
|
||||
|
||||
void ARM64XEmitter::MOVtoSP(ARM64Reg Rn) {
|
||||
ADD(ARM64Reg::SP, Rn, 0, false);
|
||||
}
|
||||
|
||||
void ARM64XEmitter::MVN(ARM64Reg Rd, ARM64Reg Rm)
|
||||
{
|
||||
ORN(Rd, Is64Bit(Rd) ? ZR : WZR, Rm, ArithOption(Rm, ST_LSL, 0));
|
||||
|
||||
Reference in new issue
Block a user