• Home
  • Raw
  • Download

Lines Matching refs:Operand

79   mov(pc, Operand(target), LeaveCC, cond);  in Jump()
87 mov(ip, Operand(target, rmode)); in Jump()
90 mov(pc, Operand(target, rmode), LeaveCC, cond); in Jump()
128 mov(lr, Operand(pc), LeaveCC, cond); in Call()
129 mov(pc, Operand(target), LeaveCC, cond); in Call()
140 if (!Operand(immediate, rmode).is_single_instruction(mov_instr)) { in CallSize()
165 mov(ip, Operand(reinterpret_cast<int32_t>(target), rmode)); in Call()
171 mov(lr, Operand(pc), LeaveCC, cond); in Call()
173 mov(pc, Operand(reinterpret_cast<int32_t>(target), rmode), LeaveCC, cond); in Call()
210 mov(pc, Operand(lr), LeaveCC, cond); in Ret()
217 add(sp, sp, Operand(count * kPointerSize), LeaveCC, cond); in Drop()
233 eor(reg1, reg1, Operand(reg2), LeaveCC, cond); in Swap()
234 eor(reg2, reg2, Operand(reg1), LeaveCC, cond); in Swap()
235 eor(reg1, reg1, Operand(reg2), LeaveCC, cond); in Swap()
250 mov(ip, Operand(handle)); in Push()
256 mov(dst, Operand(value)); in Move()
276 void MacroAssembler::And(Register dst, Register src1, const Operand& src2, in And()
281 mov(dst, Operand(0, RelocInfo::NONE), LeaveCC, cond); in And()
301 and_(dst, src1, Operand(mask), LeaveCC, cond); in Ubfx()
303 mov(dst, Operand(dst, LSR, lsb), LeaveCC, cond); in Ubfx()
316 and_(dst, src1, Operand(mask), LeaveCC, cond); in Sbfx()
320 mov(dst, Operand(dst, LSL, shift_up), LeaveCC, cond); in Sbfx()
323 mov(dst, Operand(dst, ASR, shift_down), LeaveCC, cond); in Sbfx()
344 bic(dst, dst, Operand(mask)); in Bfi()
345 and_(scratch, src, Operand((1 << width) - 1)); in Bfi()
346 mov(scratch, Operand(scratch, LSL, lsb)); in Bfi()
358 bic(dst, dst, Operand(mask)); in Bfc()
365 void MacroAssembler::Usat(Register dst, int satpos, const Operand& src, in Usat()
385 tst(dst, Operand(~satval)); in Usat()
387 mov(dst, Operand(0, RelocInfo::NONE), LeaveCC, mi); // 0 if negative. in Usat()
388 mov(dst, Operand(satval), LeaveCC, pl); // satval if positive. in Usat()
415 mov(result, Operand(cell)); in LoadHeapObject()
418 mov(result, Operand(object)); in LoadHeapObject()
428 and_(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); in InNewSpace()
429 cmp(scratch, Operand(ExternalReference::new_space_start(isolate()))); in InNewSpace()
456 add(dst, object, Operand(offset - kHeapObjectTag)); in RecordWriteField()
459 tst(dst, Operand((1 << kPointerSizeLog2) - 1)); in RecordWriteField()
478 mov(value, Operand(BitCast<int32_t>(kZapValue + 4))); in RecordWriteField()
479 mov(dst, Operand(BitCast<int32_t>(kZapValue + 8))); in RecordWriteField()
509 tst(value, Operand(kSmiTagMask)); in RecordWrite()
539 mov(address, Operand(BitCast<int32_t>(kZapValue + 12))); in RecordWrite()
540 mov(value, Operand(BitCast<int32_t>(kZapValue + 16))); in RecordWrite()
560 mov(ip, Operand(store_buffer)); in RememberedSetHelper()
568 tst(scratch, Operand(StoreBuffer::kStoreBufferOverflowBit)); in RememberedSetHelper()
595 sub(sp, sp, Operand(num_unsaved * kPointerSize)); in PushSafepointRegisters()
603 add(sp, sp, Operand(num_unsaved * kPointerSize)); in PopSafepointRegisters()
609 sub(sp, sp, Operand(DwVfpRegister::kNumAllocatableRegisters * in PushSafepointRegistersAndDoubles()
621 add(sp, sp, Operand(DwVfpRegister::kNumAllocatableRegisters * in PopSafepointRegistersAndDoubles()
740 bic(scratch, scratch, Operand(bits_to_clear), LeaveCC, cond); in ClearFPSCRBits()
799 mov(ip, Operand(Smi::FromInt(type))); in EnterFrame()
801 mov(ip, Operand(CodeObject())); in EnterFrame()
803 add(fp, sp, Operand(3 * kPointerSize)); // Adjust FP to point to saved FP. in EnterFrame()
825 mov(fp, Operand(sp)); // Set up new frame pointer. in EnterExitFrame()
827 sub(sp, sp, Operand(2 * kPointerSize)); in EnterExitFrame()
829 mov(ip, Operand(0)); in EnterExitFrame()
832 mov(ip, Operand(CodeObject())); in EnterExitFrame()
836 mov(ip, Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate()))); in EnterExitFrame()
838 mov(ip, Operand(ExternalReference(Isolate::kContextAddress, isolate()))); in EnterExitFrame()
855 sub(sp, sp, Operand((stack_space + 1) * kPointerSize)); in EnterExitFrame()
858 and_(sp, sp, Operand(-frame_alignment)); in EnterExitFrame()
863 add(ip, sp, Operand(kPointerSize)); in EnterExitFrame()
873 mov(scratch1, Operand(length, LSL, kSmiTagSize)); in InitializeNewString()
876 mov(scratch1, Operand(String::kEmptyHashField)); in InitializeNewString()
905 sub(r3, fp, Operand(offset + DwVfpRegister::kNumRegisters * kDoubleSize)); in LeaveExitFrame()
913 mov(r3, Operand(0, RelocInfo::NONE)); in LeaveExitFrame()
914 mov(ip, Operand(ExternalReference(Isolate::kCEntryFPAddress, isolate()))); in LeaveExitFrame()
918 mov(ip, Operand(ExternalReference(Isolate::kContextAddress, isolate()))); in LeaveExitFrame()
925 mov(sp, Operand(fp)); in LeaveExitFrame()
928 add(sp, sp, Operand(argument_count, LSL, kPointerSizeLog2)); in LeaveExitFrame()
948 mov(dst, Operand(Smi::FromInt(1))); in SetCallKind()
950 mov(dst, Operand(Smi::FromInt(0))); in SetCallKind()
987 mov(r0, Operand(actual.immediate())); in InvokePrologue()
997 mov(r2, Operand(expected.immediate())); in InvokePrologue()
1002 cmp(expected.reg(), Operand(actual.immediate())); in InvokePrologue()
1004 mov(r0, Operand(actual.immediate())); in InvokePrologue()
1006 cmp(expected.reg(), Operand(actual.reg())); in InvokePrologue()
1013 mov(r3, Operand(code_constant)); in InvokePrologue()
1014 add(r3, r3, Operand(Code::kHeaderSize - kHeapObjectTag)); in InvokePrologue()
1118 mov(expected_reg, Operand(expected_reg, ASR, kSmiTagSize)); in InvokeFunction()
1161 cmp(scratch, Operand(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE)); in IsInstanceJSObjectType()
1163 cmp(scratch, Operand(LAST_NONCALLABLE_SPEC_OBJECT_TYPE)); in IsInstanceJSObjectType()
1175 tst(scratch, Operand(kIsNotStringMask)); in IsObjectJSStringType()
1182 mov(r0, Operand(0, RelocInfo::NONE)); in DebugBreak()
1183 mov(r1, Operand(ExternalReference(Runtime::kDebugBreak, isolate()))); in DebugBreak()
1207 mov(r5, Operand(CodeObject())); in PushTryHandler()
1208 mov(r6, Operand(state)); in PushTryHandler()
1212 mov(r7, Operand(Smi::FromInt(0))); // Indicates no context. in PushTryHandler()
1213 mov(ip, Operand(0, RelocInfo::NONE)); // NULL frame pointer. in PushTryHandler()
1220 mov(r6, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); in PushTryHandler()
1231 mov(ip, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); in PopTryHandler()
1232 add(sp, sp, Operand(StackHandlerConstants::kSize - kPointerSize)); in PopTryHandler()
1242 add(r3, r3, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in JumpToHandlerEntry()
1243 mov(r2, Operand(r2, LSR, StackHandler::kKindWidth)); // Handler index. in JumpToHandlerEntry()
1245 add(r1, r1, Operand(Code::kHeaderSize - kHeapObjectTag)); // Code start. in JumpToHandlerEntry()
1246 add(pc, r1, Operand(r2, ASR, kSmiTagSize)); // Jump. in JumpToHandlerEntry()
1264 mov(r3, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); in Throw()
1298 mov(r3, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); in ThrowUncatchable()
1310 tst(r2, Operand(StackHandler::KindField::kMask)); in ThrowUncatchable()
1337 cmp(scratch, Operand(0, RelocInfo::NONE)); in CheckAccessGlobalProxy()
1362 cmp(scratch, Operand(ip)); in CheckAccessGlobalProxy()
1394 cmp(scratch, Operand(ip)); in CheckAccessGlobalProxy()
1407 eor(t0, t0, Operand(scratch)); in GetNumberHash()
1413 mvn(scratch, Operand(t0)); in GetNumberHash()
1414 add(t0, scratch, Operand(t0, LSL, 15)); in GetNumberHash()
1416 eor(t0, t0, Operand(t0, LSR, 12)); in GetNumberHash()
1418 add(t0, t0, Operand(t0, LSL, 2)); in GetNumberHash()
1420 eor(t0, t0, Operand(t0, LSR, 4)); in GetNumberHash()
1422 mov(scratch, Operand(t0, LSL, 11)); in GetNumberHash()
1423 add(t0, t0, Operand(t0, LSL, 3)); in GetNumberHash()
1426 eor(t0, t0, Operand(t0, LSR, 16)); in GetNumberHash()
1463 mov(t1, Operand(t1, ASR, kSmiTagSize)); // convert smi to int in LoadFromNumberDictionary()
1464 sub(t1, t1, Operand(1)); in LoadFromNumberDictionary()
1473 add(t2, t2, Operand(SeededNumberDictionary::GetProbeOffset(i))); in LoadFromNumberDictionary()
1475 and_(t2, t2, Operand(t1)); in LoadFromNumberDictionary()
1479 add(t2, t2, Operand(t2, LSL, 1)); // t2 = t2 * 3 in LoadFromNumberDictionary()
1482 add(t2, elements, Operand(t2, LSL, kPointerSizeLog2)); in LoadFromNumberDictionary()
1484 cmp(key, Operand(ip)); in LoadFromNumberDictionary()
1498 tst(t1, Operand(Smi::FromInt(PropertyDetails::TypeField::kMask))); in LoadFromNumberDictionary()
1517 mov(result, Operand(0x7091)); in AllocateInNewSpace()
1518 mov(scratch1, Operand(0x7191)); in AllocateInNewSpace()
1519 mov(scratch2, Operand(0x7291)); in AllocateInNewSpace()
1555 mov(topaddr, Operand(new_space_allocation_top)); in AllocateInNewSpace()
1556 mov(obj_size_reg, Operand(object_size)); in AllocateInNewSpace()
1578 add(scratch2, result, Operand(obj_size_reg), SetCC); in AllocateInNewSpace()
1580 cmp(scratch2, Operand(ip)); in AllocateInNewSpace()
1586 add(result, result, Operand(kHeapObjectTag)); in AllocateInNewSpace()
1600 mov(result, Operand(0x7091)); in AllocateInNewSpace()
1601 mov(scratch1, Operand(0x7191)); in AllocateInNewSpace()
1602 mov(scratch2, Operand(0x7291)); in AllocateInNewSpace()
1635 mov(topaddr, Operand(new_space_allocation_top)); in AllocateInNewSpace()
1659 add(scratch2, result, Operand(object_size, LSL, kPointerSizeLog2), SetCC); in AllocateInNewSpace()
1661 add(scratch2, result, Operand(object_size), SetCC); in AllocateInNewSpace()
1664 cmp(scratch2, Operand(ip)); in AllocateInNewSpace()
1669 tst(scratch2, Operand(kObjectAlignmentMask)); in AllocateInNewSpace()
1676 add(result, result, Operand(kHeapObjectTag)); in AllocateInNewSpace()
1687 and_(object, object, Operand(~kHeapObjectTagMask)); in UndoAllocationInNewSpace()
1690 mov(scratch, Operand(new_space_allocation_top)); in UndoAllocationInNewSpace()
1696 mov(scratch, Operand(new_space_allocation_top)); in UndoAllocationInNewSpace()
1710 mov(scratch1, Operand(length, LSL, 1)); // Length in bytes, not chars. in AllocateTwoByteString()
1712 Operand(kObjectAlignmentMask + SeqTwoByteString::kHeaderSize)); in AllocateTwoByteString()
1713 and_(scratch1, scratch1, Operand(~kObjectAlignmentMask)); in AllocateTwoByteString()
1743 Operand(kObjectAlignmentMask + SeqAsciiString::kHeaderSize)); in AllocateAsciiString()
1744 and_(scratch1, scratch1, Operand(~kObjectAlignmentMask)); in AllocateAsciiString()
1856 cmp(type_reg, Operand(type)); in CompareInstanceType()
1874 cmp(scratch, Operand(Map::kMaximumBitField2FastElementValue)); in CheckFastElements()
1885 cmp(scratch, Operand(Map::kMaximumBitField2FastSmiOnlyElementValue)); in CheckFastObjectElements()
1887 cmp(scratch, Operand(Map::kMaximumBitField2FastElementValue)); in CheckFastObjectElements()
1897 cmp(scratch, Operand(Map::kMaximumBitField2FastSmiOnlyElementValue)); in CheckFastSmiOnlyElements()
1927 mov(scratch1, Operand(kNaNOrInfinityLowerBoundUpper32)); in StoreNumberToDoubleElements()
1936 Operand(key_reg, LSL, kDoubleSizeLog2 - kSmiTagSize)); in StoreNumberToDoubleElements()
1947 cmp(mantissa_reg, Operand(0)); in StoreNumberToDoubleElements()
1953 mov(mantissa_reg, Operand(static_cast<uint32_t>(nan_int64))); in StoreNumberToDoubleElements()
1954 mov(exponent_reg, Operand(static_cast<uint32_t>(nan_int64 >> 32))); in StoreNumberToDoubleElements()
1959 Operand(FixedDoubleArray::kHeaderSize - kHeapObjectTag)); in StoreNumberToDoubleElements()
1961 Operand(key_reg, LSL, kDoubleSizeLog2 - kSmiTagSize)); in StoreNumberToDoubleElements()
1998 cmp(scratch, Operand(map)); in CompareMap()
2006 cmp(scratch, Operand(Handle<Map>(transitioned_fast_element_map))); in CompareMap()
2015 cmp(scratch, Operand(Handle<Map>(transitioned_double_map))); in CompareMap()
2063 mov(ip, Operand(map)); in DispatchMap()
2088 Operand(Smi::FromInt(1 << SharedFunctionInfo::kBoundFunction))); in TryGetFunctionPrototype()
2095 tst(scratch, Operand(1 << Map::kHasNonInstancePrototype)); in TryGetFunctionPrototype()
2158 mov(r7, Operand(next_address)); in CallApiFunctionAndReturn()
2162 add(r6, r6, Operand(1)); in CallApiFunctionAndReturn()
2177 cmp(r0, Operand(0)); in CallApiFunctionAndReturn()
2189 sub(r6, r6, Operand(1)); in CallApiFunctionAndReturn()
2198 mov(ip, Operand(ExternalReference::scheduled_exception_address(isolate()))); in CallApiFunctionAndReturn()
2204 mov(r4, Operand(stack_space)); in CallApiFunctionAndReturn()
2219 mov(r0, Operand(ExternalReference::isolate_address())); in CallApiFunctionAndReturn()
2235 add(sp, sp, Operand(num_arguments * kPointerSize)); in IllegalOperation()
2252 mov(index, Operand(hash, LSL, kSmiTagSize)); in IndexFromHash()
2260 mov(r7, Operand(inReg, ASR, kSmiTagSize)); in IntegerToDoubleConversionWithVFP3()
2280 mov(scratch1, Operand(object, ASR, kSmiTagSize)); in ObjectToDoubleVFPRegister()
2288 sub(scratch2, object, Operand(kHeapObjectTag)); in ObjectToDoubleVFPRegister()
2299 cmp(scratch1, Operand(-1)); in ObjectToDoubleVFPRegister()
2311 mov(scratch1, Operand(smi, ASR, kSmiTagSize)); in SmiToDoubleVFPRegister()
2328 sub(scratch, source, Operand(kHeapObjectTag)); in ConvertToInt32()
2336 sub(scratch, dest, Operand(1)); in ConvertToInt32()
2337 cmp(scratch, Operand(LONG_MAX - 1)); in ConvertToInt32()
2356 mov(dest, Operand(0, RelocInfo::NONE)); in ConvertToInt32()
2367 sub(scratch2, scratch2, Operand(fudge_factor)); in ConvertToInt32()
2368 cmp(scratch2, Operand(non_smi_exponent - fudge_factor)); in ConvertToInt32()
2380 sub(scratch2, scratch2, Operand(zero_exponent - fudge_factor), SetCC); in ConvertToInt32()
2386 rsb(dest, scratch2, Operand(30)); in ConvertToInt32()
2390 and_(scratch2, scratch, Operand(HeapNumber::kMantissaMask)); in ConvertToInt32()
2392 orr(scratch2, scratch2, Operand(1 << HeapNumber::kExponentShift)); in ConvertToInt32()
2398 mov(scratch2, Operand(scratch2, LSL, shift_distance)); in ConvertToInt32()
2400 tst(scratch, Operand(HeapNumber::kSignMask)); in ConvertToInt32()
2406 orr(scratch, scratch2, Operand(scratch, LSR, 32 - shift_distance)); in ConvertToInt32()
2408 mov(dest, Operand(scratch, LSR, dest)); in ConvertToInt32()
2410 rsb(dest, dest, Operand(0, RelocInfo::NONE), LeaveCC, ne); in ConvertToInt32()
2437 Operand(kVFPExceptionMask | in EmitVFPTruncate()
2443 orr(scratch, scratch, Operand(rounding_mode)); in EmitVFPTruncate()
2458 tst(scratch, Operand(kVFPExceptionMask | check_inexact_conversion)); in EmitVFPTruncate()
2475 cmp(result, Operand(HeapNumber::kExponentMask)); in EmitOutOfInt32RangeTruncate()
2476 mov(result, Operand(0), LeaveCC, eq); in EmitOutOfInt32RangeTruncate()
2482 Operand(HeapNumber::kExponentBias + HeapNumber::kMantissaBits + 31), in EmitOutOfInt32RangeTruncate()
2488 mov(result, Operand(0)); in EmitOutOfInt32RangeTruncate()
2494 add(scratch, result, Operand(kShiftBase + HeapNumber::kMantissaBits), SetCC); in EmitOutOfInt32RangeTruncate()
2499 and_(sign, input_high, Operand(HeapNumber::kSignMask)); in EmitOutOfInt32RangeTruncate()
2504 Operand(1 << HeapNumber::kMantissaBitsInTopWord)); in EmitOutOfInt32RangeTruncate()
2508 mov(input_high, Operand(input_high, LSL, scratch)); in EmitOutOfInt32RangeTruncate()
2512 rsb(scratch, scratch, Operand(32), SetCC); in EmitOutOfInt32RangeTruncate()
2516 rsb(scratch, scratch, Operand(0)); in EmitOutOfInt32RangeTruncate()
2517 mov(input_low, Operand(input_low, LSL, scratch)); in EmitOutOfInt32RangeTruncate()
2521 mov(input_low, Operand(input_low, LSR, scratch)); in EmitOutOfInt32RangeTruncate()
2524 orr(input_high, input_high, Operand(input_low)); in EmitOutOfInt32RangeTruncate()
2526 cmp(sign, Operand(0)); in EmitOutOfInt32RangeTruncate()
2529 rsb(result, input_high, Operand(0), LeaveCC, ne); in EmitOutOfInt32RangeTruncate()
2561 tst(scratch, Operand(kVFPOverflowExceptionBit | in EmitECMATruncate()
2583 mov(dst, Operand(src, ASR, kSmiTagSize)); in GetLeastBitsFromSmi()
2584 and_(dst, dst, Operand((1 << num_least_bits) - 1)); in GetLeastBitsFromSmi()
2592 and_(dst, src, Operand((1 << num_least_bits) - 1)); in GetLeastBitsFromInt32()
2612 mov(r0, Operand(num_arguments)); in CallRuntime()
2613 mov(r1, Operand(ExternalReference(f, isolate()))); in CallRuntime()
2626 mov(r0, Operand(function->nargs)); in CallRuntimeSaveDoubles()
2627 mov(r1, Operand(ExternalReference(function, isolate()))); in CallRuntimeSaveDoubles()
2635 mov(r0, Operand(num_arguments)); in CallExternalReference()
2636 mov(r1, Operand(ext)); in CallExternalReference()
2650 mov(r0, Operand(num_arguments)); in TailCallExternalReference()
2669 mov(r1, Operand(builtin)); in JumpToExternalReference()
2717 mov(scratch1, Operand(value)); in SetCounter()
2718 mov(scratch2, Operand(ExternalReference(counter))); in SetCounter()
2728 mov(scratch2, Operand(ExternalReference(counter))); in IncrementCounter()
2730 add(scratch1, scratch1, Operand(value)); in IncrementCounter()
2740 mov(scratch2, Operand(ExternalReference(counter))); in DecrementCounter()
2742 sub(scratch1, scratch1, Operand(value)); in DecrementCounter()
2813 mov(r0, Operand(p0)); in Abort()
2815 mov(r0, Operand(Smi::FromInt(p1 - p0))); in Abort()
2929 sub(scratch, reg, Operand(1), SetCC); in JumpIfNotPowerOfTwoOrZero()
2941 sub(scratch, reg, Operand(1), SetCC); in JumpIfNotPowerOfTwoOrZeroAndNeg()
2952 tst(reg1, Operand(kSmiTagMask)); in JumpIfNotBothSmi()
2953 tst(reg2, Operand(kSmiTagMask), eq); in JumpIfNotBothSmi()
2961 mov(dst, Operand(src, ASR, kSmiTagSize), SetCC); in UntagAndJumpIfSmi()
2969 mov(dst, Operand(src, ASR, kSmiTagSize), SetCC); in UntagAndJumpIfNotSmi()
2978 tst(reg1, Operand(kSmiTagMask)); in JumpIfEitherSmi()
2979 tst(reg2, Operand(kSmiTagMask), ne); in JumpIfEitherSmi()
2986 tst(object, Operand(kSmiTagMask)); in AbortIfSmi()
2993 tst(object, Operand(kSmiTagMask)); in AbortIfNotSmi()
3000 tst(object, Operand(kSmiTagMask)); in AbortIfNotString()
3057 and_(scratch1, first, Operand(second)); in JumpIfNotBothSequentialAsciiStrings()
3096 sub(scratch1, result, Operand(kHeapObjectTag)); in AllocateHeapNumberWithValue()
3137 cmp(length, Operand(0)); in CopyBytes()
3140 tst(src, Operand(kPointerSize - 1)); in CopyBytes()
3144 sub(length, length, Operand(1), SetCC); in CopyBytes()
3150 tst(src, Operand(kPointerSize - 1)); in CopyBytes()
3153 cmp(length, Operand(kPointerSize)); in CopyBytes()
3160 mov(scratch, Operand(scratch, LSR, 8)); in CopyBytes()
3162 mov(scratch, Operand(scratch, LSR, 8)); in CopyBytes()
3164 mov(scratch, Operand(scratch, LSR, 8)); in CopyBytes()
3167 sub(length, length, Operand(kPointerSize)); in CopyBytes()
3172 cmp(length, Operand(0)); in CopyBytes()
3177 sub(length, length, Operand(1), SetCC); in CopyBytes()
3210 mov(zeros, Operand(0, RelocInfo::NONE)); in CountLeadingZeros()
3212 tst(scratch, Operand(0xffff0000)); in CountLeadingZeros()
3213 add(zeros, zeros, Operand(16), LeaveCC, eq); in CountLeadingZeros()
3214 mov(scratch, Operand(scratch, LSL, 16), LeaveCC, eq); in CountLeadingZeros()
3216 tst(scratch, Operand(0xff000000)); in CountLeadingZeros()
3217 add(zeros, zeros, Operand(8), LeaveCC, eq); in CountLeadingZeros()
3218 mov(scratch, Operand(scratch, LSL, 8), LeaveCC, eq); in CountLeadingZeros()
3220 tst(scratch, Operand(0xf0000000)); in CountLeadingZeros()
3221 add(zeros, zeros, Operand(4), LeaveCC, eq); in CountLeadingZeros()
3222 mov(scratch, Operand(scratch, LSL, 4), LeaveCC, eq); in CountLeadingZeros()
3224 tst(scratch, Operand(0xc0000000)); in CountLeadingZeros()
3225 add(zeros, zeros, Operand(2), LeaveCC, eq); in CountLeadingZeros()
3226 mov(scratch, Operand(scratch, LSL, 2), LeaveCC, eq); in CountLeadingZeros()
3228 tst(scratch, Operand(0x80000000u)); in CountLeadingZeros()
3229 add(zeros, zeros, Operand(1), LeaveCC, eq); in CountLeadingZeros()
3243 and_(scratch1, first, Operand(kFlatAsciiStringMask)); in JumpIfBothInstanceTypesAreNotSequentialAscii()
3244 and_(scratch2, second, Operand(kFlatAsciiStringMask)); in JumpIfBothInstanceTypesAreNotSequentialAscii()
3245 cmp(scratch1, Operand(kFlatAsciiStringTag)); in JumpIfBothInstanceTypesAreNotSequentialAscii()
3247 cmp(scratch2, Operand(kFlatAsciiStringTag), eq); in JumpIfBothInstanceTypesAreNotSequentialAscii()
3258 and_(scratch, type, Operand(kFlatAsciiStringMask)); in JumpIfInstanceTypeIsNotSequentialAscii()
3259 cmp(scratch, Operand(kFlatAsciiStringTag)); in JumpIfInstanceTypeIsNotSequentialAscii()
3299 sub(sp, sp, Operand((stack_passed_arguments + 1) * kPointerSize)); in PrepareCallCFunction()
3301 and_(sp, sp, Operand(-frame_alignment)); in PrepareCallCFunction()
3304 sub(sp, sp, Operand(stack_passed_arguments * kPointerSize)); in PrepareCallCFunction()
3357 mov(ip, Operand(function)); in CallCFunction()
3395 tst(sp, Operand(frame_alignment_mask)); in CallCFunctionHelper()
3414 add(sp, sp, Operand(stack_passed_arguments * sizeof(kPointerSize))); in CallCFunctionHelper()
3426 and_(result, result, Operand(kLdrPCPattern)); in GetRelocatedValueLocation()
3427 cmp(result, Operand(kLdrPCPattern)); in GetRelocatedValueLocation()
3433 and_(result, result, Operand(kLdrOffsetMask)); in GetRelocatedValueLocation()
3434 add(result, ldr_location, Operand(result)); in GetRelocatedValueLocation()
3435 add(result, result, Operand(kPCRegOffset)); in GetRelocatedValueLocation()
3445 and_(scratch, object, Operand(~Page::kPageAlignmentMask)); in CheckPageFlag()
3447 tst(scratch, Operand(mask)); in CheckPageFlag()
3473 tst(ip, Operand(mask_scratch)); in HasColor()
3476 add(mask_scratch, mask_scratch, Operand(mask_scratch), SetCC); in HasColor()
3478 tst(ip, Operand(mask_scratch)); in HasColor()
3484 tst(ip, Operand(1)); in HasColor()
3505 tst(scratch, Operand(kIsIndirectStringMask | kIsNotStringMask)); in JumpIfDataObject()
3515 and_(bitmap_reg, addr_reg, Operand(~Page::kPageAlignmentMask)); in GetMarkBits()
3519 add(bitmap_reg, bitmap_reg, Operand(ip, LSL, kPointerSizeLog2)); in GetMarkBits()
3520 mov(ip, Operand(1)); in GetMarkBits()
3521 mov(mask_reg, Operand(ip, LSL, mask_reg)); in GetMarkBits()
3552 tst(load_scratch, Operand(mask_scratch, LSL, 1)); in EnsureNotWhite()
3567 mov(length, Operand(HeapNumber::kSize), LeaveCC, eq); in EnsureNotWhite()
3577 tst(instance_type, Operand(kIsIndirectStringMask | kIsNotStringMask)); in EnsureNotWhite()
3586 tst(instance_type, Operand(kExternalStringTag)); in EnsureNotWhite()
3587 mov(length, Operand(ExternalString::kSize), LeaveCC, ne); in EnsureNotWhite()
3597 tst(instance_type, Operand(kStringEncodingMask)); in EnsureNotWhite()
3598 mov(ip, Operand(ip, LSR, 1), LeaveCC, ne); in EnsureNotWhite()
3599 add(length, ip, Operand(SeqString::kHeaderSize + kObjectAlignmentMask)); in EnsureNotWhite()
3600 and_(length, length, Operand(~kObjectAlignmentMask)); in EnsureNotWhite()
3606 orr(ip, ip, Operand(mask_scratch)); in EnsureNotWhite()
3609 and_(bitmap_scratch, bitmap_scratch, Operand(~Page::kPageAlignmentMask)); in EnsureNotWhite()
3611 add(ip, ip, Operand(length)); in EnsureNotWhite()
3619 Usat(output_reg, 8, Operand(input_reg)); in ClampUint8()
3635 mov(result_reg, Operand(0)); in ClampDoubleToUint8()
3643 mov(result_reg, Operand(255)); in ClampDoubleToUint8()
3662 mov(descriptors, Operand(FACTORY->empty_descriptor_array())); in LoadInstanceDescriptors()