diff options
Diffstat (limited to 'deps/v8/src/arm64/macro-assembler-arm64-inl.h')
-rw-r--r-- | deps/v8/src/arm64/macro-assembler-arm64-inl.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/deps/v8/src/arm64/macro-assembler-arm64-inl.h b/deps/v8/src/arm64/macro-assembler-arm64-inl.h index b583d7ba14b..62594241ec2 100644 --- a/deps/v8/src/arm64/macro-assembler-arm64-inl.h +++ b/deps/v8/src/arm64/macro-assembler-arm64-inl.h @@ -780,18 +780,6 @@ void TurboAssembler::Mneg(const Register& rd, const Register& rn, mneg(rd, rn, rm); } -void TurboAssembler::Mov(const Register& rd, const Register& rn) { - DCHECK(allow_macro_instructions()); - DCHECK(!rd.IsZero()); - // Emit a register move only if the registers are distinct, or if they are - // not X registers. Note that mov(w0, w0) is not a no-op because it clears - // the top word of x0. - if (!rd.Is(rn) || !rd.Is64Bits()) { - Assembler::mov(rd, rn); - } -} - - void MacroAssembler::Movk(const Register& rd, uint64_t imm, int shift) { DCHECK(allow_macro_instructions()); DCHECK(!rd.IsZero()); @@ -830,6 +818,12 @@ void TurboAssembler::Rbit(const Register& rd, const Register& rn) { rbit(rd, rn); } +void TurboAssembler::Rev(const Register& rd, const Register& rn) { + DCHECK(allow_macro_instructions()); + DCHECK(!rd.IsZero()); + rev(rd, rn); +} + void TurboAssembler::Ret(const Register& xn) { DCHECK(allow_macro_instructions()); DCHECK(!xn.IsZero()); |