ARM64Emitter: Implement instructions to move data to/from SP

This commit is contained in:
Henrik Rydgard committed 2017-01-26 14:23:42 +01:00
1 parent f5cef88e14
commit a1ec735f6c
6 files changed
+25 -2

No files matched your search

+4
View File
@@ -566,6 +566,10 @@ public:
void MOV(ARM64Reg Rd, ARM64Reg Rm);
void MVN(ARM64Reg Rd, ARM64Reg Rm);
// Wrapper around ADD reg, reg, imm.
void MOVfromSP(ARM64Reg Rd);
void MOVtoSP(ARM64Reg Rn);
// TODO: These are "slow" as they use arith+shift, should be replaced with UBFM/EXTR variants.
void LSR(ARM64Reg Rd, ARM64Reg Rm, int shift);
void LSL(ARM64Reg Rd, ARM64Reg Rm, int shift);