[AArch64] Make TST reg, reg emitter alias

This commit is contained in:
Ryan Houdek 2015-08-31 14:03:32 -05:00
parent 0f54aa48b4
commit d495ad5104
1 changed files with 4 additions and 0 deletions

View File

@ -562,6 +562,10 @@ public:
void EOR(ARM64Reg Rd, ARM64Reg Rn, u32 immr, u32 imms, bool invert = false);
void ORR(ARM64Reg Rd, ARM64Reg Rn, u32 immr, u32 imms, bool invert = false);
void TST(ARM64Reg Rn, u32 immr, u32 imms, bool invert = false);
void TST(ARM64Reg Rn, ARM64Reg Rm)
{
ANDS(Is64Bit(Rn) ? ZR : WZR, Rn, Rm);
}
// Add/subtract (immediate)
void ADD(ARM64Reg Rd, ARM64Reg Rn, u32 imm, bool shift = false);