• Home
  • Raw
  • Download

Lines Matching refs:scratch

205   Register scratch = temps.AcquireX();  in StoreStackPointerToThread()  local
206 ___ Mov(scratch, reg_x(SP)); in StoreStackPointerToThread()
208 ___ Orr(scratch, scratch, 0x2); in StoreStackPointerToThread()
210 ___ Str(scratch, MEM_OP(reg_x(TR), tr_offs.Int32Value())); in StoreStackPointerToThread()
592 Register scratch = (size == 8) ? temps.AcquireX() : temps.AcquireW(); in Copy() local
593 ___ Ldr(scratch, MEM_OP(reg_x(SP), src.Int32Value())); in Copy()
594 ___ Str(scratch, MEM_OP(reg_x(SP), dest.Int32Value())); in Copy()
631 Register scratch = temps.AcquireX(); in Jump() local
632 ___ Ldr(scratch, MEM_OP(reg_x(base.AsXRegister()), offs.Int32Value())); in Jump()
633 ___ Br(scratch); in Jump()
659 Register scratch = temps.AcquireX(); in CreateJObject() local
668 ___ Add(scratch, reg_x(SP), spilled_reference_offset.Int32Value()); in CreateJObject()
670 ___ Csel(reg_x(out_reg.AsXRegister()), scratch, xzr, ne); in CreateJObject()
680 Register scratch = temps.AcquireX(); in CreateJObject() local
684 ___ Add(scratch, reg_x(SP), spilled_reference_offset.Int32Value()); in CreateJObject()
689 ___ Csel(scratch, scratch, xzr, ne); in CreateJObject()
691 ___ Add(scratch, reg_x(SP), spilled_reference_offset.Int32Value()); in CreateJObject()
693 ___ Str(scratch, MEM_OP(reg_x(SP), out_off.Int32Value())); in CreateJObject()
718 Register scratch = temps.AcquireW(); in TryToTransitionFromRunnableToNative() local
725 ___ Ldxr(scratch, MEM_OP(reg_x(TR))); in TryToTransitionFromRunnableToNative()
729 ___ Cbnz(scratch, Arm64JNIMacroLabel::Cast(label)->AsArm64()); in TryToTransitionFromRunnableToNative()
730 ___ Stlxr(scratch, scratch2, MEM_OP(reg_x(TR))); in TryToTransitionFromRunnableToNative()
731 ___ Cbnz(scratch, &retry); in TryToTransitionFromRunnableToNative()
750 Register scratch = temps.AcquireW(); in TryToTransitionFromNativeToRunnable() local
757 ___ Ldaxr(scratch, MEM_OP(reg_x(TR))); in TryToTransitionFromNativeToRunnable()
762 ___ Cmp(scratch, scratch2); in TryToTransitionFromNativeToRunnable()
765 ___ Stxr(scratch, wzr, MEM_OP(reg_x(TR))); in TryToTransitionFromNativeToRunnable()
766 ___ Cbnz(scratch, &retry); in TryToTransitionFromNativeToRunnable()
769 ___ Ldr(scratch.X(), MEM_OP(reg_x(TR), thread_mutator_lock_offset.Int32Value())); in TryToTransitionFromNativeToRunnable()
770 ___ Str(scratch.X(), MEM_OP(reg_x(TR), thread_held_mutex_mutator_lock_offset.Int32Value())); in TryToTransitionFromNativeToRunnable()
775 Register scratch = temps.AcquireW(); in SuspendCheck() local
776 ___ Ldr(scratch, MEM_OP(reg_x(TR), Thread::ThreadFlagsOffset<kArm64PointerSize>().Int32Value())); in SuspendCheck()
777 ___ Tst(scratch, Thread::SuspendOrCheckpointRequestFlags()); in SuspendCheck()
783 Register scratch = temps.AcquireX(); in ExceptionPoll() local
784 ___ Ldr(scratch, MEM_OP(reg_x(TR), Thread::ExceptionOffset<kArm64PointerSize>().Int32Value())); in ExceptionPoll()
785 ___ Cbnz(scratch, Arm64JNIMacroLabel::Cast(label)->AsArm64()); in ExceptionPoll()
844 Register scratch = temps.AcquireW(); in TestMarkBit() local
845 ___ Ldr(scratch, MEM_OP(ref, mirror::Object::MonitorOffset().SizeValue())); in TestMarkBit()
849 ___ Tbz(scratch, LockWord::kMarkBitStateShift, Arm64JNIMacroLabel::Cast(label)->AsArm64()); in TestMarkBit()
852 ___ Tbnz(scratch, LockWord::kMarkBitStateShift, Arm64JNIMacroLabel::Cast(label)->AsArm64()); in TestMarkBit()
859 Register scratch = temps.AcquireX(); in TestByteAndJumpIfNotZero() local
860 ___ Mov(scratch, address); in TestByteAndJumpIfNotZero()
861 ___ Ldrb(scratch.W(), MEM_OP(scratch, 0)); in TestByteAndJumpIfNotZero()
862 ___ Cbnz(scratch.W(), Arm64JNIMacroLabel::Cast(label)->AsArm64()); in TestByteAndJumpIfNotZero()