Home | History | Annotate | Download | only in arm

Lines Matching refs:scratch

258                           Register scratch,
260 if (scratch.is(no_reg)) {
265 mov(scratch, reg1, LeaveCC, cond);
267 mov(reg2, scratch, LeaveCC, cond);
345 Register scratch,
352 ASSERT(!scratch.is(dst));
357 and_(scratch, src, Operand((1 << width) - 1));
358 mov(scratch, Operand(scratch, LSL, lsb));
359 orr(dst, dst, scratch);
438 Register scratch) {
442 InNewSpace(object, scratch, ne, &not_in_new_space);
455 ldr(scratch, MemOperand(object, Page::kDirtyFlagOffset));
457 orr(scratch, scratch, Operand(ip, LSL, address));
458 str(scratch, MemOperand(object, Page::kDirtyFlagOffset));
463 Register scratch,
467 and_(scratch, object, Operand(ExternalReference::new_space_mask(isolate())));
468 cmp(scratch, Operand(ExternalReference::new_space_start(isolate())));
473 // Will clobber 4 registers: object, offset, scratch, ip. The
509 // Will clobber 4 registers: object, address, scratch, ip. The
514 Register scratch) {
518 ASSERT(!object.is(cp) && !address.is(cp) && !scratch.is(cp));
524 InNewSpace(object, scratch, eq, &done);
527 RecordWriteHelper(object, address, scratch);
536 mov(scratch, Operand(BitCast<int32_t>(kZapValue)));
663 const Register scratch,
665 vmrs(scratch, cond);
666 bic(scratch, scratch, Operand(bits_to_clear), LeaveCC, cond);
667 vmsr(scratch, cond);
1015 Register scratch,
1018 IsInstanceJSObjectType(map, scratch, fail);
1023 Register scratch,
1025 ldrb(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset));
1026 cmp(scratch, Operand(FIRST_JS_OBJECT_TYPE));
1028 cmp(scratch, Operand(LAST_JS_OBJECT_TYPE));
1034 Register scratch,
1038 ldr(scratch, FieldMemOperand(object, HeapObject::kMapOffset));
1039 ldrb(scratch, FieldMemOperand(scratch, Map::kInstanceTypeOffset));
1040 tst(scratch, Operand(kIsNotStringMask));
1224 Register scratch,
1228 ASSERT(!holder_reg.is(scratch));
1230 ASSERT(!scratch.is(ip));
1233 ldr(scratch, MemOperand(fp, StandardFrameConstants::kContextOffset));
1236 cmp(scratch, Operand(0, RelocInfo::NONE));
1242 ldr(scratch, FieldMemOperand(scratch, offset));
1243 ldr(scratch, FieldMemOperand(scratch, GlobalObject::kGlobalContextOffset));
1252 ldr(holder_reg, FieldMemOperand(scratch, HeapObject::kMapOffset));
1261 cmp(scratch, Operand(ip));
1291 ldr(scratch, FieldMemOperand(scratch, token_offset));
1293 cmp(scratch, Operand(ip));
1473 Register scratch) {
1481 mov(scratch, Operand(new_space_allocation_top));
1482 ldr(scratch, MemOperand(scratch));
1483 cmp(object, scratch);
1487 mov(scratch, Operand(new_space_allocation_top));
1488 str(object, MemOperand(scratch));
1620 Register scratch,
1627 ldr(scratch, FieldMemOperand(obj, HeapObject::kMapOffset));
1629 cmp(scratch, ip);
1635 Register scratch,
1642 ldr(scratch, FieldMemOperand(obj, HeapObject::kMapOffset));
1644 cmp(scratch, ip);
1651 Register scratch,
1657 CompareObjectType(function, result, scratch, JS_FUNCTION_TYPE);
1662 ldrb(scratch, FieldMemOperand(result, Map::kBitFieldOffset));
1663 tst(scratch, Operand(1 << Map::kHasNonInstancePrototype));
1679 CompareObjectType(result, scratch, scratch, MAP_TYPE);
1901 Register scratch,
1907 sub(scratch, source, Operand(kHeapObjectTag));
1908 vldr(double_scratch, scratch, HeapNumber::kValueOffset);
1915 sub(scratch, dest, Operand(1));
1916 cmp(scratch, Operand(LONG_MAX - 1));
1927 ldr(scratch, FieldMemOperand(source, HeapNumber::kExponentOffset));
1930 scratch,
1969 and_(scratch2, scratch, Operand(HeapNumber::kMantissaMask));
1979 tst(scratch, Operand(HeapNumber::kSignMask));
1983 ldr(scratch, FieldMemOperand(source, HeapNumber::kMantissaOffset));
1985 orr(scratch, scratch2, Operand(scratch, LSR, 32 - shift_distance));
1987 mov(dest, Operand(scratch, LSR, dest));
2004 Register scratch = scratch2;
2014 bic(scratch,
2022 orr(scratch, scratch, Operand(rounding_mode));
2024 vmsr(scratch);
2033 vmrs(scratch);
2037 tst(scratch, Operand(kVFPExceptionMask | check_inexact_conversion));
2044 Register scratch) {
2073 add(scratch, result, Operand(kShiftBase + HeapNumber::kMantissaBits), SetCC);
2087 mov(input_high, Operand(input_high, LSL, scratch));
2091 rsb(scratch, scratch, Operand(32), SetCC);
2094 // Negate scratch.
2095 rsb(scratch, scratch, Operand(0));
2096 mov(input_low, Operand(input_low, LSL, scratch));
2100 mov(input_low, Operand(input_low, LSR, scratch));
2117 Register scratch,
2124 ASSERT(!scratch.is(result) &&
2125 !scratch.is(input_high) &&
2126 !scratch.is(input_low));
2133 ClearFPSCRBits(kVFPExceptionMask, scratch);
2138 vmrs(scratch);
2140 tst(scratch, Operand(kVFPOverflowExceptionBit |
2151 scratch);
2473 Register scratch) {
2478 CheckMap(map, scratch, Heap::kMetaMapRootIndex, &fail, false);
2489 Register scratch,
2491 sub(scratch, reg, Operand(1), SetCC);
2493 tst(scratch, reg);
2500 Register scratch,
2503 sub(scratch, reg, Operand(1), SetCC);
2505 tst(scratch, reg);
2567 Register scratch,
2569 ldr(scratch, FieldMemOperand(object, HeapObject::kMapOffset));
2571 cmp(scratch, heap_number_map);
2679 Register scratch) {
2689 ldrb(scratch, MemOperand(src, 1, PostIndex));
2690 strb(scratch, MemOperand(dst, 1, PostIndex));
2702 ldr(scratch, MemOperand(src, kPointerSize, PostIndex));
2704 str(scratch, MemOperand(dst, kPointerSize, PostIndex));
2706 strb(scratch, MemOperand(dst, 1, PostIndex));
2707 mov(scratch, Operand(scratch, LSR, 8));
2708 strb(scratch, MemOperand(dst, 1, PostIndex));
2709 mov(scratch, Operand(scratch, LSR, 8));
2710 strb(scratch, MemOperand(dst, 1, PostIndex));
2711 mov(scratch, Operand(scratch, LSR, 8));
2712 strb(scratch, MemOperand(dst, 1, PostIndex));
2722 ldrb(scratch, MemOperand(src, 1, PostIndex));
2723 strb(scratch, MemOperand(dst, 1, PostIndex));
2732 Register scratch) {
2733 ASSERT(!zeros.is(source) || !source.is(scratch));
2734 ASSERT(!zeros.is(scratch));
2735 ASSERT(!scratch.is(ip));
2742 Move(scratch, source);
2744 tst(scratch, Operand(0xffff0000));
2746 mov(scratch, Operand(scratch, LSL, 16), LeaveCC, eq);
2748 tst(scratch, Operand(0xff000000));
2750 mov(scratch, Operand(scratch, LSL, 8), LeaveCC, eq);
2752 tst(scratch, Operand(0xf0000000));
2754 mov(scratch, Operand(scratch, LSL, 4), LeaveCC, eq);
2756 tst(scratch, Operand(0xc0000000));
2758 mov(scratch, Operand(scratch, LSL, 2), LeaveCC, eq);
2760 tst(scratch, Operand(0x80000000u));
2785 Register scratch,
2790 and_(scratch, type, Operand(kFlatAsciiStringMask));
2791 cmp(scratch, Operand(kFlatAsciiStringTag));
2797 void MacroAssembler::PrepareCallCFunction(int num_arguments, Register scratch) {
2806 mov(scratch, sp);
2810 str(scratch, MemOperand(sp, stack_passed_arguments * kPointerSize));
2823 scratch,
2827 scratch,
2834 Register scratch,
2860 mov(scratch, Operand(function_reference));
2861 function = scratch;